Use Linux 4.9 (headers) in build-many-glibcs.py.
[glibc.git] / ChangeLog
blob25b50c3ea74fb9ce51826250890f090ed8510e49
1 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
3         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4         kernel version to 4.9.
6 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
8         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
9         ($(inst_libdir)/libm.a): Fix rule to create the target only.
11 2016-12-13  Andreas Schwab  <schwab@suse.de>
13         * sysdeps/powerpc/dl-procinfo.c: Don't define
14         _dl_powerpc_platforms.
15         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
16         constants instead of referencing _dl_powerpc_platforms.
17         (_dl_platform_string): Remove.
19 2016-12-13  Florian Weimer  <fweimer@redhat.com>
21         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
23 2016-12-13  Florian Weimer  <fweimer@redhat.com>
25         * Rules (binaries-shared-tests, binaries-pie-tests)
26         (binaries-static-tests): Link with $(link-extra-libs-tests).
27         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
28         Remove $(link-extra-libs-tests).
30 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32         * sysdeps/powerpc/powerpc64/multiarch/Makefile
33         (sysdep_routines): Add strncmp_power9.
34         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35         (strncmp): Add __strncmp_power9 to list of strncmp functions.
36         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
37         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
38         (strncmp): Add __strncmp_power9 to ifunc list.
39         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
41 2016-12-12  Florian Weimer  <fweimer@redhat.com>
43         [BZ #17252]
44         Add getentropy, getrandom.
45         * stdlib/sys/random.h: New file.
46         (headers): Add it.
47         * stdlib/Makefile (routines): Add getentropy, getrandom.
48         (tests): Add tst-getrandom.
49         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
50         * stdlib/getentropy.c: New file.
51         * stdlib/getrandom.c: Likewise.
52         * stdlib/tst-getrandom.c: Likewise.
53         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
54         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
55         * manual/crypt.texi (Unpredictable Bytes): New section.
56         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
57         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
58         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
59         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
60         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
61         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
62         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
63         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
64         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
65         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
66         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
67         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
68         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
69         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
70         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
71         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
72         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
73         Likewise.
74         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
75         Likewise.
76         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
77         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
78         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
79         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
80         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
81         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
82         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
83         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
84         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
85         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
86         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
87         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
89 2016-12-10  Florian Weimer  <fweimer@redhat.com>
91         [BZ #20956]
92         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
93         as additional compiler barriers.
94         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
95         (fn2, do_test): Declare with external linkage.
96         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
97         (do_test): Declare with external linkage.
98         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
99         (do_test): Declare with external linkage.
100         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
101         (do_test): Declare with external linkage.
103 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
105         * support/support_test_main.c (support_test_main): Use correct
106         timeout.
108 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
109             Florian Weimer  <fweimer@redhat.com>
111         [BZ #16421]
112         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
113         and __u6_addr32 members.
114         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
115         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
116         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
117         Use __u6_addr32.
118         * inet/tst-checks.c: Use <support/test-driver.c>
119         * inet/tst-checks-posix.c: New file.
120         * inet/Makefile (tests): Add it.
121         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
123 2016-12-09  Florian Weimer  <fweimer@redhat.com>
125         New subdirectory support for build and test infrastructure.
126         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
127         setting install-lib.
128         * Makeconfig (link-extra-libs-tests): Define.
129         (+link-pie-tests, +link-static-tests, +link-tests): Use
130         link-extra-libs-tests.
131         (rpath-dirs, all-subdirs): Add support.
132         (built-modules): Add libsupport.
133         (libsupport): Define.
134         * support: New directory.
135         * support/Makefile: New file.
136         * support/check.c: Likewise.
137         * support/check.h: Likewise.
138         * support/delayed_exit.c: Likewise.
139         * support/ignore_stderr.c: Likewise.
140         * support/oom_error.c: Likewise.
141         * support/set_fortify_handler.c: Likewise.
142         * support/support.h: Likewise.
143         * support/temp_file-internal.h: Likewise.
144         * support/temp_file.c: Likewise.
145         * support/test-driver.c: Likewise.
146         * support/test-driver.h: Likewise.
147         * support/test_main.c: Likewise.
148         * support/write_message.c: Likewise.
149         * support/xasprintf.c: Likewise.
150         * support/xcalloc.c: Likewise.
151         * support/xmalloc.c: Likewise.
152         * support/xpthread_barrier_destroy.c: Likewise.
153         * support/xpthread_barrier_init.c: Likewise.
154         * support/xpthread_barrier_wait.c: Likewise.
155         * support/xpthread_cancel.c: Likewise.
156         * support/xpthread_check_return.c: Likewise.
157         * support/xpthread_cond_wait.c: Likewise.
158         * support/xpthread_create.c: Likewise.
159         * support/xpthread_detach.c: Likewise.
160         * support/xpthread_join.c: Likewise.
161         * support/xpthread_mutex_lock.c: Likewise.
162         * support/xpthread_mutex_unlock.c: Likewise.
163         * support/xpthread_sigmask.c: Likewise.
164         * support/xpthread_spin_lock.c: Likewise.
165         * support/xpthread_spin_unlock.c: Likewise.
166         * support/xrealloc.c: Likweise.
167         * support/xsignal.h: Likewise.
168         * support/xthread.h: Likewise.
169         * support_tempfile.h: Likewise.
170         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
171         (TEST_DATA_LIMIT): Remove unused macro.
172         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
173         <support/check.h>.
174         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
175         (ignore_stderr, set_fortify_handler): Remove.  Now in
176         <support/support.h>.
177         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
178         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
179         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
180         (xpthread_join): Remove.  Now in <support/xthread.h>.
181         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
182         Introduce legacy wrappers.
183         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
184         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
185         (write_message): Remove.
186         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
187         test-skeleton.c.
188         * io/test-open-tmpfile: Likewise.
189         * io/tst-posix_fallocate-common.c: Likewise.
190         * libio/tst-fseek.c: Likewise.
191         * malloc/tst-malloc-backtrace.c: Likewise.
192         * malloc/tst-malloc-fork-deadlock.c: Likewise.
193         * malloc/tst-malloc-thread-exit.c: Likewise.
194         * nptl/tst-cancel7.c: Likewise.
195         * nptl/tst-cleanup0.c: Likewise.
196         * posix/tst-posix_fadvise-common.c: Likewise.
197         * rt/tst-shm.c: Likewise.
198         * time/bug-getdate1.c: Likewise.
199         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
200         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
201         * elf/Makefile (tst-piemod1.so): Link against libsupport.
203 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
205         * Rules [$(run-built-tests) != no] (tests-expected): Add
206         $(tests-printers).
207         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
209 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
211         [BZ #20539]
212         * math/Makefile (install-lib-ldscripts): Add libm.a.
213         (install_subdir): Remove.
214         (install-others): Add.
215         ($(inst_libdir)/libm.a): Add rule for installation as
216         linker script.
217         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
219 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
221         * INSTALL: Regenerated.
222         * Makeconfig: Add comments and whitespace to make the control flow
223         clearer.
224         (+link-printers-tests, +link-pie-printers-tests,
225         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
226         built-rtld-LDFLAGS, link-libc-rpath,
227         link-libc-tests-after-rpath-link,
228         link-libc-printers-tests): New.
229         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
230         link-libc-tests): Use the new variables as required.
231         * Makerules ($(py-const)): New rule.
232         generated: Add $(py-const).
233         * README.pretty-printers: New file.
234         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
235         (others): Depend on $(py-const).
236         (tests): Depend on $(tests-printers-programs) or
237         $(tests-printers-out),
238         as required.  Pass $(tests-printers) to merge-test-results.sh.
239         * manual/install.texi: Add requirements for testing the pretty
240         printers.
241         * nptl/Makefile (gen-py-const-headers, pretty-printers,
242         tests-printers, CFLAGS-test-mutexattr-printers.c
243         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
244         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
245         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
246         * nptl/nptl-printers.py: New file.
247         * nptl/nptl_lock_constants.pysym: Likewise.
248         * nptl/test-cond-printers.c: Likewise.
249         * nptl/test-cond-printers.py: Likewise.
250         * nptl/test-condattr-printers.c: Likewise.
251         * nptl/test-condattr-printers.py: Likewise.
252         * nptl/test-mutex-printers.c: Likewise.
253         * nptl/test-mutex-printers.py: Likewise.
254         * nptl/test-mutexattr-printers.c: Likewise.
255         * nptl/test-mutexattr-printers.py: Likewise.
256         * nptl/test-rwlock-printers.c: Likewise.
257         * nptl/test-rwlock-printers.py: Likewise.
258         * nptl/test-rwlockattr-printers.c: Likewise.
259         * nptl/test-rwlockattr-printers.py: Likewise.
260         * scripts/gen-py-const.awk: Likewise.
261         * scripts/test_printers_common.py: Likewise.
262         * scripts/test_printers_exceptions.py: Likewise.
264 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
266         * scripts/build-many-glibcs.py (Context.__init__): Take strip
267         argument.
268         (Glibc.build_glibc): Strip installed shared libraries if
269         requested.
270         (get_parser): Add --strip option.
271         (main): Update Context call.
273 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
274             Dominik Vogt  <vogt@linux.vnet.ibm.com>
276         [BZ #20847]
277         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
278         array bounds for else branch.
279         (__execvpe): Style fixes.
280         * posix/tst-vfork3.c (run_script): New function.
281         (create_script): Likewise.
282         (do_test): Use run_script internal function.
283         (do_prepare): Use create_script internal function.
285 2016-12-07  Andreas Schwab  <schwab@suse.de>
287         * sysdeps/unix/sysv/linux/x86/elision-conf.h
288         (__elision_available): Don't declare.
289         * sysdeps/unix/sysv/linux/x86/elision-conf.c
290         (__elision_available): Don't define.
291         (elision_init): Don't set __elision_available.
293 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
295         [BZ #20940]
296         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
297         return Inf for arguments Inf and sNaN.
298         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
299         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
300         Likewise.
301         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
302         Likewise.
303         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
304         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
305         for arguments Inf and sNaN.  When returning a NaN, compute it by
306         arithmetic on the arguments.
307         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
308         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
309         arguments.
311 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
313         [BZ #20916]
314         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
315         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
316         to compute result.
317         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
318         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
320 2016-12-05  Torvald Riegel  <triegel@redhat.com>
322         * include/atomic.h (__atomic_check_size_ls): New.
323         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
324         atomic_store_release): Use it.
325         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
326         (elision_adapt, ELIDE_LOCK): Use atomics.
327         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
328         atomics and improve code comments.
329         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
330         (__lll_trylock_elision): Likewise.
332 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
334         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
335         programs.
337 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
339         [BZ #20916]
340         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
341         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
342         arguments to compute result.
343         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
344         1 for arguments (sNaN, 0) or (1, sNaN).
345         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
346         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
348         [BZ #20919]
349         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
350         NaN first argument when raised to power 0.
351         * math/w_pow.c (__pow): Do not check for NaN or zero results from
352         raising to power zero.
353         * math/w_powf.c (__powf): Likewise.
354         * math/w_powl.c (__powl): Likewise.
355         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
356         pow (0, 0) or pow (NaN, 0).
358 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
360         [BZ #20918]
361         * configure.ac: Test for static NSS cryptographic libraries and set
362         libc_cv_static_nss_crypt.
363         * configure: Regenerate.
364         * config.make.in (static-nss-crypt): Define.
365         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
366         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
367         (CFLAGS-tst-linkall-static.c): Define.
368         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
369         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
370         ($(objpfx)tst-linkall-static): Define.
371         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
372         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
374 2016-12-02  Florian Weimer  <fweimer@redhat.com>
376         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
377         (one-hundred, tst-tls-many-dynamic-modules): Define.
378         (modules-names): Add $(tst-tls-many-dynamic-modules).
379         (tst-tls-manydynamic%mod.os): Build with special preprocessor
380         macros.
381         (tst-tls-manydynamic): Link against libdl, libpthread.
382         (tst-tls-manydynamic.out): The test needs the test modules at run
383         time.
384         * elf/tst-tls-manydynamic.c: New file.
385         * elf/tst-tls-manydynamic.h: Likewise.
386         * elf/tst-tls-manydynamicmod.c: Likewise.
388 2016-12-02  Florian Weimer  <fweimer@redhat.com>
390         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
391         (TLS_DTV_UNALLOCATED): Add.
392         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
393         offsets.
395 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
397         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
399 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
401         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
402         Add -fno-optimize-sibling-calls.
404 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
406         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
407         New declaration.
408         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
409         macro.
410         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
411         New macro.
412         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
413         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
414         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
415         (llogbf): Likewise.
416         (llogbl): Likewise.
417         * math/Makefile (gen-libm-calls): Add w_llogbF.
418         (tests): Add test-fp-llogb-constants.
419         * math/w_llogb_template.c: New file.  Based on
420         math/w_ilogb_template.c.
421         * math/libm-test.inc (llogb_test_data): New array.
422         (llogb_test): New function.
423         (main): Call llogb_test.
424         * math/test-fp-llogb-constants.c: New file.  Based on
425         math/test-fp-ilogb-constants.c.
426         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
427         (do_test): Call check_return_llogb.
428         * math/test-tgmath.c (NCALLS): Increase to 126.
429         (F(compile_test)): Call llogb.
430         (F(llogb)): New function.
431         * manual/math.texi (Exponents and Logarithms): Document llogb,
432         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
433         * manual/libm-err-tab.pl (@all_functions): Add llogb.
434         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
435         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
436         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
437         (CFLAGS-nldbl-llogb.c): New variable.
438         * sysdeps/nacl/libm.abilist: Update.
439         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
440         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
441         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
442         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
443         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
444         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
445         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
446         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
447         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
448         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
449         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
450         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
452         Likewise.
453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
454         Likewise.
455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
456         Likewise.
457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
458         Likewise.
459         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
460         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
461         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
462         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
463         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
465         Likewise.
466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
467         Likewise.
468         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
469         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
470         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
472 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
474         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
475         _Float128 instead of long double.
476         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
478         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
479         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
480         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
481         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
482         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
483         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
484         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
485         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
486         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
487         Likewise.
489 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
491         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
492         Remove redirection to __strrchr_ppc.
494 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
496         * sysdeps/powerpc/powerpc64/multiarch/Makefile
497         (sysdep_routines): Add strcmp_power9.
498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
499         (strcmp): Add __strcmp_power9 to list of strcmp functions.
500         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
501         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
502         (strcmp): Add __strcmp_power9 to ifunc list.
503         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
505 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
507         * bits/fp-logb.h: New file.
508         * sysdeps/ia64/bits/fp-logb.h: Likewise.
509         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
510         * sysdeps/x86/bits/fp-logb.h: Likewise.
511         * math/Makefile (headers): Add bits/fp-logb.h.
512         * math/math.h: Include <bits/fp-logb.h>.
513         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
514         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
515         * bits/mathdef.h (FP_ILOGB0): Remove.
516         (FP_ILOGBNAN): Likewise.
517         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
518         (FP_ILOGBNAN): Likewise.
519         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
520         (FP_ILOGBNAN): Likewise.
521         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
522         (FP_ILOGBNAN): Likewise.
523         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
524         (FP_ILOGBNAN): Likewise.
525         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
526         (FP_ILOGBNAN): Likewise.
527         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
528         (FP_ILOGBNAN): Likewise.
529         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
530         (FP_ILOGBNAN): Likewise.
531         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
532         (FP_ILOGBNAN): Likewise.
533         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
534         (FP_ILOGBNAN): Likewise.
536         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
537         time module.
538         (Context.__init__): Initialize self.logsdir_old.
539         (Context.run_builds): Handle bot action.
540         (Context.bot_cycle): Copy logs directory before running builds.
541         (Context.bot_run_self): Take argument for whether to check
542         subprocess result.  Flush stdout before running subprocess.
543         (Context.bot): New function.
544         (get_parser): Allow bot action.
546 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
548         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
549         Import email.mime.text, email.utils and smtplib modules.
550         (Context.__init__): Initialize self.bot_config_json.
551         (Context.run_builds): Handle bot-cycle action.
552         (Context.load_bot_config_json): New function.
553         (Context.part_build_old): Likewise.
554         (Context.bot_cycle): Likewise.
555         (Context.bot_build_mail): Likewise.
556         (Context.bot_run_self): Likewise.
557         (get_parser): Allow bot-cycle action.
559 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
561         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
562         Remove redirection to __stpcpy_ppc.
564 2016-11-30  Florian Weimer  <fweimer@redhat.com>
566         Remove __libc_memalign from ld.so because it is unused.
567         * elf/dl-minimal.c: Update comment on the malloc implementation.
568         (malloc): Renamed from __libc_memalign, replacing the original
569         malloc implementation.  Replace the align parameter with
570         MALLOC_ALIGNMENT.
571         * elf/Versions (ld): Update comment and remove __libc_memalign.
572         * sysdeps/nacl/ld.abilist: Likewise.
573         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
574         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
575         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
576         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
577         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
578         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
579         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
580         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
581         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
582         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
583         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
584         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
585         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
589         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
590         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
591         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
592         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
593         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
596         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
597         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
598         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
599         * sysdeps/generic/localplt.data (ld.so): Likewise.
600         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
601         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
602         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
603         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
604         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
605         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
606         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
607         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
608         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
610         (ld.so): Likewise.
611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
612         (ld.so): Likewise.
613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
614         Likewise.
615         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
616         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
617         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
618         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
619         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
621 2016-11-30  Florian Weimer  <fweimer@redhat.com>
623         [BZ #16628]
624         Implement _dl_catch_error, _dl_signal_error in libc.so.
625         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
626         (catch_hook): Define as thread-local or regular variable,
627         depending on DL_ERROR_BOOTSTRAP.
628         (CATCH_HOOK): Remove.
629         (dl_signal_error, _dl_catch_error): Use
630         catch_hook.  Add hidden definition for libc.
631         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
632         for DL_ERROR_BOOTSTRAP only.
633         * elf/dl-error.c: New file.
634         * elf/dl-error-minimal.c: Likewise.
635         * elf/tst-latepthread.c: Likewise.
636         * elf/tst-latepthreadmod.c: Likewise.
637         * elf/Makefile (routines): Add dl-error.
638         (dl-routines): Remove dl-error.
639         (rtld-routines): Add dl-error-minimal.
640         [build-shared] (tests): Add tst-latepthread.
641         (module-names): Add tst-latepthreadmod.
642         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
643         symbol.
644         (tst-latepthreadmod.so): Link against libpthread.
645         (tst-latepthread): Link against libdbl.
646         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
647         _dl_catch_error.
648         [ld] (GLIBC_PRIVATE): Likewise.
649         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
650         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
651         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
652         directly.
653         * elf/dl-tsd.c: Remove file.
654         * elf/rtld.c (_rtld_global_ro): Remove initializers for
655         _dl_catch_error, _dl_signal_error.
656         (_dl_initial_error_catch_tsd): Remove definition.
657         (do_preload): Remove initialization of dl_error_catch_tsd.
658         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
659         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
660         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
661         * dlfcn/dlopen.c (dlopen_doit): Likewise.
662         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
663         set dl_error_catch_tsd.
664         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
665         _dl_error_catch_tsd member.
666         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
667         members.
668         (_dl_initial_error_catch_tsd): Remove declaration.
669         (_dl_dprintf): Provide definition for use outside of ld.so.
670         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
671         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
672         prototype for libc.
673         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
674         _dl_catch_error.
675         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
676         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
677         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
678         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
679         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
680         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
681         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
682         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
683         Likewise.
684         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
686         (ld.so): Likewise.
687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
688         (ld.so): Likewise.
689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
690         Likewise.
691         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
692         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
693         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
694         Likewise.
695         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
696         Likewise.
697         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
699 2016-11-30  Florian Weimer  <fweimer@redhat.com>
701         [BZ #4099]
702         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
703         _IO_BUFSIZ (8192).
705 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
707         * PROJECTS: Remove file.
709 2016-11-29  Florian Weimer  <fweimer@redhat.com>
711         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
713 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
714             Steve Ellcey  <sellcey@caviumnetworks.com>
716         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
717         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
718         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
719         fxstatat.
720         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
721         lxstat.
722         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
723         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
724         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
725         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
726         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
727         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
728         __xstat.
730 2016-11-29  Florian Weimer  <fweimer@redhat.com>
732         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
733         Define.
734         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
735         definition.
737 2016-11-29  Florian Weimer  <fweimer@redhat.com>
739         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
740         version and turn into strong alias.  Remove compat symbol.
742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
743         (__longjmp): Remove.
745 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
747         * bits/fp-fast.h: New file.
748         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
749         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
750         * math/Makefile (headers): Add bits/fp-fast.h.
751         * math/math.h: Include <bits/fp-fast.h>.
752         * bits/mathdef.h (FP_FAST_FMA): Remove.
753         (FP_FAST_FMAF): Likewise.
754         (FP_FAST_FMAL): Likewise.
755         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
756         (FP_FAST_FMAF): Likewise.
757         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
758         (FP_FAST_FMAF): Likewise.
759         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
760         (FP_FAST_FMAF): Likewise.
761         (FP_FAST_FMAL): Likewise.
762         * sysdeps/arm/bits/mathdef.h: Remove file.
763         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
764         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
765         * sysdeps/tile/bits/mathdef.h: Likewise.
767 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
769         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
770         * math/w_ilogb.c: Remove.
771         * math/w_ilogbf.c: Likewise.
772         * math/w_ilogbl.c: Likewise.
773         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
774         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
775         * math/Makefile (gen-libm-calls): Add w_ilogbF.
776         (libm-calls): Remove w_ilogbF.
777         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
778         (LDOUBLE_ilogbl_libm_version): New macro.
780         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
782         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
783         [!__STRICT_ANSI__ && !__cplusplus].
785 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
787         [BZ #20750]
788         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
789         of PIC.
791 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
792             Yury Norov  <ynorov@caviumnetworks.com>
793             Steve Ellcey  <sellcey@caviumnetworks.com>
795         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
796         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
797         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
798         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
799         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
800         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
801         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
802         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
803         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
804         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
805         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
806         to get correct reg name for ILP32.
807         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
808         (RELA_SIZE): New Macro.
809         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
810         to support ILP32.
811         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
812         cast for ILP32 mode.
813         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
814         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
815         * sysdeps/aarch64/memset.S (__memset): Ditto.
816         * sysdeps/aarch64/strchr.S (strchr): Ditto.
817         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
818         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
819         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
820         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
821         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
822         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
823         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
824         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
825         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
826         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
827         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
828         change PTR_MANGLE call to use register numbers instead of names.
829         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
830         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
831         ILP32 mode, change PTR_MANGLE calls to use register numbers.
832         * sysdeps/aarch64/start.S (_start): Ditto.
833         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
834         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
835         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
836         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
837         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
838         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
839         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
840         Make defined values dependent on __ILP32__.
841         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
842         (sem_t): Change __align type.
843         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
844         PTR_SIZE): New Macros.
845         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
846         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
847         Set when in ILP32 mode.
848         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
849         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
850         Set elf flags for ILP32.
851         (add_system_dir): Set ILP32 library directories.
852         * sysdeps/unix/sysv/linux/aarch64/init-first.c
853         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
854         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
855         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
856         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
857         New Macros.
858         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
860 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
862         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
863         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
864         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
866 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
868         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
869         <asm/cachectl.h>.
871 2016-11-27  Zack Weinberg  <zackw@panix.com>
873         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
874         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
876 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
878         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
879         error_t to fix usage in C++ programs.
881 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
883         * scripts/build-many-glibcs.py: Import datetime module.
884         (Context.__init__): Load JSON build state.  Initialize list of
885         status logs.
886         (Context.run_builds): Update saved build state.
887         (Context.add_makefile_cmdlist): Update list of status logs.
888         (Context.load_build_state_json): New function.
889         (Context.store_build_state_json): Likewise.
890         (Context.clear_last_build_state): Likewise.
891         (Context.update_build_state): Likewise.
892         (CommandList.status_logs): Likewise.
894 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
896         * scripts/build-many-glibcs.py (Context.__init__): Save text of
897         script being executed.
898         (Context.get_script_text): New function.
899         (Context.exec_self): Likewise.
900         (Context.checkout): Re-exec script if changed by checkout process.
902 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
904         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
905         (setpayloadsig): New declaration.
906         * math/Versions (setpayloadsig): New libm symbol at version
907         GLIBC_2.25.
908         (setpayloadsigf): Likewise.
909         (setpayloadsigl): Likewise.
910         * math/Makefile (libm-calls): Add s_setpayloadsigF.
911         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
912         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
913         (setpayloadsig_test_data): New array.
914         (setpayloadsig_test): New function.
915         (main): Call setpayloadsig_test.
916         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
917         setpayloadsigf and setpayloadsigl.
918         * manual/libm-err-tab.pl: Update comment on interfaces without
919         ulps tabulated.
920         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
921         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
922         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
923         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
924         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
925         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
926         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
927         setpayloadsig.
928         (CFLAGS-nldbl-setpayloadsig.c): New variable.
929         * sysdeps/nacl/libm.abilist: Update.
930         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
931         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
932         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
933         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
934         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
935         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
936         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
937         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
938         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
939         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
940         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
941         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
943         Likewise.
944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
945         Likewise.
946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
947         Likewise.
948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
949         Likewise.
950         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
951         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
952         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
953         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
954         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
956         Likewise.
957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
958         Likewise.
959         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
960         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
961         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
963         * scripts/build-many-glibcs.py: Import json module.
964         (Context.__init__): Take replace_sources argument.  Load
965         versions.json.
966         (Context.load_versions_json): New function.
967         (Context.store_json): Likewise.
968         (Context.store_versions_json): Likewise.
969         (Context.set_component_version): Likewise.
970         (Context.checkout): Update versions.json.  Check for and handle
971         changes of version.  Prefer previously explicitly specified
972         version to default version.
973         (Context.checkout_vcs): Return a revision identifier.
974         (Context.git_checkout): Likewise.
975         (Context.gcc_checkout): Likewise.
976         (get_parser): Add --replace-sources option.
977         (main): Pass replace_sources argument to Context call.
979 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
981         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
982         * nptl/allocatestack.c (allocate_stack): Likewise.
983         (__reclaim_stacks): Likewise.
984         (setxid_signal_thread): Obtain pid through syscall.
985         * nptl/nptl-init.c (sigcancel_handler): Likewise.
986         (sighandle_setxid): Likewise.
987         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
988         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
989         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
990         Likewise.
991         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
992         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
993         comment.
994         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
995         * nptl/descr.h (struct pthread): Change comment about pid value.
996         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
997         pid assert.
998         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
999         Do not set pid value.
1000         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
1001         pid cache check.
1002         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
1003         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
1004         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
1005         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
1006         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
1007         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1008         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
1009         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
1010         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
1011         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
1012         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
1013         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1014         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
1015         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1016         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
1017         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
1018         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1019         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
1020         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1021         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
1022         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
1023         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1024         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
1025         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1026         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
1027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1029         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1030         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1031         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1032         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
1033         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1034         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
1035         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1036         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
1037         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1038         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
1039         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1040         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
1041         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1042         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1043         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1044         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
1045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1047         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1048         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1049         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1050         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1051         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1052         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
1053         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1054         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1055         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
1056         struct access.
1057         (clone_test): Remove function.
1058         (do_test): Rewrite to take in consideration pid is not cached anymore.
1060 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1062         * bits/flt-eval-method.h: New file.
1063         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
1064         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
1065         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
1066         * math/Makefile (headers): Add bits/flt-eval-method.h.
1067         * math/math.h: Include <bits/flt-eval-method.h>.
1068         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
1069         [__USE_ISOC99] (double_t): Likewise.
1070         * bits/mathdef.h (float_t): Remove.
1071         (double_t): Likewise.
1072         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
1073         (double_t): Likewise.
1074         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
1075         (double_t): Likewise.
1076         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
1077         (double_t): Likewise.
1078         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
1079         (double_t): Likewise.
1080         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
1081         (double_t): Likewise.
1082         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
1083         (double_t): Likewise.
1084         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
1085         (double_t): Likewise.
1086         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
1087         (double_t): Likewise.
1088         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
1089         (double_t): Likewise.
1090         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
1091         (double_t): Likewise.
1092         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
1093         (double_t): Likewise.
1094         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
1095         (double_t): Likewise.
1096         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
1097         (double_t): Likewise.
1099 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
1101         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
1102         instead of PIC.
1104 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1106         [BZ #20859]
1107         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
1108         (-0x7fffffff) instead of 0x80000001.
1109         * math/test-fp-ilogb-constants.c: New file.
1110         * math/Makefile (tests): Add test-fp-ilogb-constants.
1112 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
1114         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
1115         (_init): Use it in place of hardcoded R_MIPS_JALR.
1116         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
1117         (_init): Use it in place of hardcoded R_MIPS_JALR.
1118         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
1119         (_init): Use it in place of hardcoded R_MIPS_JALR.
1121 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1123         [BZ #20787]
1124         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
1125         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
1126         (double_t): Do not define to double if [__x86_64__] when
1127         __FLT_EVAL_METHOD__ is nonzero.
1128         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
1129         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
1130         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1131         test-flt-eval-method-387 and test-flt-eval-method-sse.
1132         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
1133         variable.
1134         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
1136 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
1138         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
1139         use of -fno-isolate-erroneous-paths options for tilepro.
1141 2016-11-23  Florian Weimer  <fweimer@redhat.com>
1143         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
1144         structure initialization is no longer needed.
1146 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1148         [BZ #20855]
1149         * bits/mathdef.h (float_t): Define to float.
1150         * math/test-flt-eval-method.c: New file.
1151         * math/Makefile (tests): Add test-flt-eval-method.
1152         (CFLAGS-test-flt-eval-method.c): New variable.
1154 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
1156         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
1157         and __fstatfs.  Make them aliases of __fstatfs64 if
1158         STATFS_IS_STATFS64 is set to non-zero.
1159         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
1160         and __statfs64.
1161         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
1162         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
1163         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
1164         for __statfs and statfs.
1165         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
1166         to 0.
1167         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
1168         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
1169         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
1170         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1171         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1172         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
1175         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
1176         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1177         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
1178         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
1180 2016-11-22  Andreas Schwab  <schwab@suse.de>
1182         * misc/mkstemp.c: Include <fcntl.h>.
1183         * misc/mkstemps.c: Likewise.
1184         * misc/mkostemp.c: Likewise.
1185         * misc/mkostemps.c: Likewise.
1187 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
1189         [BZ #20847]
1190         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1191         array bounds.
1192         (__execvpe): Likewise.
1194 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
1196         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
1197         -fno-isolate-erroneous-paths options for tilepro.
1199 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
1201         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
1202         to 0 when in 32 bit mode.
1203         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
1204         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1205         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1206         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1208         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1209         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
1210         XSTAT_IS_XSTAT64 test.
1211         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
1212         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
1213         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
1214         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
1215         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
1216         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
1217         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
1218         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
1219         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
1220         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
1221         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
1223 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
1225         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1226         (setpayload): New declaration.
1227         * math/Versions (setpayload): New libm symbol at version
1228         GLIBC_2.25.
1229         (setpayloadf): Likewise.
1230         (setpayloadl): Likewise.
1231         * math/Makefile (libm-calls): Add s_setpayloadF.
1232         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
1233         test_Ff_b1_data.
1234         (RUN_TEST_Ff_b1): New macro.
1235         (RUN_TEST_LOOP_Ff_b1): Likewise.
1236         (canonicalize_test_data): Update type.
1237         (setpayload_test_data): New array.
1238         (setpayload_test): New function.
1239         (main): Call setpayload_test.
1240         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
1241         setpayloadf and setpayloadl.
1242         * manual/libm-err-tab.pl: Update comment on interfaces without
1243         ulps tabulated.
1244         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
1245         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
1246         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
1247         Likewise.
1248         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
1249         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
1250         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
1251         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
1252         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
1253         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
1254         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
1255         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
1256         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
1257         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1258         setpayload.
1259         (CFLAGS-nldbl-setpayload.c): New variable.
1260         * sysdeps/nacl/libm.abilist: Update.
1261         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1262         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1263         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1264         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1265         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1266         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1267         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1268         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1269         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1270         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1271         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1272         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1274         Likewise.
1275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1276         Likewise.
1277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1278         Likewise.
1279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1280         Likewise.
1281         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1282         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1283         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1284         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1285         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1287         Likewise.
1288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1289         Likewise.
1290         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1291         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1292         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1294 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1296         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
1297         * include/unistd.h: Extend comment about __access_noerrno return
1298         semantics.
1299         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
1300         (access_common): Correct typo for EACCES.
1302 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
1304         * sysdeps/tile/math-tests.h: New file.
1306         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
1307         (__old_set_dataplane): Rename from set_dataplane and make a
1308         compatibility symbol.
1309         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
1310         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
1311         sys/dataplane.h.
1313 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
1315         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
1316         script quote words in command output to log suitably for input to
1317         the shell.
1319 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
1320             Maciej W. Rozycki  <macro@imgtec.com>
1322         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
1323         `.Lno_weak_fn' label.
1324         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
1325         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
1327 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1328             Yury Norov  <ynorov@caviumnetworks.com>
1330         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
1331         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
1332         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1333         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
1334         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1335         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
1336         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1337         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1338         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1339         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
1340         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1341         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
1342         (sysdep_routines): Remove oldgetrlimit64.
1343         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
1344         (sysdep_routines): Likewise.
1345         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
1346         (sysdep_routines): Likewise.
1347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1348         [$(subdir) = resource] (sysdep_routines): Likewise.
1349         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1350         [$(subdir) = resource] (sysdep_routines): Likewise.
1351         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
1352         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1353         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
1354         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
1355         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
1356         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1357         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1358         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
1359         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
1360         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
1361         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
1362         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
1363         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
1364         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
1365         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
1366         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
1367         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
1368         setrlimit and getrlimit.
1369         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1370         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1371         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
1372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1374         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1375         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1376         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1377         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1378         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1379         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
1380         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1381         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
1382         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
1383         (__old_getrlimit64): Add compatibility symbol.
1384         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
1386 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
1388         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
1389         newly built gmp, mpfr and mpc.
1391         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
1393 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1395         * conform/Makefile (linknamespace-libs): Rename to
1396         linknamespace-libs-thr.
1397         (linknamespace-libs-posix): New variable.
1398         (linknamespace-libs-xsi): Likewise.
1399         (linknamespace-libs-XPG3): Include libcrypt.a.
1400         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1401         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1402         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1403         (linknamespace-libs-XOPEN2K): Likewise.
1404         (linknamespace-libs-XOPEN2K8): Likewise.
1405         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1407         [BZ #20829]
1408         * stdio-common/Versions (__snprintf): Add to version
1409         GLIBC_PRIVATE.
1410         * include/stdio.h (__snprintf): Use libc_hidden_proto.
1411         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1412         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1413         of snprintf.
1414         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1416 2016-11-16  Zack Weinberg  <zackw@panix.com>
1418         * string/string.h: Remove obsolete comment stating that
1419         strcoll_l and strxfrm_l have not yet been standardized.
1421 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1423         * hurd/hurd.h (__hurd_fail_noerrno): New function.
1424         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
1425         __access_noerrno.
1426         * io/access.c (__access_noerrno): New function.
1427         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
1428         (hurd_fail_seterrno): Likewise.
1429         (access_common): Likewise.
1430         (__access_noerrno): Likewise.
1431         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
1432         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
1433         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
1434         macro.
1436 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1438         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
1439         Only declare fpregs if [__SH_FPU_ANY__].
1441 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
1443         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
1444         Make code unconditional.
1445         [!(__SH4__ || __SH4A__)]: Remove conditional code.
1447 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
1449         * manual/sysinfo.texi (S_APPEND): Delete.
1450         (S_IMMUTABLE): Likewise.
1452 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
1453             Magnus Granberg  <zorry@gentoo.org>
1454             Mike Frysinger  <vapier@gentoo.org>
1456         [BZ #20662]
1457         * configure.ac (libc_cv_predef_stack_protector): Also check for
1458         __stack_chk_fail_local symbols.
1459         * configure: Regenerated.
1461 2016-11-15  Florian Weimer  <fweimer@redhat.com>
1463         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1464         (libc_hidden_def): Remove redefinition.
1465         (__sigsetjmp): Add hidden definition.
1466         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1467         (libc_hidden_def): Remove redefinition.
1468         (__sigsetjmp): Add hidden definition.
1470 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
1472         * scripts/build-many-glibcs.py (os.path): Do not import.
1473         (Context): Inherit explicitly from object.  Remove blank line
1474         between class and docstring.
1475         (Config): Likewise.
1476         (Glibc): Likewise.
1477         (Command): Likewise.
1478         (CommandList): Likewise.
1479         (Context.write_files): Store chmod mode in a variable.
1481         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
1482         LIBC_SLIBDIR_RTLDDIR for tilegx32.
1483         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
1485 2016-11-14  Zack Weinberg  <zackw@panix.com>
1487         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
1488         creating or re-creating it.
1490         * string/bits/string2.h: Fix typo in comment.
1492 2016-11-14  Zack Weinberg  <zackw@panix.com>
1494         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
1495         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
1496         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
1497         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
1498         of redirected function names.
1500         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
1501         as well.  Document that MESSAGE must be a single string literal.
1503 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
1505         * scripts/build-many-glibcs.py: New file.
1507         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
1508         (do_test): Disable -Wmaybe-uninitialized around uses of
1509         except_mask.
1511         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
1513 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
1515         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
1516         (atomic_store_release): Provide tilepro-specific implementations.
1518 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
1520         * math/math.h (__MATH_TG): New macro.
1521         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
1522         [__USE_ISOC99] (signbit): Likewise.
1523         [__USE_ISOC99] (isfinite): Likewise.
1524         [__USE_ISOC99] (isnan): Likewise.
1525         [__USE_ISOC99] (isinf): Likewise.
1526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
1527         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
1528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
1529         __MATH_TG and __MATH_EVAL_FMT2.
1530         * sysdeps/generic/math_private.h (fabs_tg): Define using
1531         __MATH_TG.
1532         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1533         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
1534         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
1535         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
1536         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
1537         macro.
1538         (__iscanonical): Likewise.
1539         (iscanonical): Define using __MATH_TG.
1541 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1543         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
1544         guards.
1546         * sysdeps/unix/sysv/linux/access.c: New file.
1547         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
1549 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
1551         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
1552         and __WORDSIZE32_PTRDIFF_LONG.
1554 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1556         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1558 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1560         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
1561         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
1562         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
1563         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
1564         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
1565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1566         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
1567         * sysdeps/unix/sysv/linux/truncate.c: New file.
1568         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
1569         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1570         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
1571         Remove.
1572         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
1573         Likewise.
1575         * posix/tst-truncate-common.c: New file.
1576         * posix/tst-truncate.c: Use tst-truncate-common.c.
1577         * posix/tst-truncate64.c: Likewise and add LFS tests.
1578         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
1579         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
1580         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
1581         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
1582         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
1583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1584         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
1585         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
1586         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
1587         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1588         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
1589         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1590         Remove.
1591         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
1592         Likewise.
1594 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
1596         [BZ #20790]
1597         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
1598         to MAXLINESIZE.
1599         * sunrpc/bug20790.x: New file.
1600         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
1601         variable.
1602         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
1603         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
1605         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
1607         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
1609         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
1610         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
1611         calloc, realloc, free, memalign and __libc_memalign rather than
1612         making them optional.
1614         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
1615         for libc.so.
1617 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1619         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
1620         ptw-lseek64.
1621         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
1622         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
1623         Likewise.
1624         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
1625         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
1626         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
1627         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
1628         * sysdeps/unix/sysv/linux/lseek.c: New file.
1629         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
1630         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
1631         __libc_lseek64 from auto-generation.
1632         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1633         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
1635 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1637         * nptl/tst-basic1.c (tf, do_test): Use write_message.
1638         * nptl/tst-cleanup1.c (do_test): Likewise.
1639         * nptl/tst-cleanup3.c (do_test): Likewise.
1640         * nptl/tst-key1.c (do_test): Likewise.
1641         * nptl/tst-key2.c (tf, do_test): Likewise.
1642         * nptl/tst-key3.c (tf, do_test): Likewise.
1643         * nptl/tst-stdio1.c (do_test): Likewise.
1644         * nptl/tst-stdio2.c (do_test): Likewise.
1646         * nptl/tst-kill3.c (handler): Use write_message in place of write.
1647         * nptl/tst-kill6.c (handler): Likewise.
1648         * nptl/tst-tls2.c (CB): Likewise.
1649         * nptl/tst-tls3.c (CB): Likewise.
1651 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
1653         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
1655 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
1656             Steve Ellcey  <sellcey@caviumnetworks.com>
1658         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
1659           __ASSUME_ST_INO_64_BIT as 0
1660         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
1661         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
1662           over the code where __ASSUME_ST_INO_64_BIT is used.
1663         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1664         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1665         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1667 2016-11-07  Florian Weimer  <fweimer@redhat.com>
1669         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1670         Document ABI exposure of the __kind offset.
1671         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1672         Mention reason for the __kind offset exposure in the ABI.
1673         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1674         Likewise.
1675         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1676         Likewise.
1677         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1678         Likewise.
1679         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
1680         (struct __pthread_mutex_s): Likewise.
1681         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1682         Likewise.
1683         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1684         Likewise.
1685         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1686         Likewise.
1687         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1688         Likewise.
1689         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1690         Likewise.
1691         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1692         Likewise.
1693         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1694         (struct __pthread_mutex_s): Likewise.
1695         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1696         (struct __pthread_mutex_s): Likewise.
1697         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
1698         Likewise.
1700 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
1702         * test-skeleton.c: Document do_test usage.
1704 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
1706         * iconv/gconv.h (__gconv_info): Define __data element using a
1707         zero-length array.
1709 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
1711         * math/test-tgmath2.c: Split up test function.
1713 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1715         * Rules (tests-expected): New variable, depending on
1716         $(run-built-tests).
1717         (tests): Pass $(tests-expected) to merge-test-results.sh, not
1718         $(tests).
1720         * Rules [$(run-built-tests) = no] (tests): Do not depend on
1721         $(tests-unsupported).
1723 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1725         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1726         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
1728 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1730         [BZ #20768]
1731         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
1732         __fegetenv instead of fegetenv.
1734         [BZ #14139]
1735         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
1736         (find_files): Obtain platform name from libm-test-ulps-name and
1737         store in %pplatforms.
1738         (canonicalize_platform): Remove.
1739         (print_platforms): Use $pplatforms directly.
1740         (by_platforms): Do not allow for platforms missing from
1741         %pplatforms.
1742         * sysdeps/aarch64/libm-test-ulps-name: New file.
1743         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
1744         * sysdeps/arm/libm-test-ulps-name: Likewise.
1745         * sysdeps/generic/libm-test-ulps-name: Likewise.
1746         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
1747         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
1748         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
1749         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
1750         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
1751         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
1752         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
1753         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
1754         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
1755         * sysdeps/nios2/libm-test-ulps-name: Likewise.
1756         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
1757         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
1758         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
1759         * sysdeps/sh/libm-test-ulps-name: Likewise.
1760         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
1761         * sysdeps/tile/libm-test-ulps-name: Likewise.
1762         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
1764         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1766         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1767         (test-xfail-check-execstack): New variable.
1769         * sysdeps/mips/localplt.data: New file.
1771 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
1772             Steve Ellcey  <sellcey@caviumnetworks.com>
1774         * bits/wordsize.h: Add documentation.
1775         * sysdeps/aarch64/bits/wordsize.h : New file
1776         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1777         definitions.
1778         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1779         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1780         with #if instead of #ifdef.
1781         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1782         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1783         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1784         Add or change defines.
1785         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1786         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1787         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1788         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1789         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1790         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1791         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1792         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1793         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1794         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1795         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1796         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1797         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1798         * sysdeps/x86/bits/wordsize.h: Likewise.
1800 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
1801             Kevin Petit  <kevin.petit@arm.com>
1803         * sysdeps/aarch64/memchr.S (__memchr): New file.
1805 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1807         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1809 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
1811         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1812         $(linknamespace-symlists-tests).
1814 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
1816         * time/tst-strptime2.c: Ignore -Wformat-length warning.
1818 2016-11-02  Florian Weimer  <fweimer@redhat.com>
1819             Carlos O'Donell  <carlos@redhat.com>
1821         [Bug #20729]
1822         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1823         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
1824         for -Os related change.
1826 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
1828         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1830 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
1832         [BZ #19673]
1833         * manual/math.texi (Exponents and Logarithms): Correct description
1834         of clog10.
1836 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
1838         [Bz #20729]
1839         * locale/weight.h: Include libc-internal.h.
1840         * locale/weightwc.h: Likewise.
1841         * nptl/nptl_dbP.h: Likewise.
1843 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
1845         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
1846         when it is MACH_PORT_NULL.
1848 2016-10-31  Andreas Schwab  <schwab@suse.de>
1850         [BZ #20707]
1851         * posix/glob.c (glob): Initialize pglob before checking for
1852         GLOB_BRACE.  Don't call glob recursively if pattern contains no
1853         valid brace expression despite GLOB_BRACE.
1854         * posix/globtest.sh: Test it.
1856 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1858         [BZ #20729]
1859         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
1860         Define.
1861         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
1862         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
1863         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
1864         for seq2.back_us and seq1.back_us only for -Os compiles.
1865         * locale/weightwc.h (findix): Likewise.
1866         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1867         DB_GET_FIELD_ADDRESS only for -Os compiles.
1868         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1869         for slen only for -Os compiles.
1870         * string/strcoll_l.c (get_next_seq): Ignore
1871         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1872         for -Os compiles.
1874         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1875         * include/crypt.h: New file.
1877 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1879         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1880         from test-skeleton.c.
1881         (statclass): Replace calls to write with calls to write_message.
1883 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1885         * math/math.h
1886         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1887         New macro.
1888         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1889         Likewise.
1890         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1891         Likewise.
1892         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1893         SNANL.
1894         * math/test-double.h (snan_value_MACRO): New macro.
1895         * math/test-float.h (snan_value_MACRO): Likewise.
1896         * math/test-ldouble.h (snan_value_MACRO): Likewise.
1897         * math/libm-test.inc (issignaling_test_data): Add tests of
1898         snan_value_MACRO.
1900 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1902         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
1903         behavior when eliding a lock not held by the current thread.
1904         * sysdeps/powerpc/nptl/elide.h: Likewise.
1906 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1908         [BZ #20728]
1909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
1910         branch to _exit() by a function call.
1912 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1914         * malloc/malloc.c: Update chunk layout comments.
1915         (chunk_main_arena): Update comment.
1917 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1919         * crypt/sha256.c, crypt/sha256-block.c,
1920         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
1921         sha256_process_block to __sha256_process_block.
1922         * crypt/sha512.c, crypt/sha512-block.c,
1923         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
1924         sha512_process_block to __sha512_process_block.
1926 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1928         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
1930         * math/test-nan-overflow.c: Include stdlib.h for malloc.
1932 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
1934         [BZ #20019]
1935         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
1936         definition in unrelocated shared library.
1937         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1939 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1941         [BZ #20729]
1942         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
1943         * sysdeps/unix/sysv/linux/i386/Makefile
1944         (uses-6-syscall-arguments): Define.
1945         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
1946         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
1947         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
1948         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
1949         Likewise.
1950         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
1951         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
1952         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
1953         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
1954         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
1955         (CFLAGS-fallocate64.os): Likewise.
1956         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
1957         (CFLAGS-pthread_rwlock_timedrdlock.os)
1958         (CFLAGS-pthread_rwlock_timedwrlock.o)
1959         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
1960         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
1961         (CFLAGS-sem_timedwait.os): Likewise.
1963 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1965         * elf/tst-linkall-static.c: New file.
1966         * elf/Makefile (tests-static): Add tst-linkall-static.
1967         (tst-linkall-static): Link against static libraries.
1969 2016-10-27  Florian Weimer  <fweimer@redhat.com>
1971         * malloc/malloc.c (sysmalloc): Initialize previous size field of
1972         mmaped chunks.
1974 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1976         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
1977         members to mchunk_prev_size, mchunk_size.
1978         (chunk_main_arena): Reverse sense and rename from
1979         chunk_non_main_arena.
1980         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
1981         mchunk_size instead of size.
1982         (set_non_main_arena): Define.
1983         (chunksize): Use chunksize_nomask instead of direct member access.
1984         (chunksize_nomask): Define.
1985         (next_chunk): Use chunksize instead of direct member access.
1986         (prev_size, set_prev_size): Define.
1987         (prev_chunk): Use prev_size instead of direct member access.
1988         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
1989         (inuse_bit_at_offset, set_inuse_bit_at_offset)
1990         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
1991         (mchunk_prev_size, mchunk_size): Poison tokens.
1992         (unlink): Use chunksize_nomask, prev_size accessors.
1993         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
1994         (do_check_free_chunk): Use prev_size accessor.
1995         (sysmalloc): Use set_prev_size, set_head accessors.
1996         (munmap_chunk, mremap_chunk): Use prev_size accessor.
1997         (__libc_free): Use chunksize_nomask accessor.
1998         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
1999         chunk_main_arena accessors.
2000         (_int_free): Use chunksize_nomask, prev_size accessors.
2001         (malloc_consolidate): Use chunksize, prev_size accessors.
2002         (_int_realloc): Use chunksize_nomask accessor.
2003         (_int_memalign): Use set_prev_size accessor.
2004         (__malloc_info): Use chunksize_nomask accessor.
2005         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
2006         accessors.
2007         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
2008         (heap_trim): Use chunksize_nomask, prev_size accessors.
2010 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2012         [BZ #19380]
2013         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
2014         for inexact results.
2015         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
2016         of inexact result where mpfr_subnormalize is the only inexact
2017         step.
2018         * stdlib/tst-strtod-round-data.h: Regenerated.
2019         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
2020         Define to 0.
2021         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
2023 2016-10-27  David S. Miller  <davem@davemloft.net>
2025         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
2027 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2029         * malloc/malloc.c (do_set_mallopt_check): New function.
2030         (do_set_mmap_threshold): Likewise.
2031         (do_set_mmaps_max): Likewise.
2032         (do_set_top_pad): Likewise.
2033         (do_set_perturb_byte): Likewise.
2034         (do_set_trim_threshold): Likewise.
2035         (do_set_arena_max): Likewise.
2036         (do_set_arena_test): Likewise.
2037         (__libc_mallopt): Use them.
2039 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
2041         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2042         (canonicalize): New declaration.
2043         * math/Versions (canonicalize): New libm symbol at version
2044         GLIBC_2.25.
2045         (canonicalizef): Likewise.
2046         (canonicalizel): Likewise.
2047         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
2048         * math/s_canonicalize_template.c: New file.
2049         * math/libm-test.inc: Update comment on functions tested and
2050         testing of NaN payloads.
2051         (TEST_NAN_PAYLOAD): New macro.
2052         (NO_TEST_INLINE): Update value.
2053         (XFAIL_TEST): Likewise.
2054         (ERRNO_UNCHANGED): Likewise.
2055         (ERRNO_EDOM): Likewise.
2056         (ERRNO_ERANGE): Likewise.
2057         (IGNORE_RESULT): Likewise.
2058         (NON_FINITE): Likewise.
2059         (TEST_SNAN): Likewise.
2060         (NO_TEST_MATHVEC): Likewise.
2061         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
2062         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
2063         (struct test_Ffp_b1_data): New type.
2064         (RUN_TEST_Ffp_b1): New macro.
2065         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2066         (canonicalize_test_data): New array.
2067         (canonicalize_test): New function.
2068         (main): Call canonicalize_test.
2069         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
2070         canonicalizef and canonicalizel.
2071         * manual/libm-err-tab.pl: Update comment on interfaces without
2072         ulps tabulated.
2073         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
2074         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
2075         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2076         canonicalize.
2077         (CFLAGS-nldbl-canonicalize.c): New variable.
2078         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
2079         to ...
2080         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
2081         ... here.
2082         (do_test): Also test canonicalizel.
2083         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
2084         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
2085         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
2086         file.
2087         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
2088         Use libm_hidden_def.
2089         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
2090         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
2091         (do_test): Also test canonicalizel.
2092         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
2093         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
2094         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
2095         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
2096         libm_hidden_def.
2097         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
2098         macro.
2099         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
2100         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
2101         * sysdeps/nacl/libm.abilist: Update.
2102         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2103         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2104         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2105         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2106         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2107         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2108         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2109         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2110         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2111         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2112         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2113         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2115         Likewise.
2116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2117         Likewise.
2118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2119         Likewise.
2120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2121         Likewise.
2122         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2123         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2124         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2125         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2126         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2128         Likewise.
2129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2130         Likewise.
2131         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2132         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2133         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2135         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
2136         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2137         getpayload.
2138         (CFLAGS-nldbl-getpayload.c): New variable.
2140 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2142         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
2143         integer from the format string.
2145 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2147         [BZ #19473]
2148         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
2149         declarations.
2150         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
2151         weak aliases.
2152         * malloc/hooks.c (__malloc_get_state): Remove definition.
2153         (malloc_get_state): New stub implementation as
2154         compatibility symbol.
2155         (malloc_set_state): Rename from __malloc_set_state.  Turn into
2156         compat symbol.
2157         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
2158         malloc_set_state.
2159         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
2161 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2163         * iconvdata/iso646.c (enum variant): Drop illegal_var.
2164         (names): Turn into concatenation of strings.
2165         (gconv_init): Adapt iteration over names.
2167 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2169         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
2170         make const.
2171         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
2172         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
2173         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
2174         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
2175         character in sbconv.
2176         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
2177         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
2178         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
2180 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2182         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
2184         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
2185         (M_TRIM_THRESHOLD): Likewise.
2187         * manual/memory.texi (M_ARENA_TEST): Add documentation.
2188         (M_ARENA_MAX): Likewise.
2189         * malloc/malloc.c: Remove obsolete comment.
2191         * manual/memory.texi: Add environment variable alternatives to
2192         setting mallopt parameters.
2194 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
2196         * include/atomic.h
2197         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
2198         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
2200 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2202         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
2203         * stdlib/tst-strfrom.h: New file.
2204         * stdlib/tst-strfrom.c: New file.
2205         * stdlib/tst-strfrom-locale.c: New file.
2207         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
2208         * stdlib/bug-strtod2.c: Likewise.
2209         * stdlib/tst-strtod-round-skeleton.c: Likewise.
2210         * stdlib/tst-strtod6.c: Likewise.
2211         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
2213 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2215         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
2216         * manual/arith.texi: Document strfromd, strfromf, strfroml.
2217         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
2218         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
2219         * stdlib/stdlib.h (strfromd): New declaration.
2220         (strfromf): Likewise.
2221         (strfroml): Likewise.
2222         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
2223         strfrom.
2224         * stdlib/strfromd.c: New file.
2225         * stdlib/strfromf.c: Likewise.
2226         * stdlib/strfroml.c: Likewise.
2227         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
2228         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
2229         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
2230         * sysdeps/arm/nacl/libc.abilist: Update.
2231         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2232         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2233         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2234         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2235         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2236         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2237         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2238         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2239         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2240         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2241         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2242         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2243         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2244         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
2246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2249         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2250         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2251         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2252         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2253         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2256         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2257         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2258         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2260 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
2262         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
2263         instead of cmpli.
2264         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
2265         instead of cmpli.
2267 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
2269         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
2270         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2271         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2272         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2273         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2274         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2276 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2278         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
2279         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2280         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
2281         SYSCALL_LL64_PRW.
2282         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2283         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
2284         __ASSUME_PRW_DUMMY_ARG.
2285         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
2286         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2287         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2288         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2289         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
2290         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
2292 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2294         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
2296 2016-10-22  Florian Weimer  <fweimer@redhat.com>
2298         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
2299         "C++", to override a potential extern "C" directive around the
2300         header file inclusion.
2302 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
2304         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
2306 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2308         * sysdeps/powerpc/fpu/fenv_private.h:
2309         (_FPU_MASK_ALL): Rename to...
2310         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
2311         XE FPSCR bits.
2313         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
2315         (_FPU_MASK_ROUNDING): Rename to...
2316         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
2317         NI bits.
2319         (_FPU_MASK_EXCEPT_ROUND): Rename to...
2320         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
2321         bits and rounding bits.
2323         (__libc_feholdbits_ppc): New inline function to mask, set,
2324         and pontentially clear FSPCR bits, and change MSR[FE] bits.
2325         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
2326         (libc_feholdexcept_setround_ppc): Likewise.
2328         (__libc_femergeenv_ppc): New function to dynamically mask both
2329         old and new FP environments and merge.
2330         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
2331         (libc_feresetround_ppc): Likewise.
2332         (libc_feupdateenv_test_ppc): Likewise.
2333         (libc_feupdateenv_ppc): Likewise.
2335         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
2336         of ISA RN bits, and update macro names.
2337         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
2338         effectively the same as the previously mentioned function.
2340         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
2341         usage with fe_resetround_ppc.
2343         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
2344         to be used.
2345         (libc_feholdexcept_setround_ctxf): Likewise.
2346         (libc_feholdexcept_setround_ctxl): Likewise.
2348 2016-10-21  Florian Weimer  <fweimer@redhat.com>
2350         [BZ #20715]
2351         * math/math.h [__cplusplus] (iszero): Define as function template.
2352         * math/Makefile [CXX] (tests): Add test-math-iszero.
2353         (CFLAGS-test-math-iszero.cc): Set.
2354         * math/test-math-iszero.cc: New file.
2356 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
2358         [BZ #20660]
2359         * sysdeps/arm/e_sqrt.c: New file.
2360         * sysdeps/arm/e_sqrtf.c: Likewise.
2362 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
2364         [BZ #20718]
2365         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
2366         not use floating-point comparisons to test sign.
2367         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
2368         Likewise.
2370         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2371         (getpayload): New declaration.
2372         * math/Versions (getpayload): New libm symbol at version
2373         GLIBC_2.25.
2374         (getpayloadf): Likewise.
2375         (getpayloadl): Likewise.
2376         * math/Makefile (libm-calls): Add s_getpayloadF.
2377         * math/libm-test.inc: Include <nan-high-order-bit.h>.
2378         (struct test_f_f_data): Add comment.
2379         (RUN_TEST_fp_f): New macro.
2380         (RUN_TEST_LOOP_fp_f): Likewise.
2381         (getpayload_test_data): New array.
2382         (getpayload_test): New function.
2383         (main): Call getpayload_test.
2384         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
2385         descriptor.
2386         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
2387         getpayloadf and getpayloadl.
2388         * manual/libm-err-tab.pl: Update comment on interfaces without
2389         ulps tabulated.
2390         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
2391         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
2392         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
2393         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2394         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2395         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2396         * sysdeps/nacl/libm.abilist: Update.
2397         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2398         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2399         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2400         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2401         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2402         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2403         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2404         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2405         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2406         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2407         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2408         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2410         Likewise.
2411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2412         Likewise.
2413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2414         Likewise.
2415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2416         Likewise.
2417         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2418         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2419         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2420         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2421         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2423         Likewise.
2424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2425         Likewise.
2426         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2427         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2428         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2430 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2432         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
2433         tst-fallocate{64}.
2434         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
2435         on syscall return.
2437 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
2439         [BZ #20689]
2440         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
2441         usable.
2443 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
2445         * sysdeps/generic/nan-high-order-bit.h: New file.
2446         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
2447         * sysdeps/mips/nan-high-order-bit.h: Likewise.
2448         * sysdeps/hppa/math_private.h: Remove file.
2449         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
2450         not define here.
2451         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
2452         <nan-high-order-bit.h>.
2453         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2454         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2455         <nan-high-order-bit.h>.
2456         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2457         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2458         <nan-high-order-bit.h>.
2459         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2460         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
2461         <nan-high-order-bit.h>.
2462         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2463         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2464         <nan-high-order-bit.h>.
2465         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2466         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2467         <nan-high-order-bit.h>.
2468         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2469         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
2470         <nan-high-order-bit.h>.
2471         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2472         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2473         <nan-high-order-bit.h>.
2474         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2475         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2476         <nan-high-order-bit.h>.
2477         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2478         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
2479         <nan-high-order-bit.h>.
2480         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2481         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
2482         <nan-high-order-bit.h>.
2483         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2484         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
2485         <nan-high-order-bit.h>.
2486         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2487         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
2488         <nan-high-order-bit.h>.
2489         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2490         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
2491         <nan-high-order-bit.h>.
2492         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2493         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
2494         <nan-high-order-bit.h>.
2495         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2496         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
2497         <nan-high-order-bit.h>.
2498         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2499         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2500         <nan-high-order-bit.h>.
2501         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2502         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2503         <nan-high-order-bit.h>.
2504         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2506 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2508         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
2510 2016-09-22  John David Anglin  <dave.anglin@bell.net>
2512         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
2513         abort-instr.h.
2514         (EFAULT): Remove conditional define.
2515         (ENOSYS): Likewise.
2516         (atomic_compare_and_exchange_val_acq): Use instruction nullification
2517         instead of conditional branch instructions.
2519 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
2521         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2522         (totalordermag): New declaration.
2523         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
2524         New macro.
2525         * math/Versions (totalordermag): New libm symbol at version
2526         GLIBC_2.25.
2527         (totalordermagf): Likewise.
2528         (totalordermagl): Likewise.
2529         * math/Makefile (libm-calls): Add s_totalordermagF.
2530         * math/libm-test.inc (totalordermag_test_data): New array.
2531         (totalordermag_test): New function.
2532         (main): Call totalordermag_test.
2533         * math/test-tgmath.c (NCALLS): Increase to 125.
2534         (F(compile_test)): Call totalordermag.
2535         (F(totalordermag)): New function.
2536         * manual/arith.texi (FP Comparison Functions): Document
2537         totalordermag, totalordermagf and totalordermagl.
2538         * manual/libm-err-tab.pl: Update comment on interfaces without
2539         ulps tabulated.
2540         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
2541         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
2542         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
2543         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
2544         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
2545         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
2546         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
2547         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2548         totalordermag.
2549         (CFLAGS-nldbl-totalordermag.c): New variable.
2550         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
2551         (do_test): Also test totalordermagl.
2552         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
2553         Likewise.
2554         * sysdeps/nacl/libm.abilist: Update.
2555         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2556         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2557         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2558         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2559         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2560         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2561         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2562         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2563         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2564         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2565         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2566         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2568         Likewise.
2569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2570         Likewise.
2571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2572         Likewise.
2573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2574         Likewise.
2575         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2576         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2577         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2578         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2579         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2581         Likewise.
2582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2583         Likewise.
2584         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2585         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2586         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2588 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
2590         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
2591         boolean.
2593 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
2595         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
2596         raising FE_INVALID with feraisexcept in case where part of
2597         argument is infinite, subtract that part of argument from itself.
2598         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
2599         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
2600         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2602 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2604         * math/libm-test.inc (totalorder_test_data): Add more tests.
2606 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2608         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
2609         Undefine weak_alias and add a comment why mips64 require
2610         versioning.
2612 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2614         [BZ #20647]
2615         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
2616         maximum CPUID level is less than 2.
2618 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2620         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2621         (totalorder): New declaration.
2622         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
2623         New macro.
2624         * math/Versions (totalorder): New libm symbol at version
2625         GLIBC_2.25.
2626         (totalorderf): Likewise.
2627         (totalorderl): Likewise.
2628         * math/Makefile (libm-calls): Add s_totalorderF.
2629         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
2630         string.
2631         * math/libm-test.inc (PAYLOAD_DIG): New macro.
2632         (qnan_value_pl): Likewise.
2633         (snan_value_pl): Likewise.
2634         (qnan_value): Define using qnan_value_pl.
2635         (snan_value): Define using snan_value_pl.
2636         (struct test_ff_i_data): Add comment about which tests use this
2637         structure.
2638         (RUN_TEST_ff_b): New macro.
2639         (RUN_TEST_LOOP_ff_b): Likewise.
2640         (totalorder_test_data): New array.
2641         (totalorder_test): New function.
2642         (main): Call totalorder_test.
2643         * math/test-tgmath.c (NCALLS): Increase to 122.
2644         (F(compile_test)): Call totalorder.
2645         (F(totalorder)): New function.
2646         * manual/arith.texi (FP Comparison Functions): Document
2647         totalorder, totalorderf and totalorderl.
2648         * manual/libm-err-tab.pl: Update comment on interfaces without
2649         ulps tabulated.
2650         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
2651         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
2652         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
2653         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
2654         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
2655         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
2656         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
2657         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2658         totalorder.
2659         (CFLAGS-nldbl-totalorder.c): New variable.
2660         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
2661         file.
2662         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2663         Add test-totalorderl-ldbl-128ibm.
2664         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
2665         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
2666         test-totalorderl-ldbl-96.
2667         * sysdeps/nacl/libm.abilist: Update.
2668         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2669         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2670         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2671         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2672         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2673         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2674         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2675         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2676         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2677         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2678         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2679         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2681         Likewise.
2682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2683         Likewise.
2684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2685         Likewise.
2686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2687         Likewise.
2688         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2689         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2690         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2691         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2692         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2694         Likewise.
2695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2696         Likewise.
2697         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2698         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2699         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2701 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2703         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
2704         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
2705         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
2706         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
2707         remove ENOSYS implementation.
2708         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
2709         Consolidate all Linux implementations.
2711 2016-10-11  Florian Weimer  <fweimer@redhat.com>
2713         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
2714         * resolv/herror.c (herror): Cast away const-ness.
2715         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
2716         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
2718 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
2720         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
2721         instead of M_NAN + M_NAN.
2722         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2724 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2726         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
2727         unused variable 'p'.
2729 2016-10-09  Alan Modra  <amodra@gmail.com>
2730             Andreas Schwab  <schwab@linux-m68k.org>
2732         [BZ #20554]
2733         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
2734         [PIC && !SHARED]: Set up PIC register for PLT call.
2736 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
2738         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
2739         conditional on value of [__FLT_EVAL_METHOD__].
2740         * math/test-iseqsig-excess-precision.c: New file.
2741         * math/Makefile (tests): Add test-iseqsig-excess-precision.
2743 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2745         * math/s_iseqsig_template.c: Include math-private.h.
2747         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
2748         * posix/tst-posix_fadvise.c: New file.
2749         * posix/tst-posix_fadvise64.c: Likewise.
2750         * posix/tst-posix_fadvise-common.c: Likewise.
2751         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2752         (__ASSUME_FADVISE64_64_6ARG): Define.
2753         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2754         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
2755         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2756         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
2757         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
2758         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
2759         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2760         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2761         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
2762         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
2763         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
2764         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
2765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2767         Likewise.
2768         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2769         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2770         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2771         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2772         Alias to __posix_fadvise64_l32.
2773         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2774         Add compat definition to posix_fadvise64.
2775         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2776         Add versioned definition to posix_fadvise64.
2777         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2778         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2779         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2780         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2781         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2783         * io/Makefile (tests): Add tst-posix_fallocate and
2784         tst-posix_fallocate64.
2785         * io/tst-posix_fallocate-common.c: New file.
2786         * io/tst-posix_fallocate.c: Likewise.
2787         * io/tst-posix_fallocate64.c: Likewise.
2788         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2789         file.
2790         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2791         Likewise.
2792         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2793         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2794         Likewise.
2795         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2796         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2797         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2798         SYSCALL_LL to pass both offset and len arguments.
2799         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2800         Likewise.
2801         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2802         __libc_pwrite64 alias used by posix_fallocate64.
2804         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2805         tst-fallocate64.
2806         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2807         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2808         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2809         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2810         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2811         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2812         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2813         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2814         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2815         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2816         macro on offset argument.
2817         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2818         SYSCALL_LL64 on offset argument.
2820         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2821         tst-fallocate64.
2822         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2823         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2824         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2825         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2826         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2827         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2828         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2829         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2830         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2831         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2832         macro on offset argument.
2833         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2834         SYSCALL_LL64 on offset argument.
2835         * test-skeleton.c (FAIL_RET): Add macro.
2836         (FAIL_EXIT): Likewise.
2837         (FAIL_EXIT1): Likewise.
2838         (_FAIL): Likewise.
2840 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2842         [BZ #20629]
2843         resolv: Remove RES_USEBSTRING and its implementation.
2844         * resolv/resolv.h (RES_USEBSTRING): Remove.
2845         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
2846         (digitvalue, encode_bitstring, decode_bitstring): Remove.
2847         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
2848         (labellen): Remove extended label types support.
2849         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
2850         * resolv/res_init.c (res_setoptions): Likewise.
2851         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2853 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2855         resolv: Remove RES_NOIP6DOTINT and its implementation.
2856         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
2857         (RES_NOIP6DOTINT): Remove.
2858         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
2859         handling.
2860         * resolv/res_debug.c (p_option): Likewise.
2861         * resolv/res_init.c (res_setoptions): Likewise.
2862         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2864 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2866         resolv: Deprecate unimplemented flags.
2867         * misc/sys/cdefs.h (__glibc_macro_warning1)
2868         (__glibc_macro_warning): Define.
2869         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2870         (RES_KEEPTSIG): Mark as deprecated.
2871         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2872         RES_NOCHECKNAME, RES_KEEPTSIG.
2873         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2875 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2877         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2878         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2879         Use strong_alias to create symbols for glibc verison 2.19.
2881 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2883         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2885 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2887         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2889 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2891         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2893 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2895         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2896         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2897         in header for using it as type for ifunc function because __GI_* symbols
2898         for ppc32 do not target the ifunc symbols.
2899         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2901 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2903         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
2904         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
2905         libc_ifunc_hidden_def.
2906         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
2907         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
2908         Redirect ifunced function in header for using it as type of ifunc'ed
2909         function. Redefine libc_hidden_def to use fallback non ifunc'ed
2910         function for __GI_* symbol.
2911         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
2912         * include/libc-symbols.h
2913         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
2915 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2917         [BZ #20478]
2918         * sysdeps/s390/multiarch/ifunc-resolve.h
2919         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
2920         to create ifunc symbols.
2921         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
2922         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
2923         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
2924         for using it as type for ifunc function.
2925         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2926         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2927         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2928         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2929         * sysdeps/s390/multiarch/strcat.c: Likewise.
2930         * sysdeps/s390/multiarch/strchr.c: Likewise.
2931         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2932         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2933         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2934         * sysdeps/s390/multiarch/strlen.c: Likewise.
2935         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2936         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2937         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2938         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2939         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2940         * sysdeps/s390/multiarch/strspn.c: Likewise.
2941         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2942         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2943         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2944         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2945         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2946         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2947         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2948         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
2949         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
2950         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2951         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
2952         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
2954 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2956         * include/libc-symbols.h (__ifunc_resolver):
2957         New macro is used by __ifunc* macros.
2958         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
2959         depending on HAVE_GCC_IFUNC.
2960         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
2961         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
2962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2963         Redirect ifunced function in header for using as type for ifunc function.
2964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2968         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2969         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2970         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2971         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2972         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2973         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2974         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2975         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2976         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2977         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2983         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2984         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2985         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2986         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2987         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2988         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2989         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2990         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2991         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2992         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2993         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2994         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2995         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
2996         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
2998         Add libc_hidden_def() and use libc_ifunc_hidden() macro
2999         instead of libc_ifunc() macro.
3000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3001         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3003 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3005         * config.h.in (HAVE_GCC_IFUNC): New undef.
3006         * configure.ac: Add check if gcc supports attribute ifunc feature.
3007         * configure: Regenerated.
3008         * manual/install.texi: Add recommendation for gcc with
3009         indirect-function support.
3010         * INSTALL: Regenerated.
3012 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
3014         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
3015         macro.
3016         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3017         (__iseqsig): New declaration.
3018         * math/s_iseqsig_template.c: New file.
3019         * math/Versions (__iseqsigf): New libm symbol at version
3020         GLIBC_2.25.
3021         (__iseqsig): Likewise.
3022         (__iseqsigl): Likewise.
3023         * math/libm-test.inc (iseqsig_test_data): New array.
3024         (iseqsig_test): New function.
3025         (main): Call iseqsig_test.
3026         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
3027         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
3028         * manual/libm-err-tab.pl: Update comment on interfaces without
3029         ulps tabulated.
3030         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
3031         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
3032         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
3033         * sysdeps/nacl/libm.abilist: Update.
3034         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3035         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3036         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3037         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3038         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3039         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3040         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3041         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3042         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3043         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3044         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3045         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3047         Likewise.
3048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3049         Likewise.
3050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3051         Likewise.
3052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3053         Likewise.
3054         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3055         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3056         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3057         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3058         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3060         Likewise.
3061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3062         Likewise.
3063         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3064         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3065         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3067 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3069         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
3070         do_sincos_2, sloww, sloww1): Update comments.
3072         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
3073         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
3075         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
3076         K boolean and rename it.
3077         (__sin): Adjust.
3078         (__cos): Adjust.
3080 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3081             Siddhesh Poyarekar  <siddhesh@sourceware.org>
3083         * manual/nss.texi: Fix typos in the manual.
3085 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3087         * manual/contrib.texi: Fix typos in the manual.
3089         * manual/maint.texi: Fix typos in the manual.
3091         * manual/install.texi: Fix typos in the manual.
3092         * INSTALL: Regenerated.
3094         * manual/lang.texi: Fix typos in the manual.
3096         * manual/probes.texi: Fix typos in the manual.
3098         * manual/threads.texi: Fix typos in the manual.
3100         * manual/debug.texi: Fix typos in the manual.
3102         * manual/crypt.texi: Fix typos in the manual.
3104         * manual/conf.texi: Fix typos in the manual.
3106         * manual/sysinfo.texi: Fix typos in the manual.
3108         * manual/users.texi: Fix typos in the manual.
3110         * manual/job.texi: Fix typos in the manual.
3112         * manual/process.texi: Fix typos in the manual.
3114         * manual/argp.texi: Fix typos in the manual.
3115         * manual/getopt.texi: Likewise.
3116         * manual/startup.texi: Likewise.
3118         * manual/signal.texi: Fix typos in the manual.
3120         * manual/setjmp.texi: Fix typos in the manual.
3122         * manual/resource.texi: Fix typos in the manual.
3124         * manual/time.texi: Fix typos in the manual.
3126         * manual/arith.texi: Fix typos in the manual.
3128         * manual/math.texi: Fix typos in the manual.
3130         * manual/syslog.texi: Fix typos in the manual.
3132         * manual/terminal.texi: Fix typos in the manual.
3134         * manual/socket.texi: Fix typos in the manual.
3136         * manual/filesys.texi: Fix typos in the manual.
3138         * manual/llio.texi: Fix typos in the manual.
3140         * manual/stdio.text: Fix typos in the manual.
3142 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3144         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
3145         instead of K1.
3147         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
3148         SHIFT_QUADRANT and make it bool.
3149         (do_sincos_2): Likewise.
3150         (sloww): Likewise.
3151         (sloww1): Likewise.
3152         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
3153         (__cos): Likewise.
3155 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3157         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3159 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
3161         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
3162         Define to __WORDSIZE, not conditional on [LONG_MAX ==
3163         0x7fffffffL].
3164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3166 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3168         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
3169         inline by __inline__.
3170         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
3171         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
3172         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
3173         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
3174         sigset_t from signal.h.
3175         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
3176         which is already required.
3178 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3180         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3182 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
3184         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
3185         (struct tcp_repair_window): New type.
3187 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3189         * libio/tst-memstream3.c: Include string.h.
3191 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3193         [BZ #18241]
3194         [BZ #20181]
3195         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
3196         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
3197         write position is at the end the buffer.
3198         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
3199         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
3200         (_IO_str_seekoff): Set correct offset from negative displacement and
3201         set EINVAL for invalid ones.
3202         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
3203         buffer length.
3204         (_IO_wstr_switch_to_get_mode): New function.
3205         (_IO_wstr_seekoff): Set correct offset from negative displacement and
3206         set EINVAL for invalid ones.
3207         * libio/tst-memstream3.c: New file.
3208         * libio/tst-wmemstream3.c: Likewise.
3209         * manual/examples/memstrm.c: Remove warning when priting size_t.
3211 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3213         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
3214         macro to use __builtin_fma.
3215         * sysdeps/x86_64/fpu/dla.h: Remove file.
3217         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3218         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
3219         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
3221 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
3223         [BZ #20292]
3224         * elf/Makefile (routines): Add dl-addr-obj.
3225         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
3226         tst-_dl_addr_inside_object.
3227         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
3228         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3229         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
3230         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3231         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
3232         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
3233         * elf/dl-open.c: Likewise.
3234         * elf/dl-addr-obj.c: New file.
3235         * elf/tst-_dl_addr_inside_object.c: New file.
3237 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3239         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
3240         <bits/iscanonical.h>.
3241         * bits/iscanonical.h: New file.
3242         * math/s_iscanonicall.c: Likewise.
3243         * math/Versions (__iscanonicall): New libm symbol at version
3244         GLIBC_2.25.
3245         * math/libm-test.inc (iscanonical_test_data): New array.
3246         (iscanonical_test): New function.
3247         (main): Call iscanonical_test.
3248         * math/Makefile (headers): Add bits/iscanonical.h.
3249         (type-ldouble-routines): Add s_iscanonicall.
3250         * manual/arith.texi (Floating Point Classes): Document
3251         iscanonical.
3252         * manual/libm-err-tab.pl: Update comment on interfaces without
3253         ulps tabulated.
3254         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
3255         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
3256         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
3257         Likewise.
3258         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3259         test-iscanonical-ldbl-128ibm.
3260         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
3261         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
3262         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
3263         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
3264         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3265         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3266         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3268         Likewise.
3269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3270         Likewise.
3271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3272         Likewise.
3273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3274         Likewise.
3275         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3276         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3278 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3280         * string/bits/string3.h: Remove C++ style comments.
3282 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3284         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
3285         instead of ternary condition.
3286         (do_sincos_2): Likewise.
3287         (__sin): Likewise.
3288         (__cos): Likewise.
3289         (slow): Likewise.
3290         (sloww): Likewise.
3291         (sloww1): Likewise.
3292         (bsloww): Likewise.
3293         (bsloww1): Likewise.
3295         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
3296         instead of ternary condition.
3297         (do_sin_slow): Likewise.
3298         (do_sincos_1): Likewise.
3299         (do_sincos_2): Likewise.
3300         (__cos): Likewise.
3301         (sloww): Likewise.
3302         (sloww1): Likewise.
3303         (sloww2): Likewise.
3304         (bsloww): Likewise.
3305         (bsloww1): Likewise.
3306         (bsloww2): Likewise.
3308         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
3309         check from here...
3310         (slow2): ... and here...
3311         (__sin): ... to here.
3313 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
3315         * math/math.h
3316         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
3317         Cast argument to its own type.
3318         * math/test-iszero-excess-precision.c: New file.
3319         * math/Makefile (tests): Add test-iszero-excess-precision.
3320         (CFLAGS-test-iszero-excess-precision.c): New variable.
3322 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
3324         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
3325         field, add err field.
3326         (__spawni_child): Report error through err member instead of pipe.
3327         (__spawnix): Likewise.
3329 2016-09-28  Zack Weinberg  <zackw@panix.com>
3331         * scripts/check-installed-headers.sh: Generalize treatment of
3332         sys/elf.h to all target architectures.
3334         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
3335         deleted typedef ucontext_t.
3337 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3339         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
3340         (__INTERNAL_SYSCALL1): Likewise.
3341         (__INTERNAL_SYSCALL2): Likewise.
3342         (__INTERNAL_SYSCALL3): Likewise.
3343         (__INTERNAL_SYSCALL4): Likewise.
3344         (__INTERNAL_SYSCALL5): Likewise.
3345         (__INTERNAL_SYSCALL6): Likewise.
3346         (__INTERNAL_SYSCALL7): Likewise.
3347         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
3348         (__INTERNAL_SYSCALL_NARGS): Likewise.
3349         (__INTERNAL_SYSCALL_DISP): Likewise.
3350         (INTERNAL_SYSCALL_CALL): Likewise.
3351         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
3352         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
3353         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
3354         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
3355         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
3356         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
3357         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
3358         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
3359         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
3360         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
3361         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
3362         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
3363         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
3365 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
3367         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
3368         macro.
3369         * math/libm-test.inc (iszero_test_data): New array.
3370         (iszero_test): New function.
3371         (main): Call iszero_test.
3372         * manual/arith.texi (Floating Point Classes): Document iszero.
3373         * manual/libm-err-tab.pl: Update comment on interfaces without
3374         ulps tabulated.
3376 2016-09-23  Zack Weinberg  <zackw@panix.com>
3378         * scripts/check-installed-headers.sh: New script.
3379         * Rules: In each directory that defines header files to be installed,
3380         run check-installed-headers.sh on them as a special test.
3381         * Makefile: Likewise for the headers installed at top level.
3383         * include/aliases.h, include/alloca.h, include/argz.h
3384         * include/arpa/nameser.h, include/arpa/nameser_compat.h
3385         * include/elf.h, include/envz.h, include/err.h
3386         * include/execinfo.h, include/fpu_control.h, include/getopt.h
3387         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
3388         * include/link.h, include/malloc.h, include/mcheck.h
3389         * include/mntent.h, include/netinet/ether.h
3390         * include/nss.h, include/obstack.h, include/printf.h
3391         * include/pty.h, include/resolv.h, include/rpc/auth.h
3392         * include/rpc/auth_des.h, include/rpc/auth_unix.h
3393         * include/rpc/clnt.h, include/rpc/des_crypt.h
3394         * include/rpc/key_prot.h, include/rpc/netdb.h
3395         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3396         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3397         * include/rpc/rpc_msg.h, include/rpc/svc.h
3398         * include/rpc/svc_auth.h, include/rpc/xdr.h
3399         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3400         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3401         * include/rpcsvc/ypupd.h, include/shadow.h
3402         * include/stdio_ext.h, include/sys/epoll.h
3403         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3404         * include/sys/prctl.h, include/sys/profil.h
3405         * include/sys/statfs.h, include/sys/sysctl.h
3406         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3407         * sysdeps/arm/nacl/include/bits/setjmp.h
3408         * sysdeps/mips/include/sys/asm.h
3409         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3410         * sysdeps/unix/sysv/linux/include/sys/timex.h
3411         * sysdeps/x86/fpu/include/bits/fenv.h:
3412         Add #ifndef _ISOMAC guard around internal declarations.
3413         Add multiple-inclusion guard if not already present.
3415 2016-09-23  Zack Weinberg  <zackw@panix.com>
3417         * sysdeps/generic/sys/ucontext.h
3418         * sysdeps/arm/sys/ucontext.h
3419         * sysdeps/i386/sys/ucontext.h
3420         * sysdeps/m68k/sys/ucontext.h
3421         * sysdeps/mips/sys/ucontext.h
3422         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
3423         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
3424         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
3425         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3426         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
3427         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3428         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3429         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3430         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3431         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3432         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3433         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3434         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3435         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3436         Include both bits/sigcontext.h and bits/sigstack.h.
3437         Fix grammar error in comment, if present.
3439         * bits/sigstack.h
3440         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3441         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
3442         * sysdeps/unix/sysv/linux/bits/sigstack.h
3443         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
3444         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
3445         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3446         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
3447         * bits/sigcontext.h
3448         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3449         * sysdeps/unix/sysv/linux/bits/sigcontext.h
3450         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
3451         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
3452         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
3453         as well as signal.h, if this was not already allowed.  Request
3454         definition of size_t if necessary.  Minimize semantically-null
3455         differences across files.
3457 2016-09-23  Zack Weinberg  <zackw@panix.com>
3459         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
3460         Remove all logic conditional on __need macros.  Move all the
3461         conditionally defined types to their own headers...
3462         * time/bits/types/clock_t.h: Define clock_t here.
3463         * time/bits/types/clockid_t.h: Define clockid_t here.
3464         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
3465         * time/bits/types/struct_timespec.h: Define struct timespec here.
3466         * time/bits/types/struct_timeval.h: Define struct timeval here.
3467         * time/bits/types/struct_tm.h: Define struct tm here.
3468         * time/bits/types/time_t.h: Define time_t here.
3469         * time/bits/types/timer_t.h: Define timer_t here.
3470         * time/Makefile: Install the new headers.
3472         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
3473         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
3474         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
3475         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
3476         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
3477         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
3478         * sysdeps/unix/sysv/linux/bits/resource.h
3479         * sysdeps/unix/sysv/linux/bits/timex.h
3480         * sysdeps/unix/sysv/linux/mips/bits/resource.h
3481         * sysdeps/unix/sysv/linux/net/ppp_defs.h
3482         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
3483         * sysdeps/unix/sysv/linux/sys/acct.h
3484         * sysdeps/unix/sysv/linux/sys/timerfd.h
3485         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
3486         * time/sys/time.h, time/sys/timeb.h
3487         Use the new bits/types headers.
3489         * include/time.h: Remove __need logic.
3490         * include/bits/time.h
3491         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
3492         * include/bits/types/time_t.h, include/bits/types/timer_t.h
3493         * include/bits/types/struct_itimerspec.h
3494         * include/bits/types/struct_timespec.h
3495         * include/bits/types/struct_timeval.h
3496         * include/bits/types/struct_tm.h:
3497         New wrapper headers.
3499 2016-09-23  Zack Weinberg  <zackw@panix.com>
3501         * sysdeps/mach/hurd/net/if_ppp.h
3502         * sysdeps/unix/sysv/linux/net/if_ppp.h:
3503         Only define struct ifpppstatsreq and struct ifpppcstatsreq
3504         if __USE_MISC is defined, to ensure struct ifreq is declared.
3506         * inet/netinet/ether.h: Condition all function prototypes
3507         on __USE_MISC, to ensure struct ether_addr is declared.
3509         * socket/bits/types/struct_osockaddr.h: New header.
3510         * include/bits/types/struct_osockaddr.h: New wrapper.
3511         * socket/Makefile: Install the new header.
3512         * socket/sys/socket.h, inet/protocols/talkd.h:
3513         Refer to bits/types/struct_osockaddr.h for the definition of
3514         struct osockaddr.
3516 2016-09-23  Zack Weinberg  <zackw@panix.com>
3518         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
3519         * inet/protocols/routed.h, inet/protocols/talkd.h
3520         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
3521         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
3522         * sysdeps/generic/netinet/if_ether.h
3523         * sysdeps/generic/netinet/in_systm.h
3524         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
3525         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3526         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
3527         * sysdeps/mach/hurd/net/if_arp.h
3528         * sysdeps/mach/hurd/net/if_ppp.h
3529         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
3530         * sysdeps/unix/sysv/linux/bits/in.h
3531         * sysdeps/unix/sysv/linux/net/ethernet.h
3532         * sysdeps/unix/sysv/linux/net/if_arp.h
3533         * sysdeps/unix/sysv/linux/net/if_ppp.h
3534         * sysdeps/unix/sysv/linux/net/if_shaper.h
3535         * sysdeps/unix/sysv/linux/net/route.h
3536         * sysdeps/unix/sysv/linux/netinet/if_ether.h
3537         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3538         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3539         * sysdeps/unix/sysv/linux/netipx/ipx.h
3540         * sysdeps/unix/sysv/linux/sys/acct.h
3541         * include/arpa/nameser.h, include/resolv.h:
3542         Change all uses of u_char to unsigned char,
3543         u_short and ushort to unsigned short, u_int and uint to unsigned int,
3544         u_long and ulong to unsigned long, u_int8_t to uint8_t,
3545         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
3546         and u_int64_t and u_quad_t to uint64_t.
3548         * mach/sys/reboot.h: Remove two casts of integer literals
3549         to the types they already have.
3551         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
3552         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3553         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
3554         from referring to 'unsigned char' to 'uint8_t' for consistency with
3555         the macro definition below.
3557         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
3558         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
3559         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
3560         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
3561         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
3562         * sysdeps/unix/sysv/linux/sys/acct.h
3563         * include/arpa/nameser.h, include/resolv.h:
3564         Fix indentation disrupted by mechanical edits.
3566         * inet/protocols/talkd.h, resolv/arpa/nameser.h
3567         * sysdeps/generic/netinet/in_systm.h
3568         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3569         * sysdeps/gnu/netinet/udp.h
3570         * sysdeps/unix/sysv/linux/net/ethernet.h
3571         * sysdeps/unix/sysv/linux/net/if_arp.h
3572         * sysdeps/unix/sysv/linux/net/if_ppp.h
3573         * sysdeps/unix/sysv/linux/net/if_shaper.h
3574         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3575         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3576         * sysdeps/unix/sysv/linux/netipx/ipx.h
3577         * sysdeps/unix/sysv/linux/sys/acct.h
3578         Include stdint.h for uintNN_t definitions.
3579         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
3581 2016-09-23  Zack Weinberg  <zackw@panix.com>
3583         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
3584         * sysdeps/unix/sysv/linux/netrose/rose.h:
3585         Include sys/socket.h and netax25/ax25.h.
3587         * inet/netinet/icmp6.h, inet/netinet/ip6.h
3588         * resolv/arpa/nameser_compat.h:
3589         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
3591         * sysdeps/unix/sysv/linux/sys/quota.h:
3592         Use __caddr_t instead of caddr_t.
3593         * sysdeps/unix/sysv/linux/sys/timerfd.h:
3594         Use __clockid_t instead of clockid_t.
3596         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
3598         * argp/argp.h: Check whether _LIBC is defined before expanding it.
3599         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
3600         expanding it.
3602         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
3603         Define __glibc_c99_flexarr_available to 1 when the compiler
3604         supports C99-compatible flexible array members, 0 otherwise.
3605         * sysdeps/unix/sysv/linux/bits/socket.h
3606         * sysdeps/mach/hurd/bits/socket.h
3607         * bits/socket.h: Use __glibc_c99_flexarr_available in
3608         definitions of struct cmsghdr and CMSG_DATA.
3610 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3612         * manual/nss.texi (NSS Modules Interface): Adjust function return
3613         type to enum nss_status.  Document errnop argument.  Clarify
3614         h_errnop semantics.  Fix cross-reference formatting.
3615         (NSS Module Function Internals): Mention that *errnop needs to be
3616         set on failure, but not to zero.
3618 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3620         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
3621         (get_random_name): New functions.
3622         (check_wrapper_flags_mode): Use linkat to give the new file a name
3623         determined by get_random_name.
3624         (do_test): Add calls to test open64 and openat64.
3626 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3628         * test-skeleton.c: Remove #include <stdarg.h>.
3630 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
3632         [BZ #19826]
3633         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
3634         initialization of static TLS entries.
3635         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
3636         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3638 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3640         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
3641         _hurd_malloc_fork_prepare.
3642         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
3643         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
3644         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
3645         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
3646         (_hurd_fork_child_hook): Drop malloc_fork_child.
3647         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
3648         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
3649         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
3650         after locking locks (notably hurd_dtable_lock). Call
3651         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
3652         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
3653         __malloc_fork_unlock_child.
3654         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
3656 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
3658         * soft-fp/extendhftf2.c: New.
3659         * soft-fp/fixhfti.c: Likewise.
3660         * soft-fp/fixunshfti.c: Likewise.
3661         * soft-fp/floattihf.c: Likewise.
3662         * soft-fp/floatuntihf.c: Likewise.
3663         * soft-fp/half.h: Likewise.
3664         * soft-fp/trunctfhf2.c: Likewise.
3666 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
3668         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
3669         macro.
3670         * math/libm-test.inc (issubnormal_test_data): New array.
3671         (issubnormal_test): New function.
3672         * manual/arith.texi (Floating Point Classes): Document
3673         issubnormal.
3674         * manual/libm-err-tab.pl: Update comment on interfaces without
3675         ulps tabulated.
3677         * sysdeps/generic/stdint.h: Define
3678         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3679         <bits/libc-header-start.h> instead of including <features.h>.
3680         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
3681         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
3682         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
3683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
3684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
3685         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
3686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
3687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
3688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
3689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
3690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
3691         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
3692         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
3693         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
3694         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
3695         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
3696         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
3697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
3698         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
3699         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
3700         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
3701         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
3702         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
3703         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
3704         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
3705         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
3706         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
3707         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
3708         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
3709         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
3710         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
3711         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
3712         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
3713         * manual/arith.texi (Integers): Document these macros for types
3714         specified by width properties.
3715         * manual/lang.texi (Width of Type): Document these macros for
3716         other standard typedefs.
3717         * stdlib/tst-width-stdint.c: New file.
3718         * stdlib/Makefile (tests): Add tst-width-stdint.
3720 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3722         [BZ #20016]
3723         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
3724         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
3725         Move ...
3726         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
3727         ... here, as compatibility symbols in a new file.
3728         * resolv/Makefile (libresolv-routines): Add compat-hooks.
3729         * resolv/res_init.c (__res_vinit): Adjust member names.
3730         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
3731         * resolv/resolv.h (res_sendhookact, res_send_qhook)
3732         (res_send_rhook): Remove.
3733         (struct __res_state): Rename qhook, rhook members.
3735 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3737         malloc: Use __libc_lock wrappers.
3738         * malloc/arena.c (list_lock, free_list_lock): Define using
3739         __libc_lock_define_initialized.
3740         (arena_lock): Adjust formatting.
3741         * malloc/malloc.c (struct malloc_state): Define mutex using
3742         __libc_lock_define.
3743         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
3744         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
3745         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
3746         (mutex_unlock, mutex_trylock): Remove.
3747         (__pthread_initialize): Remove unused macro.
3748         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
3749         (mutex_unlock, mutex_trylock): Remove.
3751 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3753         [BZ #20592]
3754         Remove RR type classification macros.
3755         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
3756         (ns_t_udp_p, ns_t_xfr_p): Remove.
3758 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3760         Remove misleading version information.
3761         * resolv/arpa/nameser.h (__NAMESER): Remove.
3762         * resolv/arpa/nameser_compat.h (__BIND): Remove.
3764 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3766         Remove the always-defined BIND_4_COMPAT macro.
3767         * resolv/arpa/nameser.h: Unconditionally include
3768         <arpa/nameser_compat.h>.
3769         (BIND_4_COMPAT): Remove.
3770         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3772 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3774         [BZ #20591]
3775         Remove obsolete DNSSEC support.
3776         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3777         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3778         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3779         (ns_verify_tcp, ns_verify_tcp_init): Remove.
3780         (ns_cert_types): Add comment.
3781         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3782         separately.
3783         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3784         (dst_s_dns_key_id): Remove.
3785         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3786         variables.
3788 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3790         [BZ #20524]
3791         * manual/string.texi (String/Array Comparison): Clarify the
3792         strverscmp behavior.
3794 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3796         * test-skeleton.c (xasprintf): Add function.
3797         * io/tst-open-tmpfile.c: New test.
3798         * io/Makefile (tests): Add it.
3800 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3802         Avoid running $(CXX) during build to obtain header file paths.
3803         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3804         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3805         * Makerules (cstdlib, cmath): Remove variables.  Use
3806         $(c++-cstdlib-header), $(c++-cmath-header) instead.
3807         * configure: Regenerate.
3809 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3811         * Makeconfig (all-object-suffixes): Include .op only if
3812         $(build-profile).
3814 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3816         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3817         conditionals.  Do not define PATH_MAX.
3819 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3821         * posix/Makefile (tests): Add tst-spawn3.
3822         * posix/tst-spawn3.c: New file.
3823         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3824         if it is already opened for open action.
3826         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3827         all signals when executing the clone vfork child.
3828         (SIGALL_SET): Remove macro.
3830         * nptl/Makefile (tests): Add tst-exec5.
3831         * nptl/tst-exec5.c: New file.
3832         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3833         asynchronous cancellation.
3835 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3837         * hurd/exc2signal.c: #include <hurd/signal.h>
3838         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
3839         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
3840         accordingly.
3841         * mach/mach_error.c (mach_error): Fix old-style function definition.
3842         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
3844 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3846         * math/Makefile (libm-calls): Remove s_nanF.
3847         (gen-libm-calls): Add s_nanF.
3849         * math/s_nan.c: Refactor into ...
3850         * math/s_nan_template.c: New file.
3852         * math/s_nanf.c: Removed.
3853         * math/s_nanl.c: Removed.
3854         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
3855         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
3857         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3858         (LDOUBLE_nanl_libm_version): New macro.
3860         * sysdeps/generic/math-type-macros-double.h:
3861         (M_STRTO_NAN): New macro.
3862         * sysdeps/generic/math-type-macros-float.h: Likewise.
3863         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3865         * sysdeps/generic/math-type-macros.h: Document
3866         M_STRTO_NAN.
3868 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3870         * math/s_nanf.c: Remove __nanf undef.
3871         * math/s_nan.c: Remove __nan undef.
3872         * math/s_nanl.c: Remove __nanl undef.
3874         * sysdeps/generic/math_private.h (__nan): Remove macro
3875         override.
3876         (__nanf): Likewise.
3877         (__nanl): Likewise.
3879 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3881         * math/Makefile (gen-all-calls): New variable.
3882         (generated): Replace gen-libm-calls with gen-all-calls.
3883         (gen-libm-templates.stmp): Likewise.  Also, ensure
3884         the output directory exists or is created and add
3885         dependency on the Makefile.
3886         (calls): Move s_ldexpF into gen-calls.
3887         (gen-calls): New variable.
3889         * math/s_ldexpf.c: Removed.
3890         * math/s_ldexpl.c: Removed.
3891         * math/s_ldexp.c: Refactored into ...
3892         * math/s_ldexp_template.c: New file.
3894         * sysdeps/generic/math-type-macros-double.h: Remove
3895         redundant fall-through definition of declare_mgen_alias.
3896         (declare_mgen_alias_2): New macro.
3898         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
3899         New macro for function aliased to two exported symbols.
3901         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
3902         new template file.
3903         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3905 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3907         * Makeconfig (all-object-suffixes): Remove .og.
3908         * Makerules (elide-routines.og): Remove.
3909         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
3910         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
3911         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
3913 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3915         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
3916         .os objects.
3918 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3920         [BZ #20615]
3921         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
3922         fpu directory by non-fpu.
3923         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
3924         on non-fpu directory from a fpu directory.
3926 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
3928         * include/limits.h: Define
3929         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3930         <bits/libc-header-start.h> instead of including <features.h>.
3931         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
3932         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
3933         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
3934         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
3935         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
3936         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
3937         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
3938         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
3939         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3940         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
3941         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
3942         * manual/lang.texi (Width of Type): Document these macros.
3943         * stdlib/tst-width.c: New file.
3944         * stdlib/Makefile (tests): Add tst-width.
3946 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3948         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
3949         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
3951 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3953         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
3954         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3955         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3957 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3959         [BZ #18243]
3960         * rt/Makefile (test): Add tst-shm-cancel.
3961         * rt/tst-shm-cancel.c: New file.
3962         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
3964         [BZ #18243]
3965         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
3966         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
3967         definition.
3968         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
3969         uncontended case.
3970         * nptl/sem_wait.c (__new_sem_wait): Likewise.
3971         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
3972         (tf): Fix check for uncontended case.
3973         (do_test): Likewise.
3974         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
3975         (tf): Fix check for uncontended case.
3976         (do_test): Likewise.
3977         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
3978         (tf): Fix check for uncontended case.
3979         (do_test): Likewise.
3980         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
3981         (tf): Fix check for uncontended case.
3982         (do_test): Likewise.
3984         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
3985         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
3987         [BZ #15765]
3988         * nptl/Makefile (tests): Add tst-sem16.
3989         * nptl/tst-sem16.c: New file.
3990         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
3992         * nptl/sem_open.c (sem_open): Init pad value to 0.
3993         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3994         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3996 2016-09-15  Florian Weimer  <fweimer@redhat.com>
3998         [BZ #20611]
3999         * inet/Makefile (routines): Add inet6_scopeid_pton.
4000         (tests): Add tst-inet6_scopeid_pton.
4001         * inet/inet6_scopeid_pton.c: New file.
4002         * inet/net-internal.h: Likewise.
4003         * inet/tst-inet6_scopeid_pton.c: New test.
4004         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
4005         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
4006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4008 2016-09-14  Florian Weimer  <fweimer@redhat.com>
4010         Remove support for compiling wrappers with PTW.
4011         * sysdeps/nptl/Makeconfig: Drop ptw- support.
4012         * nptl/Makefile (pthread-compat-wrappers): Define.
4013         (libpthread-routines): Use pthread-compat-wrappers.
4014         * sysdeps/unix/sysv/linux/alpha/Makefile
4015         (libpthread-routines, libpthread-shared-only-routines): Remove
4016         ptw- prefix.
4017         * sysdeps/s390/nptl/Makefile
4018         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4019         * sysdeps/ia64/nptl/Makefile
4020         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4021         * sysdeps/nacl/Makefile (libpthread-routines): Use
4022         pthread-compat-wrappers to filter the routines list instead of the
4023         ptw- prefix.
4025 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4027         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
4028         with L() and remove explicit suffix, convert real literals
4029         which can be equivalentally substituted with integers, and
4030         transform -L(x) to L(-x).
4032         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4033         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4034         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4035         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4036         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4037         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4038         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4039         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4040         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4041         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4042         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4043         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4044         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4045         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4046         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4047         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4048         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4049         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4050         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4051         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4052         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4053         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4054         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4055         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4056         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4057         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4058         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4059         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4060         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4061         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4062         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4063         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4064         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4065         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4066         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4067         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4068         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4069         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4070         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4071         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4072         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4073         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4074         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4075         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4076         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4077         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4078         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4079         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4080         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4081         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4083 2016-09-13  Florian Weimer  <fweimer@redhat.com>
4085         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
4087 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4089         * malloc/Makefile (tests): Remove individual static test names
4090         and just add all of tests-static.
4092         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
4094 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4096         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
4097         file.
4099         * sysdeps/sparc/fpu/fegetmode.c: New file.
4100         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
4102         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
4103         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
4105         * sysdeps/s390/fpu/fegetmode.c: New file.
4106         * sysdeps/s390/fpu/fesetmode.c: Likewise.
4108         * sysdeps/powerpc/fpu/fegetmode.c: New file.
4109         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
4110         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
4111         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
4112         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
4113         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
4115         * sysdeps/mips/fpu/fegetmode.c: New file.
4116         * sysdeps/mips/fpu/fesetmode.c: Likewise.
4118         * sysdeps/m68k/fpu/fegetmode.c: New file.
4119         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
4121         * sysdeps/ia64/fpu/fegetmode.c: New file.
4122         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
4124         * sysdeps/hppa/fpu/fegetmode.c: New file.
4125         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
4127         * sysdeps/arm/fegetmode.c: New file.
4128         * sysdeps/arm/fesetmode.c: Likewise.
4130         * sysdeps/alpha/fpu/fegetmode.c: New file.
4131         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
4133         * sysdeps/aarch64/fpu/fegetmode.c: New file.
4134         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
4136         * math/fegetmode.c: New file.
4137         * math/fesetmode.c: Likewise.
4138         * sysdeps/i386/fpu/fegetmode.c: Likewise.
4139         * sysdeps/i386/fpu/fesetmode.c: Likewise.
4140         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
4141         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
4142         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
4143         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
4144         declaration.
4145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
4146         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
4147         typedef.
4148         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4149         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4150         (femode_t): New typedef.
4151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4152         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4153         (femode_t): New typedef.
4154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4155         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4156         (femode_t): New typedef.
4157         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4158         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4159         (femode_t): New typedef.
4160         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4161         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4162         (femode_t): New typedef.
4163         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4164         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4165         (femode_t): New typedef.
4166         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4167         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4168         (femode_t): New typedef.
4169         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4170         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4171         (femode_t): New typedef.
4172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4173         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4174         (femode_t): New typedef.
4175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4176         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4177         (femode_t): New typedef.
4178         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
4179         declaration.
4180         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4181         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4182         (femode_t): New typedef.
4183         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4184         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4185         (femode_t): New typedef.
4186         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4187         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4188         (femode_t): New typedef.
4189         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4190         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4191         (femode_t): New typedef.
4192         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4193         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4194         (femode_t): New typedef.
4195         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4196         * manual/arith.texi (FE_DFL_MODE): Document macro.
4197         (fegetmode): Document function.
4198         (fesetmode): Likewise.
4199         * math/Versions (fegetmode): New libm symbol at version
4200         GLIBC_2.25.
4201         (fesetmode): Likewise.
4202         * math/Makefile (libm-support): Add fegetmode and fesetmode.
4203         (tests): Add test-femode and test-femode-traps.
4204         * math/test-femode-traps.c: New file.
4205         * math/test-femode.c: Likewise.
4206         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
4207         alias for __fe_dfl_env.
4208         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
4209         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
4210         (__fe_dfl_mode): Likewise.
4211         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
4212         version GLIBC_2.25.
4213         * sysdeps/nacl/libm.abilist: Update.
4214         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4215         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4216         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4217         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4218         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4219         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4220         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4221         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4222         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4223         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4224         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4225         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4227         Likewise.
4228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4229         Likewise.
4230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4231         Likewise.
4232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4233         Likewise.
4234         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4235         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4236         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4237         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4238         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4240         Likewise.
4241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4242         Likewise.
4243         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4244         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4245         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4247 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4249         [BZ #20495]
4250         [BZ #20508]
4251         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
4252         processors, set Use_dl_runtime_resolve_slow and set
4253         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
4254         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4255         New.
4256         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4257         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
4258         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4259         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
4260         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
4261         if Use_dl_runtime_resolve_opt is set.  Use
4262         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
4263         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
4264         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
4265         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
4266         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
4267         New.
4268         (_dl_runtime_resolve_opt): Likewise.
4269         (_dl_runtime_profile): Define only if _dl_runtime_profile is
4270         defined.
4272 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4274         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
4275         __libc_memalign with "+ RELA R_390_GLOB_DAT".
4277 2016-09-06  Florian Weimer  <fweimer@redhat.com>
4279         Convert malloc to __libc_lock.  Automated part, using this Perl
4280         s/// command:
4281           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
4282             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
4283         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
4284         conversion.
4286 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
4288         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
4289         (linknamespace-symlists-tests): Likewise.
4290         (linknamespace-header-tests): Likewise.
4292 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
4294         [BZ #19810]
4295         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
4296         * elf/tst-noload.c: New test case.
4297         * elf/Makefile (tests): Add tst-noload.
4299 2016-09-02  Roland McGrath  <roland@hack.frob.com>
4301         * sysdeps/nacl/dup.c: Add libc_hidden_def.
4303         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
4304         not any more.
4306         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
4308 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4310         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
4311         (do_cos_slow): Likewise.
4312         (do_sin): Likewise.
4313         (do_sin_slow): Likewise.
4314         (slow): Likewise.
4315         (slow1): Likewise.
4316         (slow2): Likewise.
4317         (sloww): Likewise.
4318         (sloww1): Likewise.
4319         (sloww2): Likewise.
4320         (bsloww): Likewise.
4321         (bsloww1): Likewise.
4322         (bsloww2): Likewise.
4323         (cslow2): Likewise.
4325         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
4327         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
4328         arguments.  Consolidate input partitioning from callers here.
4329         (do_cos_slow): Likewise.
4330         (do_sin): Likewise.
4331         (do_sin_slow): Likewise.
4332         (do_sincos_1): Remove the no longer necessary input partitioning.
4333         (do_sincos_2): Likewise.
4334         (__sin): Likewise.
4335         (__cos): Likewise.
4336         (slow1): Likewise.
4337         (slow2): Likewise.
4338         (sloww1): Likewise.
4339         (sloww2): Likewise.
4340         (bsloww1): Likewise.
4341         (bsloww2): Likewise.
4342         (cslow2): Likewise.
4344 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4346         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
4347         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
4348         outside of allocated array.
4350 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4352         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
4353         instead of MB_CUR_MAX to avoid variable-length array.
4355 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4357         * math/Makefile (libm-calls): Remove k_rem_pio2F.
4358         (type-double-routines): Add k_rem_pio2.
4359         (type-float-routines): Add k_rem_pio2f.
4361         * sysdeps/generic/math_private.h:
4362         (__kernel_rem_pio2l): Removed.
4364         * math/k_rem_pio2l.c: Removed.
4365         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
4366         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
4367         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
4368         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
4370 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4372         * math/Makefile (gen-libm-calls): Add s_fmin
4373         (libm-calls): Remove above.
4375         * math/s_fmin.c: Refactor into ...
4376         * math/s_fmin_template.c: New file.
4378         * math/s_fminf.c: Removed.
4379         * math/s_fminl.c: Removed.
4380         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4381         (LDOUBLE_fmin_libm_version): New macro.
4383         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
4384         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
4386 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4388         * math/Makefile: (gen-libm-calls): Add s_fmax.
4389         (libm-calls): Remove above.
4391         * math/s_fmax.c: Refactor into ...
4392         * math/s_fmax_template.c: New file.
4393         * math/s_fmaxf.c: Removed.
4394         * math/s_fmaxl.c: Removed.
4396         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4397         (LDOUBLE_fmaxl_libm_version): New macro.
4399         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4400         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4402         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4403         s_fmin.c to pick the aarch64 version of the file.
4404         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4405         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4407 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4409         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4410         (libm-calls): Remove above.
4412         * math/s_nextdown.c: Refactor into ...
4413         * math/s_nextdown_template.c: New file.
4414         * math/s_nextdownf.c: Removed.
4415         * math/s_nextdownl.c: Removed.
4417         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
4419 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4421         * math/Makefile (gen-libm-calls): Add s_fdim.
4422         (libm-calls): Move to above.
4424         * math/s_fdim.c: Renamed and refactored into to ...
4425         * math/s_fdim_template.c: New file.
4426         * math/s_fdiml.c: Removed.
4427         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
4428         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
4430         * sysdeps/generic/math-type-macros-double.h:
4431         (declare_mgen_alias): Don't declare if already declared.
4432         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
4433         Likewise.
4435         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4436         (declare_mgen_alias): Don't declare if already declared.
4437         (M_LIBM_NEED_COMPAT): Likewise.
4438         (declare_mgen_libm_compat): Likewise.
4439         (LDOUBLE_fdiml_libm_version): New macro.
4441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4442         Include math/s_fdim.c now that ldbl-opt version is not needed.
4443         (declare_mgen_alias): New macro to disable aliasing.
4445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
4446         (declare_mgen_alias): Likewise.
4447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
4448         (declare_mgen_alias): Likewise.
4449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
4450         (declare_mgen_alias): Likewise.
4451         (M_LIBM_NEED_COMPAT): Likewise.
4453 2016-09-01  Florian Weimer  <fweimer@redhat.com>
4455         [BZ #20525]
4456         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
4457         Include <linux/quota.h>.
4458         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
4459         and btodb.
4460         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
4461         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
4462         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
4463         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
4464         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
4465         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
4466         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
4467         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
4468         types.
4469         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
4470         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
4472 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4474         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4475         (gammal_positive): Fix spacing.
4476         (__ieee754_gammal_r): Likewise.
4478 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4480         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
4481         (_Float128): Define as long double, always.
4482         (L): Apply long double type suffix, always.
4484         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
4485         _Float128, excepting comments.
4487         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4488         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4489         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4490         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4491         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4492         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4493         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4494         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4495         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4496         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
4497         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4498         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4499         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4500         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4501         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4502         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4503         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4504         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4505         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4506         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4507         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4508         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4509         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4510         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4511         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4512         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4513         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4514         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4515         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4516         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4517         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4518         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4519         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4520         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4521         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4522         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4523         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4524         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4525         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4526         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4527         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4528         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4529         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4530         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4531         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4532         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4533         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4534         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4535         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4536         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4537         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4538         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4539         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4540         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4541         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4542         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4543         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4544         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4545         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4546         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4547         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4548         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4549         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4550         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4551         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4552         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4553         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4554         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4556         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
4557         _Float128, and include math_private.h.
4558         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4560         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
4561         long double semantics.
4562         (_Float128): Likewise.
4563         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
4564         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4565         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4566         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4568 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4570         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
4571         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
4572         * sysdeps/s390/configure: Regenerated.
4573         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
4574         instruction for raising over-/underflow if z196 zarch is supported
4575         by default.
4576         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
4578 2016-08-30  Svante Signell  <svante.signell@gmail.com>
4580         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
4581         it point to a dumb buffer for RPC to fill it.
4583 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4585         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
4586         instead of if/else.
4587         (do_sin_slow): Likewise.
4588         (do_sincos_1): Use fabs instead of if/else.
4589         (do_sincos_2): Likewise.
4590         (__sin): Likewise.
4591         (__cos): Likewise.
4592         (slow2): Likewise.
4593         (sloww): Likewise.
4594         (sloww1): Likewise.  Drop argument M.
4595         (sloww2): Use fabs instead of if/else.
4596         (bsloww): Likewise.
4597         (bsloww1): Likewise.
4598         (bsloww2): Likewise.
4600         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
4601         fall through comment.
4602         (do_sincos_1): Likewise.
4604         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
4605         Consolidate switch cases 0 and 2.
4607 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4609         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
4610         (libm-calls): Remove the above.
4612         * math/s_cexp_template.c: Update using type-generic macros.
4613         * math/s_clog10_template.c: Likewise.
4614         * math/s_cpow_template.c: Likewise.
4615         * math/s_clog_template.c: Likewise.
4616         * math/s_cproj_template.c: Likewise.
4617         * math/s_csqrt_template.c: Likewise.
4619         * math/s_cexp.c: Removed.
4620         * math/s_cexpf.c: Removed.
4621         * math/s_cexpl.c: Removed.
4622         * math/s_clog10.c: Removed.
4623         * math/s_clog10f.c: Removed.
4624         * math/s_clog10l.c: Removed.
4625         * math/s_cpow.c: Removed.
4626         * math/s_cpowf.c: Removed.
4627         * math/s_cpowl.c: Removed.
4628         * math/s_clog.c: Removed.
4629         * math/s_clogf.c: Removed.
4630         * math/s_clogl.c: Removed.
4631         * math/s_cproj.c: Removed.
4632         * math/s_cprojf.c: Removed.
4633         * math/s_cprojl.c: Removed.
4634         * math/s_csqrt.c: Removed.
4635         * math/s_csqrtf.c: Removed.
4636         * math/s_csqrtl.c: Removed.
4638         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
4639         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
4640         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
4641         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
4642         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
4643         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
4645         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
4646         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
4647         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
4648         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
4649         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
4650         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
4651         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
4652         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
4653         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
4654         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
4655         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
4657         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
4658         version.
4660         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
4661         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
4662         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
4663         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
4665 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4667         * s_cexp_template.c: Copy of s_cexp.c.
4668         * s_clog_template.c: Copy of s_clog.c.
4669         * s_clog10_template.c: Copy of s_clog10.c.
4670         * s_cpow_template.c: Copy of s_cpow.c.
4671         * s_cproj_template.c: Copy of s_cproj.c.
4672         * s_csqrt_template.c: Copy of s_csqrt.c.
4674 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4676         [BZ #20517]
4677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4678         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
4679         exported.
4681 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
4683         * math/fetestexceptflag.c: New file.
4684         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
4685         Stefan Liebler.
4686         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4687         (fetestexceptflag): New function declaration.
4688         * manual/arith.texi (fetestexceptflag): Document function.
4689         * math/Versions (fetestexceptflag): New libm symbol at version
4690         GLIBC_2.25.
4691         * math/Makefile (libm-support): Add fetestexceptflag.
4692         (tests): Add test-fetestexceptflag.
4693         * math/test-fetestexceptflag.c: New file.
4694         * sysdeps/nacl/libm.abilist: Update.
4695         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4696         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4697         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4698         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4699         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4700         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4701         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4702         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4703         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4704         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4705         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4706         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4708         Likewise.
4709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4710         Likewise.
4711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4712         Likewise.
4713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4714         Likewise.
4715         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4716         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4717         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4718         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4719         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4721         Likewise.
4722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4723         Likewise.
4724         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4725         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4726         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4728 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4730         [BZ #20432]
4731         Avoid strong references to malloc-internal symbols when linking
4732         statically, to support statically interposed mallocs.
4733         * include/libc-symbols.h (call_function_static_weak): New macro.
4734         * malloc/Makefile (tests): Add tst-interpose-nothread,
4735         tst-interpose-thread, tst-interpose-static-nothread,
4736         tst-interpose-static-thread.
4737         (tests-static): Add tst-interpose-static-nothread,
4738         tst-interpose-static-thread.
4739         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
4740         tst-interpose-aux-thread.o.
4741         (test-extras): Add tst-interpose-aux-nothread,
4742         tst-interpose-aux-thread.
4743         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
4744         tst-interpose-aux-nothread.o.
4745         (tst-interpose-thread, tst-interpose-static-thread): Link with
4746         tst-interpose-aux-thread.o and libthread.
4747         * malloc/tst-interpose-aux-nothread.c: New file.
4748         * malloc/tst-interpose-aux-thread.c: Likewise.
4749         * malloc/tst-interpose-aux.c: Likewise.
4750         * malloc/tst-interpose-aux.h: Likewise.
4751         * malloc/tst-interpose-nothread.c: Likewise.
4752         * malloc/tst-interpose-skeleton.c: Likewise.
4753         * malloc/tst-interpose-static-nothread.c: Likewise.
4754         * malloc/tst-interpose-static-thread.c: Likewise.
4755         * malloc/tst-interpose-thread.c: Likewise.
4756         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
4757         * sysdeps/mach/hurd/fork.c (__fork): Only call
4758         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4759         __malloc_fork_unlock_child if defined.
4760         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4762 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4764         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
4765         timespec C99 designated initialization.
4767 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4769         [BZ #19946]
4770         Avoid expected SIGALRM signals.
4771         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4772         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4773         (xpthread_create, xpthread_detach, xpthread_join)
4774         (delayed_exit_thread, delayed_exit): New functions.
4775         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4776         (tf): Use xpthread_cond_wait.
4777         (do_test): Likewise.  Replace alarm with delayed_exit.
4778         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4779         (do_test): Call delayed_exit.  Report failure.
4780         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4781         (do_test): Call delayed_exit.
4782         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4783         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
4784         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4785         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
4786         error.
4787         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4788         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
4789         error.
4790         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4791         (do_test): Call delayed_exit.
4792         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4793         (do_test): Call delayed_exit.
4794         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4795         (do_test): Call delayed_exit instead of alarm.  Use
4796         xpthread_mutex_lock.
4797         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4798         (do_test): Call delayed_exit instead of alarm.  Use
4799         xpthread_mutex_lock.
4800         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4801         (do_test): Call delayed_exit instead of alarm.
4802         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4803         (do_test): Call delayed_exit instead of alarm.  Use
4804         xpthread_spin_lock.
4805         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4806         (do_test): Call delayed_exit instead of alarm.  Use
4807         xpthread_join.
4809 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4811         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4812         adjust CFA when allocating register save area on re-aligned
4813         stack.
4815 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4817         * string/tst-cmp.c: New test.
4818         * string/Makefile (tests): Add it.
4820 2016-08-25  Mark Wielaard  <mark@klomp.org>
4822         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4823         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
4824         (check_tree_recurse): Use newly defined accessors.
4825         (check_tree): Likewise.
4826         (maybe_split_for_insert): Likewise.
4827         (__tfind): Likewise.
4828         (__tdelete): Likewise.
4829         (trecurse): Likewise.
4830         (tdestroy_recurse): Likewise.
4831         (__tsearch): Likewise. And add asserts for malloc alignment.
4832         (__twalk): Cast root to node in case CHECK_TREE is defined.
4834 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4836         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
4838 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4840         * math/Makefile (libm-gen-calls): Add
4841         catan, catanh, ctan, ctanh.
4842         (libm-calls): Remove the above.
4844         * math/s_catan_template.c: Update using type-generic macros.
4845         * math/s_catanh_template.c: Likewise.
4846         * math/s_ctan_template.c: Likewise.
4847         * math/s_ctanh_template.c: Likewise.
4849         * math/s_catanf.c: Removed.
4850         * math/s_catan.c: Removed.
4851         * math/s_catanl.c: Removed.
4852         * math/s_catanhf.c: Removed.
4853         * math/s_catanh.c: Removed.
4854         * math/s_catanhl.c: Removed.
4855         * math/s_ctanf.c: Removed.
4856         * math/s_ctan.c: Removed.
4857         * math/s_ctanl.c: Removed.
4858         * math/s_ctanhf.c: Removed.
4859         * math/s_ctanh.c: Removed.
4860         * math/s_ctanhl.c: Removed.
4862         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
4863         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
4864         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4865         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4866         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4867         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4869         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4870         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4871         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4872         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4874 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4876         * s_catan_template.c: Copy of s_catan.c.
4877         * s_catanh_template.c: Copy of s_catanh.c.
4878         * s_ctan_template.c: Copy of s_ctan.c.
4879         * s_ctanh_template.c: Copy of s_ctanh.c.
4881 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4883         * math/Makefile (gen-libm-calls): Move
4884         casin, casinh, csin, csinh here.
4885         (libm-calls): Remove the above.
4887         * math/s_casin_template.c: Update using type-generic macros.
4888         * math/s_casinh_template.c: Likewise.
4889         * math/s_csin_template.c: Likewise.
4890         * math/s_csinh_template.c: Likewise.
4891         * math/k_casinh_template.c: Likewise.
4893         * math/s_casinf.c: Removed.
4894         * math/s_casin.c: Removed.
4895         * math/s_casinl.c: Removed.
4896         * math/s_casinh.c: Removed.
4897         * math/s_casinhf.c: Removed.
4898         * math/s_casinhl.c: Removed.
4899         * math/s_csin.c: Removed.
4900         * math/s_csinf.c: Removed.
4901         * math/s_csinl.c: Removed.
4902         * math/s_csinh.c: Removed.
4903         * math/s_csinhf.c: Removed.
4904         * math/s_csinhl.c: Removed.
4905         * math/k_casinh.c: Removed.
4906         * math/k_casinhf.c: Removed.
4907         * math/k_casinhl.c: Removed.
4909         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
4910         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4911         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4912         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4914         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
4915         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
4916         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
4917         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
4918         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
4919         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
4920         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
4921         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
4923         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
4924         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
4925         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
4926         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
4928         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
4929         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
4930         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
4931         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
4933 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4935         * s_casin_template.c: Copy of s_casin.c.
4936         * s_casinh_template.c: Copy of s_casinh.c.
4937         * s_csin_template.c: Copy of s_csin.c.
4938         * s_csinh_template.c: Copy of s_csinh.c.
4939         * k_casinh_template.c: Copy of k_casinh.c.
4941 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4943         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
4945 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4947         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
4948         (mul_split) Remove, rename as mul_splitl, remove
4949         redundant float.h include, and include via mul_splitl.h
4951         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4952         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4953         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4954         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4955         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4957         * math/mul_splitl.h: New file.
4959         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
4960         Move into mul_split.h, and remove redundant float.h include.
4962         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4963         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4964         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4965         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
4967         * math/mul_split.h: New file.
4969 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4971         * math/Makefile (libm-gen-calls): Move
4972         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
4973         (libm-calls): Remove above.
4975         * math/s_cacos_template.c: Update using type-generic macros.
4976         * math/s_cacosh_template.c: Likewise.
4977         * math/s_ccos_template.c: Likewise.
4978         * math/s_ccosh_template.c: Likwise.
4980         * math/s_cacosf.c: Removed.
4981         * math/s_cacos.c: Removed.
4982         * math/s_cacosl.c: Removed.
4983         * math/s_cacoshf.c: Removed.
4984         * math/s_cacosh.c: Removed.
4985         * math/s_cacoshl.c: Removed.
4986         * math/s_ccosf.c: Removed.
4987         * math/s_ccos.c: Removed.
4988         * math/s_ccosl.c: Removed.
4989         * math/s_ccoshf.c: Removed.
4990         * math/s_ccosh.c: Removed.
4991         * math/s_ccoshl.c: Removed.
4993         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
4994         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
4995         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
4996         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
4997         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
4998         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
5000         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
5001         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
5002         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
5003         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
5005         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
5006         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
5007         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
5008         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
5010 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5012         * s_cacos_template.c: Copy of s_cacos.c.
5013         * s_cacosh_template.c: Copy of s_cacosh.c.
5014         * s_ccos_template.c: Copy of s_ccos.c.
5015         * s_ccosh_template.c: Copy of s_ccosh.c.
5017 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5019         * stdlib/tst-strtod-round-skeleton.c:
5020         Refactored from tst-strtod-round.c.
5022         (L_): New macro to apply literal modifier.
5023         (FNPFX): New macro to select str or wcs prefix.
5024         (CHAR): New macro to choose wchar_t or char.
5025         (STRM): New macro to choose printf for tested character type.
5027         (STRTO): New macro to choose appropriate string -> real function.
5028         (FNPFXS): Stringitized version of FNPFX.
5029         (STR): Support for above macro.
5030         (STRX): Likewise.
5032         (TEST): Update with above macros.
5033         (test): Likewise.
5034         (GEN_ONE_TEST): Likewise.
5035         (test_in_one_mode): Likewise.
5037         * stdlib/tst-strtod-round.c: New file.
5038         * wcsmbs/tst-wcstod-round.c: New file.
5040         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
5041         (tst-wcstod-round): Add libm depencency for fesetround.
5043 2016-08-19  Zack Weinberg  <zackw@panix.com>
5045         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
5047 2016-08-18  Torvald Riegel  <triegel@redhat.com>
5049         [BZ #20477]
5050         * resolv/res_hconf.c (do_init): Use atomic access.
5051         * resolv/res_hconf.h: Add comments.
5052         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
5053         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
5054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5056 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5058         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5059         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
5060         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5061         Likewise.
5063 2016-08-18  Florian Weimer  <fweimer@redhat.com>
5065         [BZ #16907]
5066         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
5067         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
5068         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
5069         (__attribute__): Remove definition.
5071 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5073         * sysdeps/ieee754/ldbl-128/e_asinl.c:
5074         Remove unused sqrtl declaration.
5076 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5078         * math/Makefile: (gen-libm-templates.stmp): New rule.
5079         (libm-calls): Move carg conj cimag and cabs into ...
5080         (gen-libm-calls): New variable.
5081         (generated): Inform Make objects from gen-libm-calls
5082         may be generated.
5084         * sysdeps/generic/math-type-macros.h: New file.
5085         * sysdeps/generic/math-type-macros-float.h: Likewise.
5086         * sysdeps/generic/math-type-macros-double.h: Likewise.
5087         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5088         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
5089         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
5091         * math/cabs.c: Refactor into
5092         * math/cabs_template.c: new file.
5093         * math/cabsf.c: Removed.
5094         * math/cabsl.c: Removed.
5095         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
5096         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
5098         * math/carg.c: Refactor into
5099         * math/carg_template.c: new file.
5100         * math/cargf.c: Removed.
5101         * math/cargl.c: Removed.
5102         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
5103         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
5105         * math/conj.c: Refactor into
5106         * math/conj_template.c: new file.
5107         * math/conjf.c: Removed.
5108         * math/conjl.c: Removed.
5109         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
5110         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
5112         * math/cimag.c: Refactor into
5113         * math/cimag_template.c: new file.
5114         * math/cimagf.c: Removed.
5115         * math/cimagl.c: Removed.
5116         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5117         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5119         * math/cimag.c: Refactor into
5120         * math/cimag_template.c: new file.
5121         * math/cimagf.c: Removed.
5122         * math/cimagl.c: Removed.
5123         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5124         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5126 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5128         Reduce time to expected nptl/tst-once5 failure.
5129         * nptl/tst-once5.cc (TIMEOUT): Define.
5131 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5133         [BZ #20452]
5134         Avoid additional copies of objects in libc.a in static libraries.
5135         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
5136         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
5137         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
5138         rt-sysdep.
5139         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
5140         Add nptl-sysdep.
5141         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
5142         Add ptw-sysdep.
5143         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
5144         rt-sysdep.
5145         * sysdeps/unix/sysv/linux/alpha/Makefile
5146         (libpthread-shared-only-routines): Add ptw-sysdep,
5147         ptw-sigprocmask, ptw-rt_sigaction.
5148         * sysdeps/unix/sysv/linux/ia64/Makefile
5149         (librt-shared-only-routines): Add rt-sysdep.
5150         * sysdeps/unix/sysv/linux/i386/Makefile
5151         (libpthread-shared-only-routines): Add libc-do-syscall.
5152         * sysdeps/unix/sysv/linux/microblaze/Makefile
5153         (libpthread-shared-only-routines): Add sysdep.
5154         * sysdeps/unix/sysv/linux/powerpc/Makefile
5155         (librt-shared-only-routines): Add rt-sysdep.
5156         (libpthread-shared-only-routines): Add sysdep.
5157         * sysdeps/unix/sysv/linux/s390/Makefile
5158         (librt-shared-only-routines): Add rt-sysdep.
5159         * sysdeps/unix/sysv/linux/sparc/Makefile
5160         (librt-shared-only-routines): Add rt-sysdep.
5161         (libpthread-shared-only-routines): Add sysdep.
5162         * sysdeps/unix/sysv/linux/tile/Makefile
5163         (libpthread-shared-only-routines): Likewise.
5165 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5167         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
5168         Mask implicit bit out of unpacked value.
5169         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
5170         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
5171         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
5173         * sysdeps/sparc/fpu/fesetexcept.c: New file.
5175         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
5177         * sysdeps/s390/fpu/fesetexcept.c: New file.
5179         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
5180         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
5181         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
5183         * sysdeps/mips/fpu/fesetexcept.c: New file.
5185         * sysdeps/m68k/fpu/fesetexcept.c: New file.
5187         * sysdeps/ia64/fpu/fesetexcept.c: New file.
5189         * sysdeps/hppa/fpu/fesetexcept.c: New file.
5191         * sysdeps/arm/fesetexcept.c: New file.
5193         * sysdeps/alpha/fpu/fesetexcept.c: New file.
5195         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
5197         * math/fesetexcept.c: New file.
5198         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
5199         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
5200         * math/fenv.h: Define
5201         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5202         <bits/libc-header-start.h> instead of including <features.h>.
5203         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
5204         declaration.
5205         * manual/arith.texi (fesetexcept): Document function.
5206         * math/Versions (fesetexcept): New libm symbol at version
5207         GLIBC_2.25.
5208         * math/Makefile (libm-support): Add fesetexcept.
5209         (tests): Add test-fesetexcept and test-fesetexcept-traps.
5210         * math/test-fesetexcept.c: New file.
5211         * math/test-fesetexcept-traps.c: Likewise.
5212         * sysdeps/nacl/libm.abilist: Update.
5213         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5214         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5215         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5216         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5217         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5218         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5219         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5220         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5221         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5222         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5223         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5224         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5226         Likewise.
5227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5228         Likewise.
5229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5230         Likewise.
5231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5232         Likewise.
5233         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5234         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5235         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5236         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5237         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5239         Likewise.
5240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5241         Likewise.
5242         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5243         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5244         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5246 2016-08-16  Florian Weimer  <fweimer@redhat.com>
5248         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
5249         New.
5250         (do_test): Apply default_stack_size_in_mb if not set.
5251         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
5253 2016-08-15  Andreas Schwab  <schwab@suse.de>
5255         [BZ #20435]
5256         CVE-2016-6323
5257         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
5258         as .cantunwind.
5260 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
5262         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
5263         comment from fraiseexcpt.c.
5265         * math/test-fexcept.c (feraiseexcept_exact): New function.
5266         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
5267         (test_except): Likewise.
5269 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
5271         [BZ #20455]
5272         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
5273         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
5274         to be restored.
5276         * math/test-fexcept-traps.c: New file.
5277         * math/test-fexcept.c: Likewise.
5278         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
5279         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
5280         macro.
5281         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
5282         (EXCEPTION_SET_FORCES_TRAP): Likewise.
5284 2016-08-09  Torvald Riegel  <triegel@redhat.com>
5286         * include/atomic.h (atomic_fetch_and_relaxed,
5287         atomic_fetch_and_release, atomic_fetch_or_release,
5288         atomic_fetch_xor_release): New.
5290 2016-08-06  Christian Seiler  <christian@iwakd.de>
5292         [BZ #20444]
5293         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
5294         MACH_PORT_NULL.
5296 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5298         * math/s_fdim.c: Avoid alias renamed.
5299         * math/s_fdimf.c: Likewise.
5300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5301         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5302         Add s_fdimf-vis3, s_fdim-vis3.
5303         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5304         (CFLAGS-s_fdim-vis3.c): Likewise.
5305         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
5306         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5308 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5311         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5312         Remove s_fdimf-vis3, s_fdim-vis3.
5313         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
5314         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
5315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
5316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
5317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
5318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
5319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
5320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
5321         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
5322         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
5324 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5326         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
5327         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
5328         -Wa,-Av9a -mvis.
5330 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5332         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
5333         LIT() to individual constants in simple expressions
5334         after splitting on spaces.
5335         (_apply_lit): Rename replaced version, and use it to
5336         apply to what appears to be a token.
5338         * math/libm-test.inc: Fix many, many issues with
5339         spacing.
5341 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
5343         * math/math.h: Move comment about <bits/mathdef.h> definitions
5344         above inclusion of <bits/mathdef.h>.  Do not mention
5345         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
5347 2016-08-05  Torvald Riegel  <triegel@redhat.com>
5349         * include/atomic.h (atomic_exchange_relaxed): New.
5351 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
5353         * math/e_scalb.c: Do not include <fenv.h>.
5354         (invalid_fn): Do calculation resulting in NaN instead of raising
5355         FE_INVALID and returning a NaN explicitly.
5356         * math/e_scalbf.c: Do not include <fenv.h>.
5357         (invalid_fn): Do calculation resulting in NaN instead of raising
5358         FE_INVALID and returning a NaN explicitly.
5359         * math/e_scalbl.c: Do not include <fenv.h>.
5360         (invalid_fn): Do calculation resulting in NaN instead of raising
5361         FE_INVALID and returning a NaN explicitly.
5363 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
5365         * po/de.po: Updated from Translation Project.
5366         * po/fi.po: Likewise.
5367         * po/sv.po: Likewise.
5369 2016-08-04  Florian Weimer  <fweimer@redhat.com>
5371         [BZ #20452]
5372         Use sysdep.o from libc.a in static libraries.
5373         * sysdeps/unix/sysv/linux/i386/Makefile
5374         (libpthread-shared-only-routines): Add sysdep.
5375         (librt-shared-only-routines): Likewise.
5377 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5379         * math/tgmath.h (nextdown): Define if
5380         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
5381         (nextup): Likewise.
5383         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
5384         macro.
5385         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5386         Document.
5387         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5388         Document macro.
5389         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
5390         (exp10f): Likewise.
5391         (exp10l): Likewise.
5392         * math/bits/mathcalls.h (exp10): Declare if
5393         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5395         * manual/arith.texi (nextup): Fix typo in last change.
5397 2016-08-03  Zack Weinberg  <zackw@panix.com>
5399         [BZ #19239]
5400         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5401         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5402         define major, minor, and makedev to issue deprecation warnings on use.
5403         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5404         previously-activated deprecation warnings for these macros and prevent
5405         subsequent inclusions of this header from having any effect.
5406         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5407         including <sys/sysmacros.h>, and undefine it again afterward.
5409 2016-08-03  Zack Weinberg  <zackw@panix.com>
5411         * sysdeps/generic/sys/sysmacros.h: Delete file.
5412         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5413         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5414         * bits/sysmacros.h: ... here; this encoding is now the generic
5415         encoding.  Now defines only the following macros:
5416         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5417         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
5418         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
5420         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
5421         bits/sysmacros.h and the above new macros to generate the
5422         public implementations of major, minor, and makedev.
5423         * misc/tst-makedev.c: New test.
5424         * include/sys/sysmacros.h: New wrapper.
5426         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
5427         (routines): Add makedev.
5428         (tests): Add tst-makedev.
5429         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
5430         gnu_dev_makedev.
5431         * posix/Makefile (headers): Remove sys/sysmacros.h.
5432         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
5434         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
5435         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
5436         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5437         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5438         * sysdeps/unix/sysv/linux/arm/libc.abilist
5439         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5440         * sysdeps/unix/sysv/linux/i386/libc.abilist
5441         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5442         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5443         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5444         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5445         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5446         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5447         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5448         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5449         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5454         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5455         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5456         * sysdeps/unix/sysv/linux/sh/libc.abilist
5457         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5458         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5461         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5462         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5463         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5464         Add GLIBC_2.25.
5466         * include/features.h (__glibc_clang_prereq): New macro.
5467         * misc/sys/cdefs.h (__glibc_clang_has_extension)
5468         (__attribute_deprecated_msg__): New macros.
5470 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5472         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
5473         macro.
5474         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
5475         * manual/arith.texi (issignaling): Document as ISO from TS
5476         18661-1:2014.
5477         (nextup): Likewise.
5478         (nextupf): Likewise.
5479         (nextupl): Likewise.
5480         (nextdown): Likewise.
5481         (nextdownf): Likewise.
5482         (nextdownl): Likewise.
5483         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
5484         macro.
5485         * math/math.h: Define
5486         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5487         <bits/libc-header-start.h> instead of including <features.h>.
5488         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
5489         [__USE_GNU].
5490         * math/bits/mathcalls.h (nextdown): Declare if
5491         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
5492         (nextup): Likewise.
5493         (__issignaling): Likewise.
5495 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5497         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
5498         check, and remove __glibc_likely hint
5499         from FP_INFINITE check.
5500         * s_csinhf.c (__csinhf): Likewise.
5502         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
5503         hint from FP_INFINITE check.
5504         * s_csinhl.c (__csinhl): Likewise.
5506 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5508         * math/Makefile (libm-calls): Insert F placeholder into
5509         object names.  Move w_lgamma_compat* routines into
5510         (libm-compat-calls): New variable.
5511         (libm-compat-calls-ldouble-yes): New variable.
5512         (calls): Insert F placeholder.
5513         (generated): Redefine using new type-foreach macro call.
5514         (routines): Likewise.
5516         (types): New variable to hold a list of symbolic names
5517         for each type supported by the target machine.
5518         (libm-routines): Redefine using new types variable.
5519         (type-foreach): macro to replace fooF with the
5520         appropriately suffixed foo for each types.
5522         (type-ldouble-suffix): New variable.
5523         (type-ldouble-routines): Likewise.
5524         (type-ldouble-yes): Likewise.
5525         (type-double-suffix): Likewise.
5526         (type-double-routines): Likewise.
5527         (type-float-suffix): Likewise.
5528         (type-float-routines): Likewise.
5530         (dbl-only-routines): Remove.
5531         (long-c-yes): Likewise.
5532         (long-m-routines): Likewise.
5533         (long-m-support): Likewise.
5534         (long-m-yes): Likewise.
5535         (test-longdouble-yes): Likewise.
5537         (test-float.o): Simplify by increasing the scope of the
5538         recipe which adds libm-test.stmp to the vector types.
5539         (test-ifloat.o): Likewise.
5540         (test-float-finite.o): Likewise.
5541         (test-double.o): Likewise
5542         (test-idouble.o): Likewise.
5543         (test-double-finite.o): Likewise.
5544         (test-ldouble.o): Likewise
5545         (test-ildoubl.o): Likewise.
5546         (test-ldouble-finite.o): Likewise.
5548         (libm-tests): Redefine type tests using foreach and the
5549         list of types in types.
5551         (CPPFLAGS-test-ildoubl.c): Rename to
5552         (CPPFLAGS-test-ildouble.c): New variable
5554         * math/test-ildoubl.c: Rename to
5555         * math/test-ildouble.c: New file.
5557 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5559         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
5560         Use fabsl instead of fabs.
5561         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
5562         Likewise.
5563         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
5564         Add long double suffix to constant to ensure proper
5565         promotion to long double.
5567 2016-08-03  Tom Tromey  <tom@tromey.com>
5569         [BZ #20311]
5570         * nptl_db/Makefile (headers): Add proc_service.h.
5571         * nptl_db/proc_service.h: Add include guard.  Use
5572         __BEGIN/__END_DECLS.
5573         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
5574         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
5575         arguments.
5578 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5580         [BZ #17730]
5581         Avoid using memalign for TCB allocations.
5582         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
5583         (_dl_allocate_tls_storage): Use malloc and manual alignment.
5584         Avoid alignment gap in the TLS_DTV_AT_TP case.
5585         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
5586         determine the pointer to free.
5587         * nptl/tst-tls3-malloc.c: New test.
5588         * nptl/Makefile (tests): Add it.
5589         (tst-tls3-malloc): Link with libdl, libpthread.
5590         (LDFLAGS-tst-tls3-malloc): Set.
5591         (tst-tls3-malloc.out): Depend on DSO used in test.
5593 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5595         [BZ #17730]
5596         Avoid using memalign for TLS allocations.
5597         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
5598         is_static member with to_free member.
5599         (union dtv): Use struct dtv_pointer.
5600         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
5601         dtv_pointer instead of is_static.
5602         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
5603         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
5604         instead of val.
5605         (allocate_dtv_entry): New function.
5606         (allocate_and_init): Return struct dtv_pointer.  Call
5607         allocate_dtv_entry instead of __libc_memalign.
5608         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
5609         instead of val.
5610         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
5611         instead of is_static.  Adjust call to allocate_and_init.
5612         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
5613         struct dtv_pointer instead of val.
5615 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5617         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
5618         (MALLOC_ALIGN_MASK): Move ...
5619         * malloc/malloc-internal.h: ... to here.
5620         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
5622 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5624         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
5625         (UDP_ENCAP_GTP1U): Likewise.
5627         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
5628         (PF_MAX): Update value.
5629         (AF_QIPCRTR): New macro.
5631 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5633         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
5634         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5635         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5636         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5637         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5638         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5639         s_truncf-vis3, s_trunc-vis3.
5640         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5641         (CFLAGS-s_ceil-vis3.c): Likewise.
5642         (CFLAGS-s_floorf-vis3.c): Likewise.
5643         (CFLAGS-s_floor-vis3.c): Likewise.
5644         (CFLAGS-s_truncf-vis3.c): Likewise.
5645         (CFLAGS-s_trunc-vis3.c): Likewise.
5646         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
5647         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5648         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
5649         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5650         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
5651         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5652         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
5653         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5654         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
5655         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5656         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
5657         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5659 2016-08-02  David S. Miller  <davem@davemloft.net>
5661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5662         (__nearbyint_vis3): Don't check for sNaN before float register is
5663         loaded with the incoming argument.
5664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5665         (__nearbyintf_vis3): Likewise.
5666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
5667         Likewise.
5668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
5669         Likewise.
5671         * string/test-strncmp.c (do_test_limit): Make sure the test data
5672         stream is aligned as required for the type "CHAR".
5673         (do_test): Likewise.
5675 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5677         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
5678         by beq instructions jumping to the end of the function.
5679         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
5680         clobber list. Use "i" constraint instead of "X".
5681         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
5682         of "X".
5684 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
5686         * bits/libc-header-start.h: New file.
5687         * Makefile (headers): Add bits/libc-header-start.h.
5688         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
5689         (__GLIBC_USE): New macro.
5690         * libio/stdio.h: Define
5691         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5692         <bits/libc-header-start.h> instead of including <features.h>.
5693         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
5694         (open_memstream): Likewise.
5695         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
5696         (__asprintf): Likewise.
5697         (asprintf): Likewise.
5698         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
5699         (getdelim): Likewise.
5700         (getline): Likewise.
5701         * string/string.h: Define
5702         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5703         <bits/libc-header-start.h> instead of including <features.h>.
5704         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
5705         (strndup): Likewise.
5706         * wcsmbs/wchar.h: Define
5707         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5708         <bits/libc-header-start.h> instead of including <features.h>.
5709         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
5710         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
5712 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5714         Support linking against compatibility symbols, for use in tests.
5715         * include/libc-symbols.h (symbol_version_reference): New macro.
5716         (symbol_version): Use it.
5717         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
5718         (compat_symbol): Use compat_symbol_reference.
5719         (compat_symbol_1, compat_symbol_2): Remove.
5720         (compat_symbol_reference, compat_symbol_reference_1)
5721         (compat_symbol_reference_2): New macro.  Use
5722         symbol_version_reference.
5724 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5726         [BZ #19469]
5727         * malloc/Makefile (CPPFLAGS): Compile tests with
5728         -DTEST_NO_MALLOPT.
5729         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
5731 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
5733         [BZ #20033]
5734         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
5735         finite version.
5736         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
5737         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
5738         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
5739         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
5740         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
5741         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
5742         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
5743         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
5744         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
5745         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
5746         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
5747         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
5748         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
5749         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
5750         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
5751         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
5752         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
5753         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
5754         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
5755         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
5756         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
5757         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
5758         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
5759         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
5760         in zero power.
5762 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5764         [BZ #20370]
5765         * malloc/arena.c (get_free_list): Update comment.  Assert that
5766         arenas on the free list have no attached threads.
5767         (remove_from_free_list): New function.
5768         (reused_arena): Call it.
5770 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
5772         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5773         when it is a NaN.
5774         [_IEEE_FP_INEXACT] Remove.
5775         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5776         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5777         when it is a NaN.
5778         [_IEEE_FP_INEXACT] Remove.
5779         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5780         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5781         when it is a NaN.
5782         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5783         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5784         when its absolute value is greater than 0x1.0p52.
5785         [_IEEE_FP_INEXACT] Remove.
5786         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5787         when its absolute value is greater than 0x1.0p23.
5788         [_IEEE_FP_INEXACT] Remove.
5790 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
5792         * version.h (RELEASE): Set to "development"
5793         (VERSION): Set to 2.24.90.
5794         * NEWS: Add 2.25 section.
5796         * version.h (RELEASE): Set to "stable"
5797         (VERSION): Set to 2.24.
5798         * include/features.h (__GLIBC_MINOR__): Set to 24.
5800         * NEWS: Add 2.24 fixed bugs.
5801         * po/libc.pot: Regenerate.
5803 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
5805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5806         [$(subdir) = math] (libm-sysdep_routines): Remove.
5807         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5808         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5809         s_truncf-vis3, s_trunc-vis3.
5810         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5812         file.
5813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5834         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5835         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5836         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5837         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5838         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5839         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5840         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
5841         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5842         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5843         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
5844         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5846         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
5847         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
5848         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
5849         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
5850         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5851         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5852         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
5853         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
5854         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
5855         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
5857 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
5859         [BZ #20384]
5860         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
5861         test-double-libmvec-sincos-avx-main.o,
5862         test-double-libmvec-sincos-avx2-main.o,
5863         test-double-libmvec-sincos-main.o,
5864         test-float-libmvec-sincosf-avx-main.o,
5865         test-float-libmvec-sincosf-avx2-main.o and
5866         test-float-libmvec-sincosf-main.o.
5867         test-float-libmvec-sincosf-avx512-main.o.
5868         ($(objpfx)test-double-libmvec-sincos): Also link with
5869         $(objpfx)test-double-libmvec-sincos-main.o.
5870         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5871         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5872         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5873         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5874         ($(objpfx)test-float-libmvec-sincosf): Also link with
5875         $(objpfx)test-float-libmvec-sincosf-main.o.
5876         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5877         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5878         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5879         test-double-libmvec-sincos-avx512-main.o and
5880         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5881         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5882         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5883         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5884         (CFLAGS-test-double-libmvec-sincos.c): Removed.
5885         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5886         (CFLAGS-test-double-libmvec-sincos-main.c): New.
5887         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5888         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5889         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5890         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5891         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5892         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5893         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5894         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5895         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5896         -DREQUIRE_AVX2.
5897         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
5898         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
5899         -DREQUIRE_AVX512F.
5900         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
5901         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
5902         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5903         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
5904         file.
5905         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
5906         Likewise.
5907         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
5908         Likewise.
5909         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
5910         Likewise.
5911         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
5912         Likewise.
5913         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
5914         Likewise.
5915         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
5916         Likewise.
5917         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
5918         Likewise.
5920 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
5922         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
5924 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
5926         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
5927         and typo in a comment about AT_HWCAP entry.
5929 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5931         * sysdeps/aarch64/libm-test-ulps: Updated.
5933 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5935         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
5936         of r13 as it is not restored in mvcle case.
5938 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
5940         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
5941         Rename "ret" to "__ret".
5942         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
5943         inline_syscall5, inline_syscall6): Likewise.
5945 2016-07-19   Will Newton  <will.newton@gmail.com>
5947         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
5948         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
5949         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
5950         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
5951         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
5953 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
5955         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
5956         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
5957         -mfpmath=387 with $(rtld-CFLAGS).
5958         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
5959         $(rtld-CFLAGS).
5961 2016-07-18   Ross Burton  <ross.burton@intel.com>
5962              Khem Raj  <raj.khem@gmail.com>
5964         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
5965         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
5966         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
5967         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
5968         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
5969         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
5970         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
5971         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
5972         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
5973         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
5974         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
5975         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
5976         R_METAG_TLS_DTPOFF): New.
5978 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5979             Matt Clay  <mclay@lycos.com>
5981         [BZ #20357]
5982         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
5983         to call __mpsin/__mpcos and to negate values.
5984         * math/auto-libm-test-in: Add test.
5985         * math/auto-libm-test-out: Regenerate.
5987 2016-07-18  Zack Weinberg  <zackw@panix.com>
5989         * grp/Makefile: Don't install the internal header grp-merge.h.
5991 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5993         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5995 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5997         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
5999 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6001         [BZ #15368]
6002         * sysdeps/unix/sysv/linux/nptl-signals.h
6003         (__nptl_clear_internal_signals): New function.
6004         (__libc_signal_block_all): Likewise.
6005         (__libc_signal_block_app): Likewise.
6006         (__libc_signal_restore_set): Likewise.
6007         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
6008         implementation.
6009         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
6010         the cached pid/tid value in pthread structure.
6012 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
6014         [BZ #20347]
6015         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6017 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6019         [BZ #20348]
6020         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
6021         preadv64, pwrite64 and pwritev64.
6023 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6025         [BZ #20350]
6026         * posix/tst-preadwrite.c: Renamed to ...
6027         * posix/tst-preadwrite-common.c: This.
6028         (PREAD): Removed.
6029         (PWRITE): Likewise.
6030         (STRINGIFY): Likewise.
6031         (STRINGIFY2): Likewise.
6032         (do_prepare): Make it static and remove function arguments.
6033         (do_test): Likewise.
6034         (PREPARE): Updated.
6035         (TEST_FUNCTION): New.
6036         (name): Make it static.
6037         (fd): Likewise.
6038         (do_prepare): Use create_temp_file.
6039         (do_test): Renamed to ...
6040         (do_test_with_offset): This.  Make it static and accept offset.
6041         Properly check return value of PWRITE and PREAD.  Return bytes
6042         read.  Don't close fd nor unlink name.
6043         * posix/tst-preadwrite.c: Rewrite.
6044         * posix/tst-preadwrite64.c: Likewise.
6046 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6048         [BZ #20309]
6049         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
6050         -mtls-dialect=gnu2 works.
6051         * configure: Regenerated.
6052         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
6053         (tests): Add tst-gnu2-tls1.
6054         (modules-names): Add tst-gnu2-tls1mod.
6055         ($(objpfx)tst-gnu2-tls1): New.
6056         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
6057         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
6058         * elf/tst-gnu2-tls1.c: New file.
6059         * elf/tst-gnu2-tls1mod.c: Likewise.
6060         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
6061         bytes for push in the PLT entry to align the stack.
6063 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6065         [BZ #20349]
6066         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
6068 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6070         [BZ #18707]
6071         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
6072         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
6074 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6076         * sysdeps/unix/sysv/linux/sysdep.h
6077         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
6078         guards.
6079         * misc/tst-preadvwritev-common.c: New file.
6080         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
6081         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
6082         a check for files larger than 2GB.
6084         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6085         (__ASSUME_OFF_DIFF_OFF64): Remove define.
6086         * sysdeps/unix/sysv/linux/pread.c
6087         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
6088         __OFF_T_MATCHES_OFF64_T.
6089         * sysdeps/unix/sysv/linux/pread64.c
6090         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
6091         * sysdeps/unix/sysv/linux/preadv.c
6092         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
6093         * sysdeps/unix/sysv/linux/preadv64.c
6094         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
6095         * sysdeps/unix/sysv/linux/pwrite.c
6096         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
6097         * sysdeps/unix/sysv/linux/pwrite64.c
6098         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
6099         * sysdeps/unix/sysv/linux/pwritev.c
6100         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
6101         * sysdeps/unix/sysv/linux/pwritev64.c
6102         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
6104 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
6106         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6107         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
6109 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6111         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
6113 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6115         [BZ #20240]
6116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
6117         (CFLAGS-s_modf-ppc32.c): New variable.
6118         (CFLAGS-s_modff-ppc32.c): Likewise.
6119         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6120         (CFLAGS-s_modf-ppc64.c): Likewise.
6121         (CFLAGS-s_modff-ppc64.c): Likewise.
6123 2016-07-07  Andreas Schwab  <schwab@suse.de>
6125         [BZ #20263]
6126         * nptl/tst-robust10.c: New test.
6127         * nptl/Makefile (tests): Add tst-robust10.
6129 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
6131         [BZ #20263]
6132         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
6134 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6136         * sysdeps/s390/linkmap.h (struct link_map_machine):
6137         Remove member gotplt and add member jmprel.
6138         * sysdeps/s390/s390-32/dl-machine.h
6139         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
6140         instead of gotplt with &got[3].
6141         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
6142         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6144 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
6146         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
6148 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6150         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
6151         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
6152         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6153         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
6154         * libio/vtables.c (_IO_vtable_check)
6155         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6156         * libio/libioP.h (IO_set_accept_foreign_vtables)
6157         [!PTR_MANGLE]: Do not call PTR_MANGLE.
6159 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
6161         [BZ #20314]
6162         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
6163         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
6164         $(common-objpfx)cmath.
6165         ($(common-objpfx)cstdlib): New target.
6166         ($(common-objpfx)cmath): Likewise.
6168 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
6170         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
6172 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6174         [BZ #20327]
6175         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
6176         are not part of the string.
6178 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6180         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
6181         * nptl/tst-cancel4-common.h (fifoname): New variable.
6182         (fifofd): Likewise.
6183         (cl_fifo): New function.
6184         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
6185         SIGINT.
6186         (tf_open): Add early cancel test.
6188 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6190         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
6192 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
6194         * sysdeps/generic/ldsodefs.h
6195         (dl_symbol_visibility_binds_local_p): New inline function.
6196         * elf/dl-addr.c (determine_info): Treat hidden and internal
6197         symbols as local.
6198         * elf/dl-lookup.c (do_lookup_x): Likewise.
6199         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
6201 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
6203         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
6204         invalid exception for a sNaN input.
6205         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6206         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6207         (__nearbyint_vis3): Likewise
6208         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6209         (__nearbyintf_vis3): Likewise
6210         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
6211         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6212         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
6213         Likewise.
6214         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
6215         Likewise.
6217 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
6219         [BZ #20139]
6220         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
6221         (HAVE_AVX512DQ_ASM_SUPPORT): This.
6222         * sysdeps/x86_64/configure.ac: Require assembler from binutils
6223         2.24 or above.
6224         (HAVE_AVX512_ASM_SUPPORT): Removed.
6225         (HAVE_AVX512DQ_ASM_SUPPORT): New.
6226         * sysdeps/x86_64/configure: Regenerated.
6227         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
6228         check unconditional.
6229         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6230         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6231         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6232         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6233         Likewise.
6234         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6235         Likewise.
6236         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6237         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6238         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6239         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6240         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6241         Likewise.
6242         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6243         Likewise.
6244         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6245         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6246         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
6247         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
6248         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
6249         Likewise.
6250         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
6251         Likewise.
6252         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
6253         Likewise.
6254         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
6255         Likewise.
6256         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
6257         Likewise.
6258         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
6259         Likewise.
6260         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
6261         Likewise.
6262         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
6263         Likewise.
6264         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
6265         Likewise.
6266         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
6267         Likewise.
6268         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
6269         Likewise.
6271 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
6273         [BZ #20024]
6274         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
6275         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
6276         of this implementation of vector function.
6277         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6278         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6279         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6280         Likewise.
6281         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6282         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6283         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
6284         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
6285         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
6286         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
6287         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6288         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
6289         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
6290         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
6291         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
6292         for testing vector sincos with fixed ABI.
6293         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6294         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6295         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6296         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6297         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6298         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6299         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6300         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
6301         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
6302         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
6303         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
6304         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
6305         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
6306         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
6307         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6308         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6310 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6312         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
6314 2016-06-30  Anton Blanchard  <anton@samba.org>
6316         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6317         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6318         s_sinf-ppc64.
6319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
6320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6322         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6324 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6327         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6328         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
6329         e_expf-ppc64.
6330         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
6331         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
6332         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
6333         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
6335 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
6337         [BZ #20277]
6338         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
6339         when SHARED is defined.
6341 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6343         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
6344         (index_arch_Prefer_ERMS): Likewise.
6345         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6346         __memcpy_erms for Prefer_ERMS.
6347         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6348         (__memmove_erms): Enabled for libc.a.
6349         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
6350         __memmove_erms or Prefer_ERMS.
6351         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
6352         __mempcpy_erms for Prefer_ERMS.
6353         * sysdeps/x86_64/multiarch/memset.S (memset): Return
6354         __memset_erms for Prefer_ERMS.
6356 2016-06-30  Andreas Schwab  <schwab@suse.de>
6358         [BZ #20262]
6359         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
6360         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
6361         of memory.
6363 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
6365         [BZ #18645]
6366         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
6367         (test-extras): Add tst-cleanupx4aux.
6368         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
6369         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
6370         tst-cleanupx4aux.o.
6371         * nptl/tst-cleanupx4aux.c: New file.
6373 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6375         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6377 2016-06-29  Andreas Schwab  <schwab@suse.de>
6379         [BZ #20260]
6380         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
6381         address before the beginning of the string as an integer to avoid
6382         array-bounds warning.
6384 2016-06-28  Richard Henderson  <rth@redhat.com>
6386         * elf/elf.h (EM_BPF): New.
6387         (EM_NUM): Update.
6388         (R_BPF_NONE, R_BPF_MAP_FD): New.
6390         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
6391         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
6392         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
6393         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6394         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6395         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6396         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6397         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6398         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6399         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6400         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6401         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6402         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6403         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6404         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6405         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6406         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6407         (EM_NUM): Update.
6409 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
6411         [BZ #18960]
6412         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6413         Set _nl_current_LC_CATEGORY_used to two instead of one.
6415 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
6417         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
6418         (do_test): ... this.
6419         (TEST_FUNCTION): New macro.
6420          Include test-skeleton.c.
6421         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
6422         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
6424 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
6426         [BZ #15479]
6427         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
6428         floating-point environment rather than just control word.
6429         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6430         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
6431         floating-point environment, with "invalid" exceptions merged in,
6432         rather than just control word.
6433         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
6434         * math/libm-test.inc (trunc_test_data): Do not allow spurious
6435         "inexact" exceptions.
6437         [BZ #15479]
6438         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
6439         floating-point environment rather than just control word.
6440         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6441         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
6442         floating-point environment, with "invalid" exceptions merged in,
6443         rather than just control word.
6444         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
6445         * math/libm-test.inc (floor_test_data): Do not allow spurious
6446         "inexact" exceptions.
6448         [BZ #15479]
6449         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
6450         floating-point environment rather than just control word.
6451         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6452         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
6453         floating-point environment, with "invalid" exceptions merged in,
6454         rather than just control word.
6455         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
6456         * math/libm-test.inc (ceil_test_data): Do not allow spurious
6457         "inexact" exceptions.
6459 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
6461         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
6462         __libc_vfork.
6463         (__vfork) [IS_IN (libc)]: Remove alias.
6464         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
6465         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6466         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6468 2016-06-24  Torvald Riegel  <triegel@redhat.com>
6470         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
6471         of atomic_compare_and_exchange_bool_rel.
6472         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6473         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
6474         catomic_compare_and_exchange_bool_rel): Remove.
6475         * sysdeps/aarch64/atomic-machine.h
6476         (atomic_compare_and_exchange_bool_rel): Likewise.
6477         * sysdeps/alpha/atomic-machine.h
6478         (atomic_compare_and_exchange_bool_rel): Likewise.
6479         * sysdeps/arm/atomic-machine.h
6480         (atomic_compare_and_exchange_bool_rel): Likewise.
6481         * sysdeps/mips/atomic-machine.h
6482         (atomic_compare_and_exchange_bool_rel): Likewise.
6483         * sysdeps/microblaze/atomic-machine.h
6484         ( __arch_compare_and_exchange_bool_8_rel,
6485         __arch_compare_and_exchange_bool_16_rel): Likewise.
6486         * sysdeps/powerpc/atomic-machine.h
6487         ( __arch_compare_and_exchange_bool_8_rel,
6488         __arch_compare_and_exchange_bool_16_rel): Likewise.
6489         * sysdeps/powerpc/powerpc32/atomic-machine.h
6490         ( __arch_compare_and_exchange_bool_32_rel,
6491         __arch_compare_and_exchange_bool_64_rel): Likewise.
6492         * sysdeps/powerpc/powerpc64/atomic-machine.h
6493         ( __arch_compare_and_exchange_bool_32_rel,
6494         __arch_compare_and_exchange_bool_64_rel): Likewise.
6495         * sysdeps/tile/atomic-machine.h
6496         (atomic_compare_and_exchange_bool_rel): Likewise.
6498 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
6500         [BZ #20296]
6501         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
6502         when either argument is a NaN.
6503         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6504         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
6506         * math/libm-test.inc (snan_value_ld): New macro.
6507         (isgreater_test_data): Add sNaN tests.
6508         (isgreaterequal_test_data): Likewise.
6509         (isless_test_data): Likewise.
6510         (islessequal_test_data): Likewise.
6511         (islessgreater_test_data): Likewise.
6512         (isunordered_test_data): Likewise.
6513         (nextafter_test_data): Likewise.
6514         (nexttoward_test_data): Likewise.
6515         (remainder_test_data): Likewise.
6516         (remquo_test_data): Likewise.
6517         (significand_test_data): Likewise.
6518         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
6520 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6522         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
6523         environment macros are defined.
6524         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
6526 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6528         [BZ #20191]
6529         Implement vtable verification in libio.
6530         * Makerules (shlib.lds): Place __libc_IO_vtables section.
6531         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
6532         * debug/vdprintf_chk.c (__vdprintf_chk): Call
6533         _IO_new_file_init_internal instead of _IO_file_init.
6534         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
6535         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
6536         * libio/Makefile (routines): Add vtables.
6537         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
6538         (_IO_init): Remove, not for internal use.
6539         (_IO_init_internal): Declare, internal replacement for _IO_init.
6540         (_IO_file_init): Remove, not for internal use.
6541         (_IO_new_file_init): Remove, not for internal use.
6542         (_IO_new_file_init_internal): Declare, internal replacement for
6543         _IO_new_file_init.
6544         (_IO_old_file_init): Remove, not for internal use.
6545         (_IO_old_file_init_internal): Declare, internal replacement for
6546         _IO_old_file_init.
6547         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
6548         internal use.
6549         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
6550         Declare.
6551         (libio_vtable): New macro.
6552         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
6553         functions.
6554         * libio/fileops.c (_IO_new_file_init_internal): Rename from
6555         _IO_new_file_init.
6556         (_IO_new_file_init): New externally visible wrapper which disables
6557         vtable verification.
6558         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
6559         Define as vtables.
6560         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
6561         (_IO_init): New externally visible wrapper which disables
6562         vtable verification.
6563         * libio/iofdopen.c (_IO_new_fdopen): Call
6564         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
6565         comment.
6566         * libio/iofopen.c (__fopen_internal): Call
6567         _IO_new_file_init_internal instead of _IO_file_init.
6568         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
6569         Define as vtables.
6570         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
6571         _IO_new_file_init_internal instead of _IO_file_init.
6572         * libio/iopopen.c (_IO_new_popen): Likewise.
6573         (_IO_proc_jumps): Define as vtable.
6574         * libio/iovdprintf.c (_IO_vdprintf): Call
6575         _IO_new_file_init_internal instead of _IO_file_init.
6576         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
6577         (__open_memstream): Call _IO_init_internal instead of _IO_init.
6578         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
6579         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
6580         _IO_old_file_init.
6581         (_IO_old_file_init): New externally visible wrapper which disables
6582         vtable verification.
6583         (_IO_old_file_jumps): Define as vtable.
6584         * libio/oldiofdopen.c (_IO_old_fdopen): Call
6585         _IO_old_file_init_internal instead of _IO_old_file_init.
6586         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6587         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6588         (_IO_old_proc_jumps): Define as vtable.
6589         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
6590         Define as vtables.
6591         * libio/vtables.c: New file.
6592         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
6593         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
6594         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
6595         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
6596         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
6597         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
6598         instead of _IO_init.
6600 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6602         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
6604 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6606         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
6607         potentially unused.
6609 2016-06-22  Florian Weimer  <fweimer@redhat.com>
6611         * test-skeleton.c (write_message): New function.
6612         * malloc/tst-mallocfork2.c (write_message): Remove.
6613         * debug/tst-longjmp_chk2.c (write_indented): New function.
6614         (write_message): Remove.
6615         (stackoverflow_handler): Call write_indented.
6617 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
6619         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
6620         "inexact" exceptions after fnstenv.
6621         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6622         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6623         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6625 2015-06-22  Zack Weinberg  <zackw@panix.com>
6627         * sysdeps/generic/bits/hwcap.h: Moved to ...
6628         * bits/hwcap.h: Here.
6630 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
6632         * sysdeps/aarch64/memcpy.S (memcpy):
6633         Further tuning for performance.
6635 2016-06-21  Florian Weimer  <fweimer@redhat.com>
6637         [BZ #20284]
6638         * malloc/arena.c (reused_arena): Do not return NULL if we start
6639         out with a non-corrupted arena.
6641 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6643         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
6644         * misc/tst-preadvwritev.c: New file.
6645         * misc/tst-preadvwritev64.c: Likewise.
6646         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
6647         usage.
6648         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
6649         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
6650         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
6651         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
6653 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
6655         [BZ #19654]
6656         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6657         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
6658         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
6659         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
6660         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
6661         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
6662         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
6663         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
6664         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
6665         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
6666         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
6667         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
6668         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
6669         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
6670         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
6671         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
6672         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
6673         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
6674         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
6675         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
6676         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
6677         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
6678         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
6679         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
6680         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
6681         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
6683 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6685         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
6686         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
6688 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6690         * sysdeps/aarch64/memcpy.S (memcpy):
6691         Rewrite of optimized memcpy and memmove.
6692         * sysdeps/aarch64/memmove.S (memmove): Remove
6693         memmove code (merged into memcpy.S).
6695 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6697         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
6698         * sysdeps/generic/dl-dtv.h: New file.
6699         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6700         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
6701         (dtv_t): Remove.
6702         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6703         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
6704         (dtv_t): Remove.
6705         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6706         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
6707         (dtv_t): Remove.
6708         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6709         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
6710         (dtv_t): Remove.
6711         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6712         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
6713         (dtv_t): Remove.
6714         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6715         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
6716         (dtv_t): Remove.
6717         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6718         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
6719         (dtv_t): Remove.
6720         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
6721         (dtv_t): Remove.
6722         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6723         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
6724         (dtv_t): Remove.
6725         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6726         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
6727         (dtv_t): Remove.
6728         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6729         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
6730         (dtv_t): Remove.
6731         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6732         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
6733         (dtv_t): Remove.
6734         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6735         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
6736         (dtv_t): Remove.
6737         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6738         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
6739         (dtv_t): Remove.
6740         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6741         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
6742         (dtv_t): Remove.
6743         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6744         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
6745         (dtv_t): Remove.
6747 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6749         Revert symbol poisoning of  __malloc_initialize_hook.
6750         * include/stdc-predef.h (__malloc_initialize_hook): Remove
6751         poisoning.
6752         * malloc/Makefile: Remove un-poisoning.
6753         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
6754         instead of old__malloc_initialize_hook.
6755         * malloc/malloc-hooks.h: Likewise.
6756         * malloc/malloc.c: Likewise.
6757         * malloc/mcheck-init.c: Likewise.
6759 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
6761         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
6763 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
6765         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6766         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6767         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6768         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6770 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6772         * NEWS: Mention addition of nextup and nextdown.
6773         * manual/arith.texi: Document nextup and nextdown.
6774         * manual/libm-err-tab.pl: Add nextup and nextdown.
6775         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6776         * math/Versions (libm): Add GLIBC_2.24.
6777         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6778         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6779         Add new test.
6780         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6781         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6782         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6783         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6784         (nextup_test_data): Likewise.
6785         (nextdown_test_data): Likewise.
6786         * math/s_nextdown.c: New file.
6787         * math/s_nextdownf.c: Likewise.
6788         * math/s_nextdownl.c: Likewise.
6789         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6790         F(nextup): New function.
6791         F(nextdown): Likewise.
6792         * math/tgmath.h: Add nextup and nextdown.
6793         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6794         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6795         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6796         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6797         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6798         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6799         Add nextup and nextdown.
6800         (CFLAGS-nldbl-nextup.c): New variable.
6801         (CFLAGS-nldbl-nextdown.c): Likewise.
6802         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6803         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6804         * sysdeps/nacl/libm.abilist: Update.
6805         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6806         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6807         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6808         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6809         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6810         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6811         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6812         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6813         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6814         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6815         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6816         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6819         Likewise.
6820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6822         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6823         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6824         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6825         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6826         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6829         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6830         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6831         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6832         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6834 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6836         * manual/pattern.texi: Fix typos & grammar errors.
6838 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6840         * manual/search.texi: Fix typos & grammar errors.
6842 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6844         * manual/message.texi: Fix typos & grammar errors.
6846 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
6848         * manual/contrib.texi: Fix spelling typos.
6849         * manual/crypt.texi: Likewise.
6850         * manual/filesys.texi: Likewise.
6851         * manual/locale.texi: Likewise.
6852         * manual/message.texi: Likewise.
6853         * manual/nss.texi: Likewise.
6854         * manual/string.texi: Likewise.
6856 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6858         * manual/locale.texi: Fix typos & grammar errors.
6860 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6862         * manual/charset.texi: Fix typos & grammar errors.
6864 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6866         * manual/string.texi: Fix typos.
6868 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6870         * manual/ctype.texi: Fix typos.
6872 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6874         * manual/memory.texi: Fix various typos & grammar errors.
6876 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6878         [BZ #20255]
6879         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
6880         * math/libm-test.inc (fdim_test_data): Add another test.
6882         [BZ #6796]
6883         [BZ #20255]
6884         [BZ #20256]
6885         * math/s_fdim.c: Include <math_private.h>.
6886         (__fdim): Use math_narrow_eval on result.
6887         * math/s_fdimf.c: Include <math_private.h>.
6888         (__fdimf): Use math_narrow_eval on result.
6889         * sysdeps/i386/fpu/s_fdim.S: Remove file.
6890         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6891         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6892         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6893         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6894         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6895         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6896         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6897         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
6898         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
6899         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
6900         * math/libm-test.inc (fdim_test_data): Expect errno setting on
6901         overflow.  Add sNaN tests.
6903         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
6904         fpclassify.
6905         * math/s_fdimf.c (__fdimf): Likewise.
6906         * math/s_fdiml.c (__fdiml): Likewise.
6908 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6910         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6911         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
6912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6913         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6914         ifunc'ed strcasecmp/strncasecmp.
6915         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
6916         [EALIGN]: Removed.
6917         [END]: Likewise.
6918         [__strcasecmp]: Define instead of the above to control symbol name.
6919         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
6920         for __strcasecmp_power8.
6921         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
6922         for __strncasecmp_power8.
6923         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
6924         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
6925         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6926         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
6927         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
6928         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
6930 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
6932         [BZ #20252]
6933         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
6934         arguments when second argument is a NaN.
6935         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
6936         qNaN tests.
6938         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
6939         (conj_test_data): Likewise.
6940         (copysign_test_data): Likewise.
6941         (creal_test_data): Likewise.
6942         (fma_test_data): Likewise.
6943         (fmod_test_data): Likewise.
6945         [BZ #20250]
6946         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
6947         itself.
6948         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
6949         zero input to itself.
6950         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
6951         Likewise.
6952         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
6953         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
6954         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6955         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
6956         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
6958 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6960         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
6961         * nptl/tst-cancel4-common.c: New file.
6962         * nptl/tst-cancel4-common.h: Likewise.
6963         * nptl/tst-cancel4.c: Move common definitions to
6964         tst-cancel4-common.{c,h} file.
6965         * nptl/tst-cancel4_1.c: New test.
6966         * nptl/tst-cancel4_2.c: New test.
6968 2016-06-13  Florian Weimer  <fweimer@redhat.com>
6970         [BZ #20248]
6971         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
6972         (write_message): New function.
6973         (stackoverflow_handler): Call it instead of printf, to avoid
6974         excessive stack usage by printf.
6975         (do_test): Restore SIGSEGV, SIGBUS default handlers.
6977 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6979         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
6980         (prio_inherit_missing): Remove define.
6981         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6982         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6983         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
6984         Likewise.
6985         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6986         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6987         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6988         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6989         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6990         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6992 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6994         [BZ #19670]
6995         [BZ #19672]
6997         * io/test-lfs.c (do_prepare): Use xmalloc.
6998         * io/tst-fcntl.c (do_prepare): Likewise.
6999         * libio/tst-fopenloc.c (do_bz17916): Likewise.
7000         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
7001         * login/tst-utmp.c (do_prepare): Likewise.
7002         * posix/tst-exec.c (do_prepare): Likewise.
7003         * posix/tst-pathconf.c (prepare): Likewise.
7004         * posix/tst-spawn.c (do_prepare): Likewise.
7005         * posix/tst-truncate.c (do_prepare): Likewise.
7006         * rt/tst-aio.c (do_prepare): Likewise.
7007         * rt/tst-aio64.c (do_prepare): Likewise.
7009 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7011         [BZ #20237]
7012         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
7013         (get*ent): Set entidx to NULL during initialization.  If entidx is
7014         NULL, start iteration from the beginning.
7016 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7018         * malloc/malloc.c (musable): Return correct size for dumped fake
7019         mmapped chunk.
7021 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7023         [BZ #20222]
7024         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
7025         (_IO_cookie_write): Likewise.
7026         (_IO_cookie_seek): Likewise.
7027         (_IO_cookie_close): Likewise.
7028         (_IO_old_cookie_seek): Likewise.
7029         (set_callbacks): New function.
7030         (_IO_cookie_init): Call set_callbacks to copy callbacks.
7032 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
7034         * locale/programs/localedef.c (oldstyle_tables): Remove.
7035         * locale/programs/localedef.h (oldstyle_tables): Likewise.
7037 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
7039         [BZ #20240]
7040         * math/Makefile (CFLAGS-s_modf.c): New variable.
7041         (CFLAGS-s_modff.c): Likewise.
7042         (CFLAGS-s_modfl.c): Likewise.
7043         * math/libm-test.inc (modf_test_data): Add sNaN tests.
7045 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
7047         [BZ #20215]
7048         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
7049         [!__GNUC_PREREQ (3,2)]: Likewise.
7051 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7053         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
7054         (msghdr.msg_controllen): Likewise.
7055         (cmsghdr.cmsg_len): Likewise.
7056         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
7057         ptw-oldsendmsg.
7058         (CFLAGS-oldrecvmsg.c): Remove rule.
7059         (CFLAGS-oldsendmsg.c): Likewise.
7060         (CFLAGS-recvmsg.c): Add rule.
7061         (CFLAGS-sendmsg.c): Likewise.
7062         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
7063         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
7064         (CFLAGS-recvmsg.c): Remove rule.
7065         (CFLAGS-sendmsg.c): Likewise.
7066         (CFLAGS-oldrecvmsg.c): Likewise.
7067         (CFLAGS-oldsendmsg.c): Likewise.
7068         (CFLAGS-recvmmsg.c): Likewise.
7069         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
7070         to kernel defined interfaces.
7071         (msghdr.msg_controllen): Likewise.
7072         (cmsghdr.cmsg_len): Likewise.
7073         (msghdr.__glibc_reserved1): Remove member.
7074         (msghdr.__glibc_reserved2): Likewise.
7075         (cmsghdr.__glibc_reserved1): Likewise.
7076         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
7077         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
7078         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7079         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7080         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
7081         version.
7082         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7083         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
7084         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7085         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
7086         Remove recvmsg and sendmsg.
7087         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
7088         Likewise.
7089         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7090         Likewise.
7091         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7092         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7093         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7094         Likewise.
7095         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7096         Likewise.
7097         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
7098         [libc] (GLIBC_2.24): Likewise.
7099         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7100         Likewise.
7101         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7102         Likewise.
7103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7104         [libc] (GLIBC_2.24): Likewise.
7105         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7106         Likewise.
7107         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7108         Likewise.
7109         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7110         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7111         Likewise.
7112         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7113         Likewise.
7114         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7115         Likewise.
7116         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
7117         Likewise.
7118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
7119         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
7120         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
7121         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
7122         version for {recv,send,recm,sendm}msg.
7123         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7124         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7125         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7126         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7127         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7128         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7129         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7130         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7131         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7132         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7133         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7134         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7136         Likewise.
7137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7138         Likewise.
7139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7141         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7142         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7143         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7144         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7145         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7146         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7149         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7150         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7151         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7153 2016-06-10  Florian Weimer  <fweimer@redhat.com>
7155         [BZ #19564]
7156         Remove __malloc_initialize_hook from the API.
7157         * malloc/malloc.h (__malloc_initialize_hook): Remove.
7158         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
7159         #pragma GCC poison.
7160         * malloc/malloc-hooks.h: New file.
7161         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
7162         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
7163         (old__malloc_initialize_hook): Rename from
7164         __malloc_initialize_hook to evade poisoning.  Turn into compat
7165         symbol.
7166         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
7167         __malloc_initialize_hook.
7168         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
7169         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
7170         * manual/memory.texi (Hooks for Malloc): Remove
7171         __malloc_initialize_hook.  Adjust hook example.
7173 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
7175         [BZ #20235]
7176         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
7177         itself.
7178         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7179         * math/libm-test.inc (log2_test_data): Add sNaN tests.
7181         [BZ #20234]
7182         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
7183         infinity or NaN input to itself.
7185         [BZ #20233]
7186         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
7187         to itself.
7189         [BZ #20232]
7190         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
7191         itself.
7193 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7195         * sysdeps/x86_64/start.S (_start): Always indirect branch to
7196         __libc_start_main via GOT.
7198 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7200         * sysdeps/x86_64/memcopy.h: New file.
7201         * sysdeps/x86_64/wordcopy.c: Likewise.
7203 2016-06-09  Florian Weimer  <fweimer@redhat.com>
7205         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
7206         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
7207         <cstdlib>.
7208         (optimization_barrier): New.
7209         (do_test): Use it.  Call quick_exit in the global namespace.
7210         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
7211         instead of <cstdlib>, <thread>.
7212         (optimization_barrier): New.
7213         (non_main_thread): Adjust declaration.  Call optimization_barrier.
7214         Call quick_exit in the global namespace.
7215         (do_test): Call optimization_barrier.  Use pthread_create,
7216         pthread_join instead of std::thread.
7218 2016-06-09  Andreas Schwab  <schwab@suse.de>
7220         [BZ #19755]
7221         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
7222         new entries in auto-propagate mode.
7223         * nscd/grpcache.c (cache_addgr): Likewise.
7225 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7227         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
7228         New functions.
7229         (add_temp_file): Use them.
7231 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
7233         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
7235 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
7237         [BZ #20229]
7238         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
7239         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
7240         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
7242         [BZ #20228]
7243         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
7244         itself.
7245         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7246         * math/libm-test.inc (log10_test_data): Add sNaN tests.
7248         [BZ #20227]
7249         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
7250         itself.
7251         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7252         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7253         * math/libm-test.inc (log_test_data): Add sNaN tests.
7255         [BZ #20226]
7256         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
7257         itself.
7258         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7259         * math/libm-test.inc (exp_test_data): Add sNaN tests.
7260         (exp10_test_data): Likewise.
7261         (expm1_test_data): Likewise.
7263         [BZ #20225]
7264         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
7265         itself.
7266         * math/s_ldexpf.c (__ldexpf): Likewise.
7267         * math/s_ldexpl.c (__ldexpl): Likewise.
7268         * math/w_scalbln.c (__w_scalbln): Likewise.
7269         * math/w_scalblnf.c (__w_scalblnf): Likewise.
7270         * math/w_scalblnl.c (__w_scalblnl): Likewise.
7271         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
7272         (scalbln_test_data): Likewise.
7274         [BZ #20224]
7275         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
7276         argument to itself.
7277         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
7279 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7281         [BZ #19776]
7282         * sysdeps/x86_64/memcpy.S: Make it dummy.
7283         * sysdeps/x86_64/mempcpy.S: Likewise.
7284         * sysdeps/x86_64/memmove.S: New file.
7285         * sysdeps/x86_64/memmove_chk.S: Likewise.
7286         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7287         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7288         * sysdeps/x86_64/memmove.c: Removed.
7289         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7290         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7291         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
7292         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7293         Likewise.
7294         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7295         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7297         memcpy-sse2-unaligned, memmove-avx-unaligned,
7298         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
7299         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7300         (__libc_ifunc_impl_list): Replace
7301         __memmove_chk_avx512_unaligned_2 with
7302         __memmove_chk_avx512_unaligned.  Remove
7303         __memmove_chk_avx_unaligned_2.  Replace
7304         __memmove_chk_sse2_unaligned_2 with
7305         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
7306         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
7307         with __memmove_avx512_unaligned.  Replace
7308         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
7309         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
7310         with __memcpy_chk_avx512_unaligned.  Remove
7311         __memcpy_chk_avx_unaligned_2.  Replace
7312         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
7313         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
7314         Replace __memcpy_avx512_unaligned_2 with
7315         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
7316         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
7317         with __mempcpy_chk_avx512_unaligned.  Remove
7318         __mempcpy_chk_avx_unaligned_2.  Replace
7319         __mempcpy_chk_sse2_unaligned_2 with
7320         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
7321         Replace __mempcpy_avx512_unaligned_2 with
7322         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
7323         Replace __mempcpy_sse2_unaligned_2 with
7324         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
7325         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
7326         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
7327         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
7328         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
7329         (ENTRY): Removed.
7330         (END): Likewise.
7331         (ENTRY_CHK): Likewise.
7332         (libc_hidden_builtin_def): Likewise.
7333         Don't include ../memcpy.S.
7334         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
7335         __memcpy_chk_avx512_unaligned_erms and
7336         __memcpy_chk_avx512_unaligned.  Use
7337         __memcpy_chk_avx_unaligned_erms and
7338         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7339         Default to __memcpy_chk_sse2_unaligned.
7340         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7341         Change function suffix from unaligned_2 to unaligned.
7342         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
7343         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
7344         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
7345         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
7346         (ENTRY): Removed.
7347         (END): Likewise.
7348         (ENTRY_CHK): Likewise.
7349         (libc_hidden_builtin_def): Likewise.
7350         Don't include ../mempcpy.S.
7351         (mempcpy): New.  Add a weak alias.
7352         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
7353         __mempcpy_chk_avx512_unaligned_erms and
7354         __mempcpy_chk_avx512_unaligned.  Use
7355         __mempcpy_chk_avx_unaligned_erms and
7356         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7357         Default to __mempcpy_chk_sse2_unaligned.
7359 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7361         [BZ #19881]
7362         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
7363         into ...
7364         * sysdeps/x86_64/memset.S: This.
7365         (__bzero): Removed.
7366         (__memset_tail): Likewise.
7367         (__memset_chk): Likewise.
7368         (memset): Likewise.
7369         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
7370         defined.
7371         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
7372         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
7373         (__memset_zero_constant_len_parameter): Check SHARED instead of
7374         PIC.
7375         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7376         memset-avx2 and memset-sse2-unaligned-erms.
7377         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7378         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
7379         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
7380         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7381         (__bzero): Enabled.
7382         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
7383         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
7384         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
7385         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
7386         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7387         (memset): Removed.
7388         (__memset_chk): Likewise.
7389         (MEMSET_SYMBOL): New.
7390         (libc_hidden_builtin_def): Replace __memset_sse2 with
7391         __memset_sse2_unaligned.
7392         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
7393         __memset_chk_sse2 and __memset_chk_avx2 with
7394         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7395         Use __memset_chk_sse2_unaligned_erms or
7396         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
7397         __memset_chk_avx512_unaligned_erms and
7398         __memset_chk_avx512_unaligned.
7400 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7402         * math/gen-auto-libm-test.c (fp_format_desc): remove
7403         suffix member.
7404         (output_generic_value): Remove usage of suffix member,
7405         and the resulting unuse of the fp_format argument.
7406         (output_for_one_input_case): Remove unused fp_format
7407         parameter.
7409         * math/auto-libm-test-out: Regenerate.
7411         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7412         usage with TEST_COND_ibm128.
7413         (TEST_COND_flt_32): Remove.
7414         (TEST_COND_dbl_64): Remove.
7415         (TEST_COND_ldbl_96_intel): Remove.
7416         (TEST_COND_ldbl_96_m68k): Remove.
7417         (TEST_COND_ldbl_128): Remove.
7419 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7421         * auto-libm-test-in:
7422         Replace flt-32 usage with binary32.
7423         Replace dbl-64 usage with binary64.
7424         Replace ldbl-intel-96 usage with intel96.
7425         Replace ldbl-m68k-96 usage with m68k96.
7426         Replace ldbl-128ibm usage with ibm128.
7427         Replace ldbl-128 usage with binary128.
7429         * auto-libm-test-out: Regenerate.
7431 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7433         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
7434         (parse_ulps): Dynamically generate type name matching
7435         string from all_floats.
7436         (get_ulps): Generate the ulps as an array instead.
7437         (output_ulps): Dynamically compose the type based
7438         on the number of supported formats, and print
7439         the indices as type specific helper macros.
7441         * math/libm-test.inc: Remove comment about CHOOSE.
7442         (ulp_data): Generate the type in libm-test-ulps.h.
7443         (ULP_IDX): New macro.
7444         (find_ulps): Update usage of max_ulp.
7446         * math/test-double-vlen2.h (CHOOSE): Remove.
7447         * math/test-double-vlen4.h (CHOOSE): Likewise.
7448         * math/test-double-vlen8.h (CHOOSE): Likewise.
7449         * math/test-float.c (CHOOSE): Likewise.
7450         * math/test-float-finite.c (CHOOSE): Likewise.
7451         * math/test-double.c (CHOOSE): Likewise.
7452         * math/test-double-finite.c (CHOOSE): Likewise.
7453         * math/test-idouble.c (CHOOSE): Likewise.
7454         * math/test-ifloat.c (CHOOSE): Likewise.
7455         * math/test-ildoubl.c (CHOOSE): Likewise.
7456         * math/test-ldouble-finite.c (CHOOSE): Likewise.
7457         * math/test-ldouble.c (CHOOSE): Likewise.
7459         * math/test-float.h (TEST_FLOAT): Remove.
7460         * math/test-double.h (TEST_DOUBLE): Likewise.
7461         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
7463 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7465         * math/gen-libm-test.pl: (apply_lit): New subroutine.
7466         (parse_args): Strip C suffix from floating point literals
7467         typed with 'f' and wrap them with LIT().
7469         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
7470         (test_ff_f_data_nexttoward): Rename to
7471         (test_fj_f_data): New struct.
7472         (nexttoward_test_data): Relabel tests as
7473         TEST_fj_f instead of TEST_ff_f.
7475 2016-06-08  Florian Weimer  <fweimer@redhat.com>
7477         Emacs bug 23726.
7478         * malloc/malloc.c (dumped_main_arena_start): Update comment.
7479         (__libc_realloc): Correct size computation for dumped fake mmapped
7480         chunks.
7482 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
7484         [BZ #20219]
7485         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
7486         to itself.
7487         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
7489         [BZ #20218]
7490         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
7491         to itself.
7492         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
7494 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
7496         [BZ #20195]
7497         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
7498         check to ...
7499         (init_cpu_features): Here.
7501 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
7503         [BZ #20214]
7504         * sysdeps/unix/sysv/linux/bits/in.h
7505         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7506          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
7507         Define to 1.
7508         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7509          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
7510         Define to 0.
7511         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
7512         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
7514 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
7516         [BZ #20198]
7517         * stdlib/Makefile (tests): Add tst-quick_exit, and
7518         tst-thread-quick_exit.
7519         [ifeq ($(have-cxx-thread_local),yes)]
7520         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
7521         (CFLAGS-tst-thread-quick_exit.o): Likewise.
7522         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
7523         (LDLIBS-tst-thread-quick_exit): Likewise.
7524         [ifneq ($(have-cxx-thread_local),yes)]
7525         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
7526         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
7527         If run_dtors is true call __call_tls_dtors.
7528         (exit): Call __run_exit_handlers with run_dtors set to true.
7529         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
7530         definition.
7531         * stdlib/quick_exit.c (quick_exit): Remove function.
7532         (__new_quick_exit): New function.
7533         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
7534         function.
7535         * stdlib/tst-quick_exit.cc: New file.
7536         * stdlib/tst-thread-quick_exit.cc: New file.
7537         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
7538         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
7539         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
7540         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
7541         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
7542         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
7543         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
7544         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
7545         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
7546         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
7547         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
7548         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
7549         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
7550         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
7551         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
7552         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
7554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
7555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
7556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
7557         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
7558         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
7559         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
7560         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
7561         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
7562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
7563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
7564         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
7565         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
7566         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
7568 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7570         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
7571         a typo in comments.
7573 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7575         [BZ #20213]
7576         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
7577         argument to itself.
7578         * math/libm-test.inc (asin_test_data): Add sNaN tests.
7580 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7582         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
7583         required flags.
7584         (CFLAGS-pwritev64.c): Likewise.
7585         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
7586         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7587         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
7588         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7589         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
7590         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
7591         syscall from auto-generation.
7592         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
7593         [WORDSIZE == 64] (pwritev64): Remove macro.
7594         [!PWRITEV] (PWRITEV): Likewise.
7595         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7596         [!PWRITEV] (PWRITE): Likewise.
7597         [!PWRITEV] (OFF_T): Likewise.
7598         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7599         (LO_HI_LONG): Remove macro.
7600         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
7601         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
7602         (PWRITEV): Remove macro.
7603         (PWRITEV_REPLACEMENTE): Likewise.
7604         (PWRITE): Likewise.
7605         (OFF_T): Likewise.
7606         (pwritev64): New function.
7607         * nptl/tst-cancel4.c (tf_writev): Add test.
7609         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
7610         required flags.
7611         (CFLAGS-preadv64.c): Likewise.
7612         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
7613         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7614         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
7615         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
7616         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
7617         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
7618         syscall from auto-generation.
7619         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
7620         [WORDSIZE == 64] (preadv64): Remove macro.
7621         [!PREADV] (PREADV): Likewise.
7622         [!PREADV] (PREADV_REPLACEMENT): Likewise.
7623         [!PREADV] (PREAD): Likewise.
7624         [!PREADV] (OFF_T): Likewise.
7625         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
7626         (LO_HI_LONG): Remove macro.
7627         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
7628         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
7629         (PREADV): Remove macro.
7630         (PREADV_REPLACEMENTE): Likewise.
7631         (PREAD): Likewise.
7632         (OFF_T): Likewise.
7633         (preadv64): New function.
7634         * nptl/tst-cancel4.c (tf_preadv): Add test.
7636 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7638         [BZ #20212]
7639         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
7640         argument to itself.
7641         * math/libm-test.inc (acos_test_data): Add sNaN tests.
7643 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7645         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
7646         New symbol defined as libc_hidden_def.
7647         (strcasestr): Became a weak alias to __strcasestr.
7648         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
7649         according to multi-arch support.  Move __stpncpy hidden
7650         definition from here to...
7651         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
7652         symbol stpncpy.
7653         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
7654         libc_hidden_builtin_def.
7655         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
7656         memset symbol to use when multi-arch support is available.
7658 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7660         * dlfcn/tst-rec-dlopen.c: Include string.h.
7662 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7664         * manual/install.texi: Remove mention of --without-tls
7665         * INSTALL: Regenerate.
7667 2016-06-05  Florian Weimer  <fweimer@redhat.com>
7669         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
7670         Remove.
7671         (call_function, interposed_malloc_called): New variables.
7672         (malloc): New function.
7673         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
7674         and clear call_function as needed.
7676 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
7678         * include/wchar.h (__wmemset): Use __typeof.
7680 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
7682         * include/wchar.h (__wmemset): Declare function without typeof.
7684 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
7686         [BZ #20205]
7687         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
7688         exponent when incrementing negative subnormal with low mantissa
7689         word zero.
7690         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7691         Add another test.
7693 2016-06-03  Florian Weimer  <fweimer@redhat.com>
7695         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
7696         __wmemset instead of wmemset.
7698 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
7700         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
7701         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
7702         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
7703         __USE_KERNEL_IPV6_DEFS to 0.
7704         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
7705         Update comment.
7707 2016-06-01  Florian Weimer  <fweimer@redhat.com>
7709         [BZ #19861]
7710         Do not use IFUNC resolver with potentially unrelocated symbol.
7711         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
7712         (DEFINE_FORK): Remove macro and inline definition.
7713         (fork_alias): Renamed from fork_ifunc.
7714         (__fork_alias): Renamed from __fork_ifunc.
7716 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7718         [BZ 19653]
7719         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
7720         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
7722 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7724         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
7725         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
7726         i386-linux-gnu).
7727         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
7728         Set to no.
7729         * sysdeps/mach/hurd/configure: Refresh.
7731 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7733         [BZ #20178]
7734         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
7735         on failure instead of exit.
7737 2016-05-30  Roland McGrath  <roland@hack.frob.com>
7739         [BZ #3629]
7740         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
7741         of POSIX.1-2008.
7743 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7745         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
7746           Use PLT entry for calling _hurd_self_sigstate.
7748 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
7750         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
7751         available logical processors with SMT level type sharing L2
7752         cache for Intel processors.
7754 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7756         [BZ #20160]
7757         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
7758         argument to itself before returning the result.
7759         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7760         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7761         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7762         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7763         Likewise.
7764         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7765         Likewise.
7766         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7767         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7768         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7769         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7770         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7771         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7773         [BZ #20160]
7774         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7775         argument to itself before returning the result.
7776         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7777         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7778         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7779         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7780         Likewise.
7781         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7782         Likewise.
7783         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7784         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7785         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7786         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7787         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7788         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7790 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7792         * libm-test.inc: Replace usage of M_El with
7793         (lit_e): New macro.
7795 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7797         * libm-test.inc: Replace usage of M_PI_4l with
7798         (lit_pi_4_d): New macro.
7800 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7802         * libm-test.inc: Replace usage of M_PIl with
7803         (lit_pi): New macro.
7805 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7807         * libm-test.inc: Replace usage of M_PI2l with
7808         (lit_pi_2_d): New macro.
7810         * math/test-double.h (LITM): New macro.
7811         * math/test-float.h (LITM): Likewise.
7812         * math/test-ldouble.h (LITM): Likewise.
7814 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7816         * libm-test.inc (M_PI_34l): Rename to
7817         (lit_pi_3_m_4_d): New Macro.
7818         (M_PI_34_LOG10El): Rename to
7819         (lit_pi_3_m_4_ln10_m_d): New Macro.
7820         (M_PI2_LOG10El): Rename to
7821         (lit_pi_2_ln10_m_d):  New Macro.
7822         (M_PI4_LOG10El): Rename to
7823         (lit_pi_4_ln10_m_d):  New Macro.
7824         (M_PI_LOG10El): Rename to
7825         (lit_pi_ln10_d):  New Macro.
7827 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7829         [BZ #20157]
7830         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7831         determine whether to negate low half if [_ARCH_PPCGR], and integer
7832         comparison otherwise.
7833         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7834         determine whether to negate low half.
7836         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
7837         (NO_TEST_INLINE_DOUBLE): Likewise.
7838         (TEST_COND_x86_64): Likewise.
7839         (TEST_COND_x86): Likewise.
7840         (M_PI_6l): Likewise.
7842 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7844         * math/libm-test.inc:
7845         (TEST_FLOAT): Change usage to TEST_COND_binary32.
7846         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
7847         (TEST_LDOUBLE): Update usage to evaluate as true if
7848         the guarded tests match the property being tested.
7849         (LDBL_MAX_EXP): Change to MAX_EXP.
7850         (LDBL_MIN_EXP): Change to MIN_EXP.
7851         (LDBL_MANT_DIG): Change to MANT_DIG, except for
7852         nexttoward tests.
7854 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7856         * math/libm-test.inc:
7857         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
7858         (TYPE_MIN): Likewise.
7859         (TYPE_TRUE_MIN): Likewise.
7860         (TYPE_MAX): Likewise.
7861         (MIN_EXP): Likewise.
7862         (MAX_EXP): Likewise.
7863         (MANT_DIG): Likewise.
7865         (FSTR_MAX): New macro.
7866         (__CONCATX): Likewise.
7867         (QTYPE_STR): Likewise.
7868         (TEST_COND_binary32): Likewise.
7869         (TEST_COND_binary64): Likewise.
7870         (TEST_COND_binary128): Likewise.
7871         (TEST_COND_ibm128): Likewise.
7872         (TEST_COND_intel96): Likewise.
7873         (TEST_COND_m68k96): Likewise.
7875         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7876         (TEST_COND_dbl_64): Likewise.
7877         (TEST_COND_ldbl_96_intel): Likewise.
7878         (TEST_COND_ldbl_96_m68k): Likewise.
7879         (TEST_COND_ldbl_128): Likewise.
7880         (TEST_COND_ldbl_128ibm): Likewise.
7882         (plus_zero): Redefine using LIT macro.
7883         (minus_zero): Likewise.
7884         (plus_infty): Redefine as (INF).
7885         (minux_infty): Redefine as (-INF).
7886         (max_value): Redefine as TYPE_MAX.
7887         (min_value): Redefine as TYPE_MIN.
7888         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7890         (print_float): Refactor to use snprintf to convert FLOAT values
7891         to string. This brings it closer to dropin replacement of strtof
7892         for the TS 18661 defined types.
7893         (update_stats): Likewise.
7894         (print_complex_function_ulps): Likewise.
7895         (print_max_error): Likewise.
7896         (print_complex_max_error): Likewise.
7897         (check_float_internal): Likewise.
7899         * math/test-float.h (PREFIX): New macro.
7900         (LIT): Likewise.
7901         (TYPE_STR): Likewise.
7902         (FTOSTR): Likewise.
7904         * math/test-double.h (PREFIX): New macro.
7905         (LIT): Likewise.
7906         (TYPE_STR): Likewise.
7907         (FTOSTR): Likewise.
7909         * math/test-ldouble.h (PREFIX): New macro.
7910         (LIT): Likewise.
7911         (TYPE_STR): Likewise.
7912         (FTOSTR): Likewise.
7914 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7916         [BZ #20156]
7917         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
7918         to itself when zero or not finite.
7919         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
7920         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7921         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
7922         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7924 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
7926         [BZ #20153]
7927         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
7928         x * x + x for infinities and NaNs.
7930         [BZ #20151]
7931         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
7932         argument to itself before returning result.
7933         (__ieee754_y0l): Likewise.
7934         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7935         (__ieee754_y1l).
7937         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
7938         (atan_test_data): Likewise.
7939         (ceil_test_data): Likewise.
7940         (cos_test_data): Likewise.
7941         (cosh_test_data): Likewise.
7942         (erf_test_data): Likewise.
7943         (exp2_test_data): Likewise.
7944         (fabs_test_data): Likewise.
7945         (floor_test_data): Likewise.
7946         (ilogb_test_data): Likewise.
7947         (j0_test_data): Likewise.
7948         (j1_test_data): Likewise.
7949         (jn_test_data): Likewise.
7950         (lgamma_test_data): Likewise.
7951         (lrint_test_data): Likewise.
7952         (llrint_test_data): Likewise.
7953         (logb_test_data): Likewise.
7954         (lround_test_data): Likewise.
7955         (llround_test_data): Likewise.
7956         (nearbyint_test_data): Likewise.
7957         (rint_test_data): Likewise.
7958         (round_test_data): Likewise.
7959         (sin_test_data): Likewise.
7960         (sincos_test_data): Likewise.
7961         (sinh_test_data): Likewise.
7962         (sqrt_test_data): Likewise.
7963         (tan_test_data): Likewise.
7964         (tanh_test_data): Likewise.
7965         (tgamma_test_data): Likewise.
7966         (trunc_test_data): Likewise.
7967         (y0_test_data): Likewise.
7968         (y1_test_data): Likewise.
7969         (yn_test_data): Likewise.
7971         * math/libm-test.inc: Update comment about NaN testing.
7972         (TEST_SNAN): New macro.
7973         (snan_value): Likewise.
7974         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
7975         (fpclassify_test_data): Add sNaN tests.
7976         (isfinite_test_data): Likewise.
7977         (isinf_test_data): Likewise.
7978         (isnan_test_data): Likewise.
7979         (isnormal_test_data): Likewise.
7980         (issignaling_test_data): Likewise.
7981         (signbit_test_data): Likewise.
7982         * math/gen-libm-test.pl (%beautify): Add snan_value.
7983         (show_exceptions): Add argument $test_snan.
7984         (parse_args): Handle snan_value as non-finite.  Update call to
7985         show_exceptions.
7986         * math/Makefile (libm-test-no-inline-cflags): Add
7987         -fsignaling-nans.
7989 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7991         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
7992         (CFLAGS-oldsendmsg.c): Add rule.
7993         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7994         Correct recvmsg symbol name.
7995         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
7996         Likewise.
7998 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8000         * sysdeps/unix/sysv/linux/Makefile
8001         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
8002         oldsendmmsg.
8003         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
8004         sendmmsg.
8005         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8006         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8007         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8008         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8010         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8011         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8013         Likewise.
8014         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8015         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
8016         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8017         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
8018         iovlen and controllen fields to adjust to POSIX specification.
8019         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8021         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
8022         and change to correct expected type.
8023         (msghdr.msg_controllen): Likewise.
8024         (cmsghdr.cmsg_len): Likewise.
8025         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
8026         expected POSIX assumption about the size.
8027         (msghdr.msg_controllen): Likewise.
8028         (msghdr.__glibc_reserved1): Likewise.
8029         (msghdr.__glibc_reserved2): Likewise.
8030         (cmsghdr.cmsg_len): Likewise.
8031         (cmsghdr.__glibc_reserved1): Likewise.
8032         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
8033         Add ptw-oldrecvmsg and ptw-oldsendmsg.
8034         (CFLAGS-sendmsg.c): Remove rule.
8035         (CFLAGS-recvmsg.c): Likewise.
8036         (CFLAGS-oldsendmsg.c): Add rule.
8037         (CFLAGS-oldrecvmsg.c): Likewise.
8038         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
8039         recvmsg and sendmsg.
8040         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
8041         Likewise.
8042         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
8043         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
8044         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8045         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
8046         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8047         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8048         Likewise.
8049         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8050         Likewise.
8051         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
8052         Likewise.
8053         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
8054         Likewise.
8055         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8056         Likewise.
8057         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8058         Likewise.
8059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
8060         (GLIBC_2.24): Likewise.
8061         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8062         Likewise.
8063         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8064         Likewise.
8065         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8066         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8067         Likewise.
8068         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8069         Likewise.
8070         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8071         Likewise.
8072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
8073         (GLIBC_2.24): Likewise.
8074         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
8075         Likewise.
8076         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
8077         Likewise.
8078         * sysdeps/unix/sysv/linux/Makefile
8079         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
8080         (CFLAGS-sendmsg.c): Add rule.
8081         (CFLAGS-recvmsg.c): Likewise.
8082         (CFLAGS-oldsendmsg.c): Likewise.
8083         (CFLAGS-oldrecvmsg.c): Likewise.
8084         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
8085         initialization.
8086         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8087         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8088         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
8089         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8090         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
8091         iovlen and controllen fields to adjust to POSIX specification.
8092         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
8093         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
8094         added recvmsg and sendmsg.
8095         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8096         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8097         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8098         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8099         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8100         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8101         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8102         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8103         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8104         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8105         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8106         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8108         Likewise.
8109         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8111         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8112         Likewise.
8113         Likewise.
8114         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8115         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8116         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8117         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8118         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8119         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8121         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8123         Likewise.
8124         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8125         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8127         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
8128         from auto-generation.
8129         (sendmsg): Likewise.
8130         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
8131         (sendmsg): Likewise.
8132         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
8133         (sendmsg): Likewise.
8134         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
8135         (sendmsg): Likewise.
8136         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
8137         (sendmsg): Likewise.
8138         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
8139         (sendmsg): Likewise.
8140         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
8141         Likewise.
8142         (sendmsg): Likewise.
8143         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
8144         (sendmsg): Likewise.
8145         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8146         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8147         Remove.
8148         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8149         Likewise.
8150         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8151         Undefine.
8152         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8153         Likewise.
8154         * sysdeps/unix/sysv/linux/kernel-features.h
8155         (__ASSUME_SENDMSG_SYSCALL): Define.
8156         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8157         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8158         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8159         Remove.
8160         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8161         Likewise.
8162         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8163         Undefine.
8164         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8165         Likewise.
8166         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8167         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8168         Remove.
8169         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8170         Likewise.
8171         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8172         Undefine.
8173         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8174         Likewise.
8175         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8176         (__ASSUME_SENDMSG_SYSCALL): Undefine.
8177         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8178         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8179         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8180         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8181         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8182         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8183         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8185 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8187         * stdlib/gen-tst-strtod-round.c: Add backslash to
8188         compile command in comment.
8189         (printfp): Remove the literal suffix, and define an infinite
8190         value as INF to avoid expansion clash with INFINITY.
8191         (round_str): Remove the literal suffix.
8192         (round_for_all): Likewise, remove the now duplicate ldbl-64
8193         entry, and remove some magic constants.
8195         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
8196         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
8197         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
8198         (_CONCAT): New macro.
8199         (CONCAT): Likewise.
8200         (CHOOSE_ld): Likewise.
8201         (CHOOSE_f): Likewise.
8202         (CHOOSE_d): Likewise.
8203         (FTYPE_MEMBER): Likewise.
8204         (BOOL_MEMBER): Likewise.
8205         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
8206         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
8207         (_XNTRY): Likewise.
8208         (XNTRY): Likewise.
8209         (_ENTRY): Likewise.
8210         (ENTRY): Likewise.
8211         (test_exactness): Generate members via macro.
8212         (test_results): Likewise.
8213         (test): Update members.
8214         (TEST): Redefine using new macros.
8215         (INF): New macro.
8216         (fetestmodes): New structure.
8217         (do_test): Refactor to be type generic.
8218         (test_in_one_mode): Refactor duplicate code into
8219         (GEN_ONE_TEST): New macro.
8221         * stdlib/tst-strtod-round-data.h: Regenerate.
8223         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
8224         Extend to pass additional arbitrary parameters to
8225         generators.
8227 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
8229         [BZ #15479]
8230         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
8231         floating-point state after first floating-point operation on
8232         input.  Restore full floating-point state instead of just rounding
8233         mode.
8234         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8235         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8236         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8237         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8238         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8240         [BZ #15479]
8241         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
8242         floating-point state after first floating-point operation on
8243         input.  Restore full floating-point state instead of just rounding
8244         mode.
8245         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8246         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8247         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8248         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8249         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8251 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8253         [BZ #19727]
8254         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
8255         valid high surrogate.
8256         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
8257         of an utf16 surrogate.
8258         * iconv/gconv_simple.c (BODY): Likewise.
8259         * iconvdata/bug-iconv12.c: New file.
8260         * iconvdata/Makefile (tests): Add bug-iconv12.
8262 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8264         [BZ #19726]
8265         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
8266         outptrp in case of an illegal input.
8267         * iconv/tst-iconv6.c: New file.
8268         * iconv/Makefile (tests): Add tst-iconv6.
8270 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8272         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
8273         an error in case of a value in range of an utf16 low surrogate.
8275 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8277         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
8278         an error in case of a value in range of an utf16 low surrogate.
8280 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8282         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
8283         Move to ...
8284         * sysdeps/s390/Makefile: ... here.
8285         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
8286         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8287         (BRANCH_ON_COUNT): New define.
8288         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
8289         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
8290         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
8291         run on s390-32, too.
8292         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
8293         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
8294         run on s390-32, too.
8295         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
8296         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
8297         run on s390-32, too.
8299 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8301         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
8302         etf3eh or new vector loop-variant.
8304 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8306         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
8307         etf3eh or new vector loop-variant.
8309 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8311         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
8312         or new vector loop-variant.
8314 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8316         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
8317         Rename to TR_LOOP and usage of tr instead of troo instruction.
8319 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8321         * sysdeps/s390/multiarch/gconv_simple.c: New File.
8322         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
8324 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8326         * sysdeps/s390/multiarch/8bit-generic.c: New File.
8327         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
8328         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
8329         New override define.
8330         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
8332 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8334         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
8335         * sysdeps/s390/configure.ac: Add test for S390 vector register
8336         support in gcc.
8337         * sysdeps/s390/configure: Regenerated.
8339 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8341         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
8342         Install file from $(objpfx)gconv-modules.
8343         ($(objpfx)gconv-modules): Concatenate architecture specific file
8344         in variable sysdeps-gconv-modules and gconv-modules in src dir.
8345         * sysdeps/s390/gconv-modules: New file.
8346         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
8347         Deleted.
8348         ($(objpfx)gconv-modules-s390): Deleted.
8349         (sysdeps-gconv-modules): New variable.
8351 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8353         [BZ #15479]
8354         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
8355         of immediate operand to rounding instruction.
8356         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
8357         Likewise.
8358         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
8359         Likewise.
8360         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
8361         Likewise.
8363 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8365         * math/libm-test.inc (MIN_EXP): Directly define as
8366         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
8368 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8370         * math/libm-test.inc (MANT_DIG): Directly define as
8371         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
8373 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8375         * stdlib/gen-tst-strtod-round.c (main):
8376           Change usage to more closely match the generated
8377           output.  Add usage and compilation instructions.
8378           (string_to_fp): Add and use FILE* parameter as
8379           output target.
8380           (print_fp): Likewise.
8381           (round_str): Likewise.
8382           (round_for_all): Likewise.
8383         * stdlib/tst-strtod-round.c (tests): Move into
8384         * stdlib/tst-strtod-round-data.h: New file.
8386 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8388         [BZ #15479]
8389         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
8390         (__round): Do not force "inexact" exception.
8391         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
8392         variable.
8393         (__round): Do not force "inexact" exception.
8394         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8395         (__roundf): Do not force "inexact" exception.
8396         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8397         (__roundl): Do not force "inexact" exception.
8398         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8399         (__roundl): Do not force "inexact" exception.
8400         * math/libm-test.inc (round_test_data): Do not allow spurious
8401         "inexact" exceptions.
8403         [BZ #15479]
8404         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8405         exception in comment.
8406         (huge): Remove variable.
8407         (__floor): Do not force "inexact" exception.
8408         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8409         "inexact" exception in comment.
8410         (huge): Remove variable.
8411         (__floor): Do not force "inexact" exception.
8412         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8413         exception in comment.
8414         (huge): Remove variable.
8415         (__floorf): Do not force "inexact" exception.
8416         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8417         exception in comment.
8418         (huge): Remove variable.
8419         (__floorl): Do not force "inexact" exception.
8421         [BZ #15479]
8422         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
8423         exception in comment.
8424         (huge): Remove variable.
8425         (__ceil): Do not force "inexact" exception.
8426         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
8427         "inexact" exception in comment.
8428         (huge): Remove variable.
8429         (__ceil): Do not force "inexact" exception.
8430         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
8431         (__ceilf): Do not force "inexact" exception.
8432         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
8433         exception in comment.
8434         (huge): Remove variable.
8435         (__ceill): Do not force "inexact" exception.
8437 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8439         * config.h.in (BIND_NOW): New.
8440         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
8441         * configure: Regenerated.
8442         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
8443         indirect branch via the GOT slot.
8445 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8447         [BZ #19765]
8448         * sysdeps/s390/mempcpy.S: New File.
8449         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8450         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
8451         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8452         Add mempcpy variants.
8453         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
8454         (memcpy): Adjust to be usable from mempcpy entry point.
8455         (__memcpy_mvcle): Likewise.
8456         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8457         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
8458         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
8459         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
8460         (__memcpy_z10): Likewise.
8461         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8463 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8465         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
8466         Remove __GI_ symbol.
8467         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
8468         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
8469         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8470         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8471         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
8472         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
8474 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8476         * sysdeps/s390/s390-64/memcpy.S (memcpy):
8477         Use cghi instead of chi to compare 64bit value.
8479 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8481         * sysdeps/s390/s390-32/memcpy.S (memcpy):
8482         Jump to 1MB check before executing mvc-loop.
8484 2016-05-24  Florian Weimer  <fweimer@redhat.com>
8486         [BZ #6527]
8487         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
8488         unconditionally.
8489         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8491 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8493         * stdlib/tst-strtod6.c (do_test): Use new type generic
8494         invocation of the test function.
8495         (test): Refactor into ...
8496         (TEST_STRTOD): New macro base function.
8498 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8500         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
8501         (TEST_STRTOD): New macro.
8502         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
8504 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8506         * stdlib/tst-strtod6.c (do_test): Use new type generic
8507         invocation of the test function.
8508         (test): Refactor into ...
8509         (TEST_STRTOD): New macro base function.
8511 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8513         CVE-2016-4429
8514         [BZ #20112]
8515         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
8516         payload.
8518 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8520         [BZ #20111]
8521         * bits/sockaddr.h (_SS_SIZE): Define.
8522         * bits/socket.h (_SS_SIZE): Remove.
8523         (_SS_PADSIZE): Adjust to account for all padding.
8524         (struct sockaddr_storage): Update comment.  Avoid implicit
8525         padding.
8526         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
8527         (_SS_PADSIZE): Adjust to account for all padding.
8528         (struct sockaddr_storage): Update comment.  Avoid implicit
8529         padding.
8530         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
8531         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
8532         (_SS_PADSIZE): Adjust to account for all padding.
8533         (struct sockaddr_storage): Update comment.  Avoid implicit
8534         padding.
8535         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
8536         __SS_SIZE is 126 in this version.
8537         * inet/tst-sockaddr.c: New file.
8538         * inet/Makefile (tests): Add tst-sockaddr.c
8539         (tst-sockaddr.c): Compile with non-strict aliasing.
8541 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
8543         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
8544         [XPG3 || XPG4].
8545         (NL_ARGMAX): Also expect for [XPG3].
8546         (NL_LANGMAX): Likewise.
8547         (NL_MSGMAX): Likewise.
8548         (NL_NMAX): Likewise.
8549         (NL_SETMAX): Likewise.
8550         (NL_TEXTMAX): Likewise.
8551         (NZERO): Likewise.
8552         (TMP_MAX): Likewise.
8553         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
8554         variable.
8556         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
8557         (PF_MAX): Update value.
8558         (AF_KCM): New macro.
8559         (SOL_NETBEUI): Likewise.
8560         (SOL_LLC): Likewise.
8561         (SOL_DCCP): Likewise.
8562         (SOL_NETLINK): Likewise.
8563         (SOL_TIPC): Likewise.
8564         (SOL_RXRPC): Likewise.
8565         (SOL_PPPOL2TP): Likewise.
8566         (SOL_BLUETOOTH): Likewise.
8567         (SOL_PNPIPE): Likewise.
8568         (SOL_RDS): Likewise.
8569         (SOL_IUCV): Likewise.
8570         (SOL_CAIF): Likewise.
8571         (SOL_ALG): Likewise.
8572         (SOL_NFC): Likewise.
8573         (SOL_KCM): Likewise.
8574         (MSG_BATCH): New enum value and macro.
8576 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
8578         [BZ #18185]
8579         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
8580         sharing L2 cache to 2 for Knights Landing.
8582 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
8584         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
8585         (FTW_DP): Do not expect for [XPG3 || XPG4].
8586         (FTW_SL): Do not expect for [XPG3].
8587         (FTW_SLN): Likewise.
8588         (FTW_PHYS): Likewise.
8589         (FTW_MOUNT): Likewise.
8590         (FTW_DEPTH): Likewise.
8591         (FTW_CHDIR): Likewise.
8592         (nftw): Likewise.
8593         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
8594         variable.
8596 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8598         * manual/errno.texi: Fix various typos & grammar errors.
8600 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8602         * manual/intro.texi: Fix duplicated typo.
8604 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8606         [BZ #13304]
8607         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
8608         <float.h>, <math_private.h> and <stdlib.h>.
8609         (add_split): New function.
8610         (mul_split): Likewise.
8611         (ext_val): New typedef.
8612         (store_ext_val): New function.
8613         (mul_ext_val): New function.
8614         (compare): New function.
8615         (add_split_ext): New function.
8616         (__fmal): After checking for Inf, NaN and zero, compute result as
8617         an exact sum of scaled double values in round-to-nearest before
8618         adding those up and adjusting for other rounding modes.
8619         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
8620         tests of fma.
8621         * math/auto-libm-test-out: Regenerated.
8623 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8625         [BZ #20119]
8626         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
8627         processor level type mask for CPUID with EAX == 11.
8629 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8631         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
8632         logical threads if the HTT bit is 0.
8633         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
8634         (index_cpu_HTT): Likewise.
8635         (reg_HTT): Likewise.
8637 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8639         [BZ #20115]
8640         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
8641         Remove alignments on jump targets.
8643 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8645         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
8646         (getpwent): Likewise.
8647         (setpwent): Likewise.
8648         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
8649         variable.
8651         * conform/data/search.h-data (insque): Do not expect for [XPG3].
8652         (remque): Likewise.
8653         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
8654         variable.
8656 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8658         * math/libm-test.inc: Update comment not to refer to signs of NaNs
8659         not being tested.
8661 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8663         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8664         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
8665         call.
8666         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8667         (__condvar_cleanup1): Likewise.
8669 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8671         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
8672         New
8673         (__pthread_unwind): Renamed to ...
8674         (PTHREAD_UNWIND): This.
8675         (__pthread_enable_asynccancel): Replace
8676         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
8678 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8680         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
8681         (CLONE_NEWCGROUP): New macro.
8683         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
8684         (Q_GETNEXTQUOTA): New macro.
8686 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8688         [BZ #19907]
8689         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
8690         buffer updated by the previous run.
8691         * string/test-memcpy.c (do_one_test): Likewise.
8692         * benchtests/bench-memmove.c (do_one_test): Add a comment.
8693         * string/test-memmove.c (do_one_test): Likewise.
8695 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
8697         [BZ #20094]
8698         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
8699         not [__USE_XOPEN].
8700         (unlockpt): Likewise.
8701         (ptsname): Likewise.
8702         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
8703         variable.
8705         [BZ #20076]
8706         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
8707         instead of [__USE_UNIX98].
8708         (S_ISSOCK): Likewise.
8709         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
8710         variable.
8712         [BZ #20074]
8713         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
8714         [__USE_POSIX].
8715         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
8716         variable.
8718         [BZ #20051]
8719         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
8720         (ttyslot): Do not declare.
8721         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
8722         (ttyslot): New prototype.
8723         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
8724         variable.
8725         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8727 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8729         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
8731 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8733         Fix race condition in tst-mallocfork2, use fewer resources.
8734         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
8735         to current process group.
8736         (signal_sender): Yield in the non-sleeping case.
8738 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
8740         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
8741         (ecvt): Likewise.
8742         (fcvt): Likewise.
8743         (gcvt): Likewise.
8744         (getsubopt): Likewise.
8745         (grantpt): Likewise.
8746         (initstate): Likewise.
8747         (l64a): Likewise.
8748         (mktemp): Likewise.
8749         (mkstemp): Likewise.
8750         (ptsname): Likewise.
8751         (random): Likewise.
8752         (realpath): Likewise.
8753         (setstate): Likewise.
8754         (srandom): Likewise.
8755         (ttyslot): Likewise.
8756         (unlockpt): Likewise.
8757         (valloc): Likewise.
8759         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
8760         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
8761         variable.
8763 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8765         [BZ #20072]
8766         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8767         init_cpu_features only if SHARED is defined.
8768         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8770 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8772         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8773         non-inclusive caches on Intel processors.
8775 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8777         * malloc/malloc.c (dumped_main_arena_start)
8778         (dumped_main_arena_end): New variables.
8779         (DUMPED_MAIN_ARENA_CHUNK): New macro.
8780         (do_check_chunk): Skip dumped fake mmapped chunks.
8781         (munmap_chunk): Likewise.
8782         (__libc_free): Do not adjust statistics for fake mmapped chunks.
8783         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
8784         mmapped chunks.
8785         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8786         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
8787         and dumped_main_arena_end to cover the dumped heap.
8789 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
8791         * conform/data/time.h-data (getdate_err): Do not expect for
8792         [XPG3].
8793         (getdate): Likewise.
8794         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8795         variable.
8797         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8798         (F_ULOCK): Likewise.
8799         (F_TEST): Likewise.
8800         (F_TLOCK): Likewise.
8801         (useconds_t): Likewise.
8802         (intptr_t): Do not expect for [XPG3] or [XPG4].
8803         (brk): Do not expect for [XPG3]
8804         (fchown): Likewise.
8805         (fchdir): Likewise.
8806         (ftruncate): Likewise.
8807         (getdtablesize): Likewise.
8808         (gethostid): Likewise.
8809         (getpagesize): Likewise.
8810         (getpgid): Likewise.
8811         (getsid): Likewise.
8812         (getwd): Likewise.
8813         (lchown): Likewise.
8814         (lockf): Likewise.
8815         (readlink): Likewise.
8816         (sbrk): Likewise.
8817         (setpgrp): Likewise.
8818         (setregid): Likewise.
8819         (setreuid): Likewise.
8820         (symlink): Likewise.
8821         (sync): Likewise.
8822         (truncate): Likewise.
8823         (ualarm): Likewise.
8824         (usleep): Likewise.
8825         (vfork): Likewise.
8826         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8827         variable.
8829         [BZ #20054]
8830         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8831         not [__USE_UNIX98].
8832         * conform/data/unistd.h-data (gethostname): Do not expect for
8833         [XPG3].
8835         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8836         [!POSIX] (S_IFBLK): Likewise.
8837         [!POSIX] (S_IFCHR): Likewise.
8838         [!POSIX] (S_IFIFO): Likewise.
8839         [!POSIX] (S_IFREG): Likewise.
8840         [!POSIX] (S_IFDIR): Likewise.
8841         [!POSIX] (S_IFLNK): Likewise.
8842         [!POSIX] (S_IFSOCK): Likewise.
8843         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
8844         variable.
8845         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8847 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
8849         * sysdeps/aarch64/memset.S (__memset):
8850         Rewrite of optimized memset.
8852 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8854         [BZ #19703]
8855         Partially async-signal-safe fork for single-threaded processes.
8856         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
8857         variable.  Do not acquire and reset/release malloc and libio locks
8858         in single-threaded processes.
8859         * malloc/tst-mallocfork2.c: New file.
8860         * malloc/Makefile (tests): Add it.
8862 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8864         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8865         argument.  Use scratch buffer instead of extend_alloca.
8866         (gethosts): Use scratch buffer instead of extend_alloca.
8867         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
8868         extend_alloca.
8869         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8871 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8873         [BZ #20055]
8874         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8875         instead of [__USE_UNIX98].
8876         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8877         [__USE_UNIX98].
8878         * conform/data/termios.h-data (tcgetsid): Do not expect for
8879         [XPG3].
8880         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8881         variable.
8882         (test-xfail-XPG4/termios.h/conform): Likewise.
8884 2016-05-11  Florian Weimer  <fweimer@redhat.com>
8886         Do not use mcheck in localedef.
8887         * locale/programs/localedef.c (turn_on_mcheck)
8888         (__malloc_initialize_hook): Remove.
8890 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8892         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8893         * sysdeps/s390/s390-64/Makefile: Likewise.
8895 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8897         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
8898         Remove ifunc-defines.sym.
8899         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
8900         Likewise.
8901         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
8902         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8903         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
8904         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
8905         rtld-global-offsets.sym.
8906         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
8907         * sysdeps/x86/cpu-features-offsets.sym: This.
8908         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
8909         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
8911 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
8913         [BZ #20073]
8914         * io/sys/stat.h (fchmod): Declare for
8915         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
8916         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
8917         variable.
8919         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
8920         [XPG3] (S_IFSOCK): Likewise.
8921         [XPG3] (S_ISVTX): Likewise.
8922         [XPG3] (S_ISLNK): Likewise.
8923         [XPG3] (S_ISSOCK): Likewise.
8924         [XPG3] (fchmod): Likewise.
8925         [XPG3] (lstat): Likewise.
8926         [XPG3] (mknod): Likewise.
8928         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
8929         [XPG3].  Expect type long and XFAIL for [XPG4].
8930         (st_blocks): Likewise.
8932         [BZ #20044]
8933         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
8934         (pthread_atfork): New prototype.
8935         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
8936         variable.
8938         [BZ #20043]
8939         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
8940         prototype.
8942 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8944         [BZ #20017]
8945         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
8946         gmtime.
8948 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8950         [BZ #19994]
8951         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
8952         flag in _res.options.
8954 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
8956         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
8957         [XPG3 || XPG4].
8958         (blksize_t): Likewise.
8959         (clockid_t): Likewise.
8960         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
8961         variable.
8962         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8964 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8966         * sysdeps/unix/sysv/linux/s390/init-first.c:
8967         Add VDSO_SYMBOL(getcpu).
8968         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
8969         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
8970         Add VDSO_SYMBOL(getcpu).
8971         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
8972         New define HAVE_GETCPU_VSYSCALL.
8973         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8975 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
8977         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
8978         instead of <sysdeps/x86_64/cacheinfo.c>.
8979         * sysdeps/x86_64/cacheinfo.c: Moved to ...
8980         * sysdeps/x86/cacheinfo.c: Here.
8982 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8984         * malloc/malloc-internal.h: Adjust header file guard.
8986 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8988         [BZ #19787]
8989         * inet/getnameinfo.c (check_sprintf_result): New function.
8990         (CHECKED_SNPRINTF): New macro.
8991         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
8992         to the host buffer.
8993         (gni_host_local): Use checked_copy to copy the host name.
8994         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
8995         (gni_serv_local): Use checked_copy to copy the service name.
8996         (getnameinfo): Remove unnecessary truncation of result buffers.
8998 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9000         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
9001         in case of inet_ntop failure.
9003 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9005         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
9006         avoid long lines.
9007         (gni_host_inet_numeric): Likewise.  Reduce scope of local
9008         variables.
9009         (gni_host_inet, gni_host_local): Add comment.
9010         (gni_host): Add comment.  Use temporary to avoid long lines.
9012 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9014         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
9015         registers specifiers where general purpose registers specifiers should
9016         have been used.
9018 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9020         [BZ #19779]
9021         CVE-2016-1234
9022         Avoid copying names of directory entries.
9023         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
9024         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
9025         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
9026         (struct readdir_result): New type.
9027         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
9028         (GL_READDIR): New macros.
9029         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
9030         (convert_dirent, convert_dirent64): New functions.
9031         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
9032         convert_dirent64.  Adjust references to the readdir result.
9033         * sysdeps/unix/sysv/linux/i386/glob64.c:
9034         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
9035         * posix/bug-glob2.c (LONG_NAME): Define.
9036         (filesystem): Add LONG_NAME.
9037         (my_DIR): Increase the size of room_for_dirent.
9039 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
9041         [BZ #20041]
9042         * misc/sys/select.h (__need_timespec): Only define if
9043         [__USE_XOPEN2K].
9044         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
9045         variable.
9046         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9047         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9048         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9050 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9051             Segher Boessenkool  <segher@gcc.gnu.org>
9053         [BZ #20004]
9054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
9055         (__novec_swapcontext): Add missing load.
9057 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
9059         [BZ #20023]
9060         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
9061         <time.h>.
9062         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
9063         variable.
9064         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9066 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
9069         flags CLONE_VM compare.
9071 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9073         [BZ #20031]
9074         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
9075         completely empty.
9077 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9079         [BZ #19573]
9080         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
9081         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
9082         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
9083         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
9084         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
9085         (hesiod_free_list): Mark as hidden.
9086         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
9087         res_set, res_get.
9088         * hesiod/hesiod.c: Remove unnecessary forward declarations.
9089         (init, __hesiod_res_get, __hesiod_res_set): Remove.
9090         (hesiod_init): Remove obsolete res_ninit call.
9091         (hesiod_end): Do not free resolver state.  Do not invoke callback.
9092         (hesiod_bind): Do not call init.
9093         (get_txt_records): Use res_mkquery, res_send instead of
9094         res_nmkquery, res_nsend.
9095         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
9096         instead of _nss_hesiod_init.
9097         (_nss_hesiod_initgroups_dyn): Likewise.
9098         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
9099         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
9100         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
9102 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9104         * hesiod/hesiod_p.h (DEF_RHS): Remove.
9105         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
9107 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9109         * hesiod/hesiod.h: Remove RCS keyword.
9110         * hesiod/hesiod_p.h: Likewise.
9112         * hesiod/hesiod.c: Likewise.
9114 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
9116         [BZ #12450]
9117         * locale/iso-639.def: Add Samogitian/sgs.
9119 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9121         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
9123         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
9125 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
9126             Carlos O'Donell  <carlos@redhat.com>
9128         [BZ #19072]
9129         * grp/Makefile (headers): Add grp-merge.h
9130         (routines): Add grp-merge.
9131         * grp/getgrgid_r.c: Include grp-merge.h.
9132         (DEEPCOPY_FN): Define.
9133         (MERGE_FN): Define.
9134         * grp/getgrname_r.c: Include grp-merge.h.
9135         (DEEPCOPY_FN): Define.
9136         (MERGE_FN): Define.
9137         * grp/grp-merge.c: New file.
9138         * grp/grp-merge.h: New file.
9139         * include/grp-merge.h: New file.
9140         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
9141         __copy_grp@GLIBC_PRIVATE.
9142         * manual/nss.texi (Actions in the NSS configuration): Describe
9143         return, continue, and merge.
9144         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
9145         (DEEPCOPY_FN): Define.
9146         (MERGE_FN): Define.
9147         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
9148         (DEEPCOPY_FN): Define.
9149         (MERGE_FN): Define.
9150         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
9151         [!MERGE_FN]: Define __merge_einval.
9152         (CHECK_MERGE): Define.
9153         (REENTRANT_NAME): Process merge if do_merge is true.
9154         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
9155         (__nss_getent_r): Likewise.
9156         * nss/nsswitch.c (nss_parse_service_list): Likewise.
9157         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
9159 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9161         [BZ #20012]
9162         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
9163         length to calculate the buffer to read.
9164         (fmemopen_write): Set the buffer position based on bytes written.
9165         (fmemopen_seek): Return EINVAL for invalid whence modes.
9167         [BZ #19957]
9168         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
9169         tst-getpid2.
9170         (test): Add tst-clone2.
9171         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
9172         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
9173         pid/tid fields for CLONE_VM.
9174         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9175         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9176         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9177         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
9178         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9179         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9180         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9181         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9183         Likewise.
9184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9185         Likewise.
9186         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9187         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9188         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9189         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9190         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9191         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9192         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9193         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
9195 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9197         [BZ #19642]
9198         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
9199         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
9200         (gni_serv_local, gni_serv): New functions extracted from
9201         getnameinfo.
9202         (getnameinfo): Call gni_host and gni_serv to perform the
9203         processing.  Always free scratch buffer.
9205 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9207         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
9208         remaining bytes in the dest string, with zeros.
9210 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9212         [BZ #20010]
9213         CVE-2016-3706
9214         * sysdeps/posix/getaddrinfo.c
9215         (convert_hostent_to_gaih_addrtuple): New function.
9216         (gethosts): Call convert_hostent_to_gaih_addrtuple.
9217         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
9218         AF_INET data.
9220 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9222         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
9223         callback function gl_readdir.
9224         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
9225         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
9226         (glob_in_dir): Remove len.  Use strdup instead of malloc and
9227         memcpy to copy the name.
9228         * manual/pattern.texi (Calling Glob): Document requirements for
9229         implementations of the gl_readdir callback function.
9230         * manual/examples/mkdirent.c: New example.
9231         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
9232         per the manual guidance.
9233         * posix/tst-gnuglob.c (my_readdir): Likewise.
9235 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
9237         [BZ #20014]
9238         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
9239         not [__USE_POSIX].
9240         (getchar_unlocked): Likewise.
9241         (putc_unlocked): Likewise.
9242         (putchar_unlocked): Likewise.
9243         (flockfile): Likewise.
9244         (ftrylockfile): Likewise.
9245         (funlockfile): Likewise.
9246         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
9247         variable.
9248         (test-xfail-XPG4/stdio.h/conform): Likewise.
9250         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
9251         Expect constant.
9252         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
9253         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
9254         variable.
9255         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9256         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9258         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
9259         [__USE_LARGEFILE64] (off64_t): Likewise.
9260         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
9261         variable.
9263 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9265         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
9267 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9269         * resolv/inet_addr.c: Reindent preprocessor conditionals.
9270         * resolv/res_init.c: Likewise.
9271         * resolv/res_mkquery.c: Likewise.
9273 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9275         * resolv/res_init.c (isascii): Do not define.  Use definition in
9276         <ctype.h>.
9277         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
9278         (LOG_AUTH): Remove.
9279         (SPRINTF): Remove, adjust caller.
9280         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
9282 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9284         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
9285         SUNSECURITY conditional.
9286         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
9288 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9290         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
9291         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
9292         Remove BSD-related preprocessor conditionals.
9293         * conf/portability.h: Remove.
9295 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9297         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
9298         * resolv/res_data.c: Likewise.
9300 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9302         * resolv/res_comp.c: Remove code conditional on __ultrix__.
9303         * resolv/res_data.c: Remove code conditional on ultrix.
9305 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9307         * resolv/res_init.c (RFC1535): Do not define.  Remove
9308         RFC1535 preprocessor conditionals.
9309         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
9310         because there configuration options which make the resolver
9311         behavior different.
9313 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9315         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
9316         RESOLVSORT preprocessor conditionals.
9317         * resolv/nss_dns/dns-host.c: Likewise.
9318         * resolv/res_init.c: Likewise.
9320 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9322         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
9323         is never defined.
9325 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9327         * inet/inet_lnaof.c: Remove SCSS keyword.
9328         * inet/inet_mkadr.c: Likewise.
9329         * inet/inet_net.c: Likewise.
9330         * inet/inet_netof.c: Likewise.
9331         * inet/rcmd.c: Likewise.
9332         * inet/rexec.c: Likewise.
9333         * inet/ruserpass.c: Likewise.
9335 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9337         * resolv/inet_addr.c: Remove _LIBC conditionals.
9338         * resolv/res_data.c: Likewise.
9339         * resolv/res_init.c: Likewise.
9340         * resolv/res_mkquery.c: Likewise.
9341         * resolv/res_libc.c: Update comment.
9342         * resolv/README: Update.
9344 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9346         * resolv/gethnamaddr.c: Remove SCSS keyword.
9347         * resolv/herror.c: Likewise.
9348         * resolv/inet_addr.c: Likewise.
9349         * resolv/inet_net_ntop.c: Likewise.
9350         * resolv/inet_net_pton.c: Likewise.
9351         * resolv/inet_neta.c: Likewise.
9352         * resolv/inet_ntop.c: Likewise.
9353         * resolv/inet_pton.c: Likewise.
9354         * resolv/ns_date.c: Remove RCS keyword.
9355         * resolv/ns_name.c: Likewise.
9356         * resolv/ns_netint.c: Likewise.
9357         * resolv/ns_parse.c: Likewise.
9358         * resolv/ns_print.c: Likewise.
9359         * resolv/ns_samedomain.c: Likewise.
9360         * resolv/ns_ttl.c: Likewise.
9361         * resolv/nsap_addr.c: Likewise.
9362         * resolv/res_comp.c: Remove SCSS and RCS keyword.
9363         * resolv/res_data.c: Remove RCS keyword.
9364         * resolv/res_debug.c: Remove SCSS and RCS keyword.
9365         * resolv/res_init.c: Likewise.
9366         * resolv/res_mkquery.c: Likewise.
9367         * resolv/res_query.c: Likewise.
9368         * resolv/res_send.c: Likewise.
9370 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9372         * conform/data/stdio.h-data (fdopen): Expect also for
9373         [XPG3 || XPG4].
9375         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
9376         (fseeko): Likewise.
9377         (ftello): Likewise.
9378         (ftrylockfile): Likewise.
9379         (funlockfile): Likewise.
9380         (getc_unlocked): Likewise.
9381         (getchar_unlocked): Likewise.
9382         (putc_unlocked): Likewise.
9383         (putchar_unlocked): Likewise.
9385 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9387         [BZ #19868]
9388         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
9389         DNS packet syntax checks (which were not needed before).  Skip
9390         over non-PTR records.
9392 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9394         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9395         definition.  Include <stddef.h> instead.
9397 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9399         [BZ #19831]
9400         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9401         function.
9402         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9403         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9405 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9407         [BZ #19862]
9408         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9409         (getanswer_r): Do not call syslog.
9410         (gaih_getanswer_slice): Likewise.
9411         * resolv/gethnamaddr.c (AskedForGot): Remove.
9412         (getanswer): Do not call syslog.
9413         (gethostbyaddr): Likewise.
9415 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9417         * conform/data/signal.h-data (union sigval): Expect also if
9418         [XOPEN2K].
9419         (struct sigevent): Likewise.
9420         (SIGEV_NONE): Likewise.
9421         (SIGEV_SIGNAL): Likewise.
9422         (SIGEV_THREAD): Likewise.
9423         (SIGRTMIN): Likewise.
9424         (SIGRTMAX): Likewise.
9425         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
9426         variable.
9427         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9429 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9431         [BZ #19830]
9432         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
9433         (gaih_getanswer_slice): Likewise.
9434         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
9435         Also check for availability of RR metadata.
9437 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9439         [BZ #19825]
9440         * resolv/res_send.c (send_vc): Remove early *resplen2
9441         initialization.  Set *resplen2 on socket error.  Call
9442         close_and_return_error for other errors.
9444 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9446         * sysdeps/unix/sysv/linux/netiucv/iucv.h
9447         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
9448         (SCM_IUCV_TRGCLS): New define.
9450 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9452         [BZ #20005]
9453         * libio/fmemopen.c (fmemopen_write): Update internal position after
9454         write.
9455         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
9456         * stdio-common/tst-fmemopen4.c: New file..
9458 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
9460         [BZ #19996]
9461         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
9462         not [__USE_XOPEN2K].
9463         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
9464         variable.
9466         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
9467         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
9468         variable.
9470         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
9471         [__USE_XOPEN2K8].
9472         [__USE_LARGEFILE64] (off64_t): Likewise.
9473         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
9474         variable.
9476 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
9478         [BZ #19989]
9479         * libio/stdio.h (cuserid): Do not declare if
9480         [__USE_XOPEN2K && !__USE_GNU].
9481         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
9482         variable.
9484 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9486         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9487         (sysdep_routines): Add P8 and PPC64 strcspn targets.
9488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9489         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9490         ifunc'ed strcspn.
9491         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9492         [EALIGN]: Removed.
9493         [END]: Likewise
9494         [STRSPN]: Define instead of the above to control symbol name.
9495         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
9496         New file.
9497         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
9498         Likewise.
9499         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
9500         Likewise.
9501         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
9502         Likewise.
9503         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9504         [INITIAL_MASK]: New macro.
9505         [STRCSPN]: Likewise.
9506         [UPDATE_MASK]: Likewise.
9507         [USE_AS_STRCSPN]: Lisewise.
9509 2016-04-25  Florian Weimer  <fweimer@redhat.com>
9511         [BZ #19931]
9512         * stdio-common/tst-vfprintf-width-prec.c: New file.
9513         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
9514         (tests-special): Add tst-vfprintf-width-prec-mem.out.
9515         (generated): Add mtrace-related files.
9516         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
9517         (tst-%-mem.out): New pattern rule, replaces
9518         tst-printf-bz18872-mem.out.
9519         * stdio-common/vfprintf.c (vfprintf): When handling a precision
9520         specifier, deallocate any previously allocated work buffer.
9522 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9524         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
9525         Add nop before __startcontext, add explaining comments.
9527 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
9529         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
9530         any more. Notably since IPV6_PKTINFO has been reintroduced with a
9531         completely different API.
9533         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
9534         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
9535         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
9536         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
9537         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
9538         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
9539         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
9540         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
9541         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
9542         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
9544 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
9546         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
9548 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
9550         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
9551         when it is the default of 0.
9553 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9555         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
9556         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9557         (sysdep_routines): Add new strcasestr targets.
9558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9559         (__libc_ifunc_impl_list): Likewise.
9560         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9561         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
9562         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
9563         * sysdeps/powerpc/powerpc64/power8/Makefile:
9564         New file to add strcasestr-ppc64 to sysdep_routines.
9565         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
9566         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
9568 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
9570         * benchtests/Makefile (wcsmbs-benchset): Include only for
9571         native builds and runs.
9572         (LOCALES): Likewise.
9573         (bench-build): Build timing-type here instead of the bench
9574         target.  Generate locale only for native builds.
9575         * benchtests/README: Add note for cross-building.
9577         * benchtests/Makefile (bench-clean): Clean up extra-objs.
9579         * benchtests/README: Update README to include instructions on
9580         using bench-build.
9582         * Makefile.in (bench-build): New target.
9583         * Rules (PHONY): Add bench-build target.
9584         * benchtests/Makefile (bench): Depend on bench-build.
9585         (bench-build): New target.
9587 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9589         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
9590         profil_reply_port.
9591         (profile_waiter): Do not initialize profil_reply_port.
9592         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
9593         frequency instead of tick length in us.
9595 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
9597         [BZ #18712]
9598         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
9599         (__old_mempcpy_small): Likewise.
9600         (__old_strcpy_small): Likewise.
9601         (__old_stpcpy_small): Likewise.
9602         (__old_strpbrk_c2): Fix compat symbol name.
9603         (__old_strpbrk_c3): Likewise.
9604         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
9605         (__mempcpy_small): Remove.
9606         (__strcpy_small): Remove.
9607         (__stpcpy_small): Remove.
9609 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
9611         [BZ #19400]
9612         * locale/iso-639.def: Add the Talossan/tzl language.
9614 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9616         [BZ #16983]
9617         * locale/programs/ld-address.c (address_finish): Update postal_fmt
9618         comment.  Add "ln" to strchr check on postal_fmt.
9620 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9622         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
9623         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
9624         tel_dom_fmt.
9626 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9628         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9629         (sysdep_routines): Added __strlen_power8.
9630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
9631         __strlen_power8 entry.
9632         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
9633         Implementation for POWER8.
9634         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
9635         for __strlen_power8.
9636         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
9637         Implementation for POWER8.
9639 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
9641         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
9643 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
9645         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
9646         Goldmont and Airmont processors.
9648 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
9650         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
9651         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
9652         (__STRING2_SMALL_GET32): Remove.
9653         (memset): Remove.
9654         (__memset_1): Remove.
9655         (__memset_gc): Remove.
9656         (__mempcpy): Remove.
9657         (mempcpy): Remove.
9658         (__mempcpy_args): Remove.
9659         (strchr): Remove.
9660         (strcpy): Remove.
9661         (strcpy_args): Remove.
9662         (__stpcpy_args): Remove.
9663         (__strcmp_cc): Remove.
9664         (__strcmp_gc): Remove.
9665         (strstr): Remove.
9667 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
9669         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
9670         * nis/nis_call.c (nis_server_cache_add): Likewise.
9672 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9674         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
9676 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9678         * malloc/arena.c (__malloc_fork_lock_parent)
9679         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
9680         internal_function attribute.
9682 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
9684         * stdio-common/printf_fp.c (__printf_fp_l):
9685         Rename ___printf_fp_l to __printf_fp_l and
9686         remove strong alias. Use libc_hidden_def instead
9687         of ldbl_hidden_def macro.
9689 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9691         Remove malloc hooks from fork handler.  They are no longer needed
9692         because malloc runs right before fork, and no malloc calls from
9693         other fork handlers are not possible anymore.
9694         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
9695         declarations.
9696         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
9697         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
9698         (atfork_recursive_cntr): Remove.
9699         (__malloc_fork_lock_parent): Do not override malloc hooks and
9700         thread_arena.
9701         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
9702         thread_arena.
9703         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
9704         thread_arena instead of save_arena.
9706 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9708         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
9709         (thread_atfork, thread_atfork_static): Remove.
9710         * sysdeps/mach/hurd/malloc-machine.h:
9711         (thread_atfork, thread_atfork_static): Remove.
9713 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9715         [BZ #19431]
9716         Run the malloc fork handler as late as possible to avoid deadlocks.
9717         * malloc/malloc-internal.h: New file.
9718         * malloc/malloc.c: Include it.
9719         * malloc/arena.c (ATFORK_MEM): Remove.
9720         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
9721         Update comment.
9722         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
9723         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
9724         Remove outdated comment.
9725         (ptmalloc_init): Do not call thread_atfork.  Remove
9726         thread_atfork_static.
9727         * malloc/tst-malloc-fork-deadlock.c: New file.
9728         * Makefile (tests): Add tst-malloc-fork-deadlock.
9729         (tst-malloc-fork-deadlock): Link against libpthread.
9730         * manual/memory.texi (Aligned Memory Blocks): Update safety
9731         annotation comments.
9732         * sysdeps/nptl/fork.c (__libc_fork): Call
9733         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9734         __malloc_fork_unlock_child.
9735         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
9737 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9739         [BZ #19613]
9740         Remove union wait.
9741         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
9742         (w_stopsig, w_stopval): Remove.
9743         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
9744         stat_loc argument.
9745         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
9746         (__WAIT_STATUS_DEFN): Remove.
9747         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9748         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
9749         (wait, wait3, wait4): Use int * for the stat_loc argument.
9750         * posix/wait.c (__wait): Likewise.
9751         * posix/wait3.c (__wait3): Likewise.
9752         * posix/wait4.c (__wait4): Likewise.
9753         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
9754         (__WAIT_STATUS_DEFN): Remove.
9755         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9756         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
9757         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
9758         argument.
9759         * sysdeps/posix/wait.c (__libc_wait): Likewise.
9760         * sysdeps/posix/wait3.c (__wait3): Likewise.
9761         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
9762         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9763         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
9764         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
9765         stat_loc argument.
9766         * manual/process.texi (BSD Wait Functions): Remove union wait.
9768 2016-04-13  Andreas Schwab  <schwab@suse.de>
9770         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9771         (test-extras): Add tst-tlsalign-vars.
9772         * math/Makefile: Wrap long lines.
9773         (libm-vec-test-wrappers): Define.
9774         (test-extras): Add $(libm-vec-test-wrappers).
9775         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9776         * nss/Makefile (extra-test-objs): Add nss_test1.os.
9777         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9778         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9779         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9780         (extra-test-objs): Add corresponding objects.
9782 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
9784         [BZ #19928]
9785         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9786         New.
9787         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9788         times of shared cache size.
9789         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9790         (VMOVNT): New.
9791         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9792         (VMOVNT): Likewise.
9793         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9794         (VMOVNT): Likewise.
9795         (VMOVU): Changed to movups for smaller code sizes.
9796         (VMOVA): Changed to movaps for smaller code sizes.
9797         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9798         comments.
9799         (PREFETCH): New.
9800         (PREFETCH_SIZE): Likewise.
9801         (PREFETCHED_LOAD_SIZE): Likewise.
9802         (PREFETCH_ONE_SET): Likewise.
9803         Rewrite to use forward and backward loops, which move 4 vector
9804         registers at a time, to support overlapping addresses and use
9805         non temporal store if size is above the threshold and there is
9806         no overlap between destination and source.
9808 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
9810         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9811         Include dl-vdso.
9812         * sysdeps/unix/sysv/linux/mips/Versions: Add
9813         __vdso_clock_gettime.
9814         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9815         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9816         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9817         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9818         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9819         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9820         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9821         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9822         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9824 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9826         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9827         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9828         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9829         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9830         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9831         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9834         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9835         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9836         syscalls generation.
9837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9838         [__NR_pwrite64] (__NR_write): Remove define.
9839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9840         [__NR_pwrite64] (__NR_write): Remove define.
9841         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
9842         Remove define.
9843         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
9844         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
9845         Remove define.
9846         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
9847         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
9848         Linux implementation as base.
9849         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9851         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
9852         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9853         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9854         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
9856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9857         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
9858         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
9859         syscall generation.
9860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9861         [__NR_pread64] (__NR_pread): Remove define.
9862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9863         [__NR_pread64] (__NR_pread): Likewise.
9864         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9865         define.
9866         (__libc_pread): Use SYSCALL_LL macro on offset argument.
9867         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9868         Remove define.
9869         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9870         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9871         Linux implementation as base.
9872         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9873         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9874         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9876         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9877         definition.
9878         (__ALIGNMENT_COUNT): Likewise.
9879         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9880         (__ALIGNMENT_COUNT): Likewise.
9881         (SYSCALL_LL): New define.
9882         (SYSCALL_LL64): Likewise.
9883         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9884         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9885         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9886         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9888         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9889         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9890         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9891         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9892         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9893         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9895 2016-04-11  Florian Weimer  <fweimer@redhat.com>
9897         [BZ #19865]
9898         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
9899         original buffer before retry.
9901 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9903         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
9904         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
9905         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
9906         GLRO(dl_auxv) list.
9907         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
9908         including <ldsodefs.h>.
9909         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
9911 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
9913         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
9914         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
9915         $(CPPFLAGS).
9917 2016-04-09  Khem Raj  <raj.khem@gmail.com>
9919         [BZ #17950]
9920         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
9921         Add -mfpmath=387.
9923 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
9925         * sysdeps/i386/configure.ac: Change == to = when calling test.
9926         * sysdeps/x86_64/configure.ac: Likewise.
9927         * sysdeps/i386/configure: Regenerated.
9928         * sysdeps/x86_64/configure: Likewise.
9930 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
9932         [BZ #16137]
9933         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
9934         * benchtests/bench-strcoll.c (input_files): Likewise.
9935         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9936         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
9937         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
9939 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
9941         [BZ #19929]
9942         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
9943         [__USE_XOPEN2K8 && !__USE_GNU].
9944         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
9945         variable.
9947         [BZ #19925]
9948         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
9949         define if [!__USE_MISC && __USE_XOPEN2K].
9950         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
9951         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
9952         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
9953         Likewise.
9954         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
9955         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
9956         variable.
9957         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9959 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9961         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9962         (sysdep_routines): Add new strspn targets.
9963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9964         (__libc_ifunc_impl_list): Add strspn.
9965         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9966         New file.
9967         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
9968         Likewise.
9969         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
9970         Likewise.
9971         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9972         Likewise.
9974 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9976         * misc/hsearch_r.c: Include <limits.h>.
9978 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9980         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
9982 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9984         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9985         (MEMCPY_SYMBOL): New.
9986         (MEMPCPY_SYMBOL): Likewise.
9987         (MEMMOVE_CHK_SYMBOL): Likewise.
9988         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
9989         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
9990         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
9991         Provide alias for memcpy in libc.a and ld.so.
9993 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9995         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9996         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
9997         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
9998         Disabled fro now.
9999         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
10000         symbols.  Properly check USE_MULTIARCH on __memset symbols.
10002 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10004         * benchtests/Makefile (string-benchset): Add memcpy-large,
10005         memmove-large and memset-large.
10006         * benchtests/bench-memcpy-large.c: New file.
10007         * benchtests/bench-memmove-large.c: Likewise.
10008         * benchtests/bench-memmove-large.c: Likewise.
10009         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
10011 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10013         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
10014         32-bit displacement to avoid long nop between instructions.
10016 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10018         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
10019         a comment on VMOVU and VMOVA.
10021 2016-04-04  Florian Weimer  <fweimer@redhat.com>
10023         [BZ #19633]
10024         Use specified locale for number formatting in strfmon_l.
10025         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
10026         (__nl_lookup_word): New inline functions.
10027         * include/printf.h (__print_fp_l): Declare.
10028         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
10029         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
10030         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
10031         (___printf_fp): New function.
10032         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
10033         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
10034         * stdlib/tst-strfmon_l.c (do_test): New test.
10035         * stdlib/Makefile (tests): Add kt.
10036         (LOCALES): Build additional locales.
10037         (tst-strfmon_l.out): Require locales.
10039 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10041         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
10042         if not in libc.
10043         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10044         Likewise.
10045         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
10046         Likewise.
10047         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10048         Likewise.
10050 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10052         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10053         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
10054         with unaligned_erms.
10055         (__memmove_erms): Skip if source == destination.
10056         (__memmove_unaligned_erms): Don't check source == destination
10057         first.
10059 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10061         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
10062         bit_arch_Fast_Copy_Backward for Intel Core proessors.
10064 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10066         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
10067         * string/strspn.c (strspn): Likewise.
10069 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10071         * benchtests/bench-memset.c (do_test): Support 64-byte
10072         alignment.
10073         (test_main): Test 64-byte alignment.
10075 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10077         * benchtests/bench-memmove.c (test_main): Test 64-byte
10078         alignment.
10080 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10082         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
10084 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10086         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
10087         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
10088         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
10090         * string/strpbrk.c (strpbrk): Rewrite function.
10091         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
10092         (__strpbrk_c2): Likewise.
10093         (__strpbrk_c3): Likewise.
10094         * string/string-inlines.c
10095         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
10096         Likewise.
10097         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
10098         Likewise.
10100         * string/strspn.c (strcspn): Rewrite function.
10101         * string/bits/string2.h (strspn): Use __builtin_strcspn.
10102         (__strspn_c1): Remove inline function.
10103         (__strspn_c2): Likewise.
10104         (__strspn_c3): Likewise.
10105         * string/string-inlines.c
10106         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
10107         compatibility symbol.
10108         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
10109         Likewise.
10110         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
10111         Likewise.
10112         * string/string-inlines.c: Include generic version.
10114 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
10115             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10117         * string/Version (libc): Add GLIBC_2.24.
10118         * string/strcspn.c (strcspn): Rewrite function.
10119         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
10120         (__strcspn_c1): Remove inline function.
10121         (__strcspn_c2): Likewise.
10122         (__strcspn_c3): Likewise.
10123         * string/string-inline.c
10124         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
10125         compatibility symbol.
10126         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
10127         Likewise.
10128         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
10129         Likewise.
10130         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
10132 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10134         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10135         Use ahi instead of aghi to adjust stack pointer.
10137 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10139         [BZ #19853]
10140         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
10141         TEST to take significant digits as second parameter.
10142         [TEST]: Redefine in terms of TEST_N taking 30
10143         significant digits.
10144         (do_test): Add test case to demonstrate precision
10145         failure in the ldbl-128ibm printf.
10146         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
10147         (__mpn_extract_long_double): Carry 7 extra intermediate
10148         bits of precision to aide computing difference when
10149         signs differ.
10151 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10153         [BZ #19881]
10154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10155         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
10156         memset-avx512-unaligned-erms.
10157         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10158         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
10159         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
10160         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
10161         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
10162         __memset_sse2_unaligned_erms, __memset_erms,
10163         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
10164         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10165         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
10166         file.
10167         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10168         Likewise.
10169         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
10170         Likewise.
10171         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
10172         Likewise.
10174 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10176         [BZ #19776]
10177         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10178         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
10179         memmove-avx512-unaligned-erms.
10180         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10181         (__libc_ifunc_impl_list): Test
10182         __memmove_chk_avx512_unaligned_2,
10183         __memmove_chk_avx512_unaligned_erms,
10184         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
10185         __memmove_chk_sse2_unaligned_2,
10186         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
10187         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
10188         __memmove_avx512_unaligned_erms, __memmove_erms,
10189         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
10190         __memcpy_chk_avx512_unaligned_2,
10191         __memcpy_chk_avx512_unaligned_erms,
10192         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
10193         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
10194         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
10195         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
10196         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
10197         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
10198         __mempcpy_chk_avx512_unaligned_erms,
10199         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
10200         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
10201         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
10202         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
10203         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
10204         __mempcpy_erms.
10205         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
10206         file.
10207         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10208         Likwise.
10209         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10210         Likwise.
10211         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10212         Likwise.
10214 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10216         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
10217         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
10218         (La_s390_64_regs): Likewise.
10219         (La_s390_32_retval): Append vector register lrv_v24.
10220         (La_s390_64_retval): Likeweise.
10221         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10222         Handle extended structs La_s390_32_regs and La_s390_32_retval.
10223         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10224         Handle extended structs La_s390_64_regs and La_s390_64_retval.
10226 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10228         [BZ #19916]
10229         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
10230         to create a non-vector/vector version for _dl_runtime_resolve and
10231         _dl_runtime_profile. Move implementation to ...
10232         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
10233         (_dl_runtime_resolve) Save and restore fpr/vrs.
10234         (_dl_runtime_profile) Save and restore vrs and fix some issues
10235         if _dl_call_pltexit is called.
10236         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
10237         Choose the correct resolver function if running on a machine with vx.
10238         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
10239         to create a non-vector/vector version for _dl_runtime_resolve and
10240         _dl_runtime_profile. Move implementation to ...
10241         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
10242         (_dl_runtime_resolve) Save and restore fpr/vrs.
10243         (_dl_runtime_profile) Save and restore vrs and fix some issues
10244         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
10245         Choose the correct resolver function if running on a machine with vx.
10247 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10249         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
10251 2016-03-31  Florian Weimer  <fweimer@redhat.com>
10253         [BZ #19509]
10254         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
10255         skip_map != NULL.
10256         * elf/tst-dlsym-error.c: New file.
10257         * elf/Makefile (tests): Add tst-dlsym-error.
10258         (tst-dlsym-error): Link against libdl.
10260 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
10262         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10263         (__ASSUME_FUTIMESAT): Remove macro.
10264         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
10266 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10268         [BZ #19879]
10269         CVE-2016-3075
10270         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
10271         copy name.
10273 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10275         [BZ #19837]
10276         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
10277         error if parse_line fails.
10279 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10281         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
10282         (index_cpu_ERMS): Likewise.
10283         (reg_ERMS): Likewise.
10285 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
10287         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
10288         PER_LINUX_FDPIC): Add.
10290 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10292         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10293         memcpy-avx512-no-vzeroupper.
10294         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
10295         to ...
10296         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
10297         (MEMCPY): Don't define.
10298         (MEMCPY_CHK): Likewise.
10299         (MEMPCPY): Likewise.
10300         (MEMPCPY_CHK): Likewise.
10301         (MEMPCPY_CHK): Renamed to ...
10302         (__mempcpy_chk_avx512_no_vzeroupper): This.
10303         (MEMPCPY_CHK): Renamed to ...
10304         (__mempcpy_chk_avx512_no_vzeroupper): This.
10305         (MEMCPY_CHK): Renamed to ...
10306         (__memmove_chk_avx512_no_vzeroupper): This.
10307         (MEMCPY): Renamed to ...
10308         (__memmove_avx512_no_vzeroupper): This.
10309         (__memcpy_avx512_no_vzeroupper): New alias.
10310         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
10312 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10314         [BZ #18858]
10315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10316         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
10317         and mempcpy-avx512-no-vzeroupper.
10318         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
10319         New.
10320         (MEMPCPY): Likewise.
10321         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
10322         (MEMPCPY_CHK): New.
10323         (MEMPCPY): Likewise.
10324         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
10325         (MEMPCPY): Likewise.
10326         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
10327         (MEMPCPY): Likewise.
10328         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
10329         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
10330         Likewise.
10331         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
10332         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
10334 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10335              Amit Pawar  <Amit.Pawar@amd.com>
10337         [BZ #19583]
10338         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10339         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
10340         processors.  Set Fast_Copy_Backward for AMD Excavator
10341         processors.
10342         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
10343         New.
10344         (index_arch_Fast_Unaligned_Copy): Likewise.
10345         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
10346         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
10348 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10350         [BZ #19791]
10351         * resolv/res_send.c (close_and_return_error): New function.
10352         (send_dg): Initialize *resplen2 after reopen failure.  Call
10353         close_and_return_error for error returns.  On error paths without
10354         __res_iclose, initialze *resplen2 explicitly.  Update comment for
10355         successful return.
10357 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10359         [BZ# 19860]
10360         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
10361         zero if the compiler does not provide the AVX512F bit.
10363 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
10365         [BZ #19848]
10366         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
10367         from 8 to 4.
10368         (__ieee754_powl): Compare integer exponent against 4 not 8.
10369         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
10370         from 8 to 4.
10371         (__ieee754_powl): Compare integer exponent against 4 not 8.
10372         * math/auto-libm-test-in: Add more tests of pow.
10373         * math/auto-libm-test-out: Regenerated.
10374         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10377 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10379         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
10380         Make code unconditional.
10381         [!__NR_utimensat]: Remove conditional code.
10382         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
10383         Make code unconditional.
10384         [!__NR_utimensat]: Remove conditional code.
10385         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
10386         Make code unconditional.
10387         [!__NR_utimensat]: Remove conditional code.
10389 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10391         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
10392         Make code unconditional.
10394 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
10396         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10397         call-clobbered %eax on retry path.
10398         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10400 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10402         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10403         Don't set %rcx twice before "rep movsb".
10405 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10407         [BZ #19583]
10408         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10409         inline.  Check family before setting family, model and
10410         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
10411         bits here.
10412         (init_cpu_features): Replace HAS_CPU_FEATURE and
10413         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10414         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
10415         for Intel processors with usable AVX2.  Call get_common_indeces
10416         for other processors with family == NULL.
10417         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
10418         (CPU_FEATURES_ARCH_P): Likewise.
10419         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
10420         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
10422 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10424         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
10425         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
10426         $(shared-thread-library) instead of hardcoding the path to libpthread.
10428 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
10430         * sysdeps/unix/sysv/linux/kernel-features.h
10431         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
10432         * sysdeps/unix/sysv/linux/getdents.c
10433         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
10434         [!have_no_getdents64_defined]: Likewise.
10435         (__GETDENTS): Remove __have_no_getdents64 conditional.
10437 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
10439         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
10440         Remove macro.
10441         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
10442         <kernel-features.h>.
10443         (signalfd) [__NR_signalfd4]: Make code unconditional.
10444         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
10446 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10448         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
10449         style.
10451 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10453         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
10454         (__pthread_enable_asynccancel): Use JUMPTARGET to call
10455         __pthread_unwind.
10456         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10457         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
10458         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10459         (__condvar_cleanup1): Likewise.
10461 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
10463         [BZ #19822]
10464         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
10465         move it to the final $@ location.
10467 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10469         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
10470         access where posix_spawn success and pid argument is null.
10471         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
10472         success case.
10474 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
10476         * sysdeps/mach/hurd/i386/c++-types.data: New file.
10478         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
10480         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
10481         and __fcntl.
10482         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
10483         __fcntl only.
10484         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
10485         adding attribute_hidden to __open and __fcntl.
10487         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
10488         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
10489         depend on libc-modules.h,
10490         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
10492 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
10494         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
10495         Remove macro.
10496         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
10497         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
10498         entry.
10500         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
10501         Remove macro.
10502         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
10503         include <kernel-features.h>.
10504         [!__ASSUME_FALLOCATE]: Remove conditional code.
10505         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
10507 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10509         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
10510         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
10511         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
10512         (_ZGVdN4v_cos_avx2): Likewise.
10513         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
10514         (_ZGVdN4v_cos): Likewise.
10515         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
10516         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
10517         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
10518         (_ZGVdN4v_exp_avx2): Likewise.
10519         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
10520         (_ZGVdN4v_exp): Likewise.
10521         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
10522         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
10523         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
10524         (_ZGVdN4v_log_avx2): Likewise.
10525         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
10526         (_ZGVdN4v_log): Likewise.
10527         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
10528         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
10529         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
10530         (_ZGVdN4vv_pow_avx2): Likewise.
10531         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
10532         (_ZGVdN4vv_pow): Likewise.
10533         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
10534         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
10535         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
10536         (_ZGVdN4v_sin_avx2): Likewise.
10537         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
10538         (_ZGVdN4v_sin): Likewise.
10539         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
10540         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
10541         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
10542         (_ZGVdN4vvv_sincos_avx2): Likewise.
10543         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
10544         (_ZGVdN4vvv_sincos): Likewise.
10545         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
10546         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
10547         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
10548         (_ZGVbN4v_cosf_sse4): Likewise.
10549         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
10550         (_ZGVdN8v_cosf_avx2): Likewise.
10551         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
10552         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
10553         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
10554         (_ZGVbN4v_expf_sse4): Likewise.
10555         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
10556         (_ZGVdN8v_expf_avx2): Likewise.
10557         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
10558         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
10559         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
10560         (_ZGVbN4v_logf_sse4): Likewise.
10561         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
10562         (_ZGVdN8v_logf_avx2): Likewise.
10563         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
10564         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
10565         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
10566         (_ZGVbN4vv_powf_sse4): Likewise.
10567         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
10568         (_ZGVdN8vv_powf_avx2): Likewise.
10569         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10570         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
10571         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10572         (_ZGVbN4vvv_sincosf_sse4): Likewise.
10573         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10574         (_ZGVdN8vvv_sincosf_avx2): Likewise.
10575         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
10576         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
10577         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
10578         (_ZGVbN4v_sinf_sse4): Likewise.
10579         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
10580         (_ZGVdN8v_sinf_avx2): Likewise.
10581         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10582         Use JUMPTARGET to call callee.
10583         (WRAPPER_IMPL_SSE2_ff): Likewise.
10584         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10585         (WRAPPER_IMPL_AVX): Likewise.
10586         (WRAPPER_IMPL_AVX_ff): Likewise.
10587         (WRAPPER_IMPL_AVX_fFF): Likewise.
10588         (WRAPPER_IMPL_AVX512): Likewise.
10589         (WRAPPER_IMPL_AVX512_ff): Likewise.
10590         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10591         Likewise.
10592         (WRAPPER_IMPL_SSE2_ff): Likewise.
10593         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10594         (WRAPPER_IMPL_AVX): Likewise.
10595         (WRAPPER_IMPL_AVX_ff): Likewise.
10596         (WRAPPER_IMPL_AVX_fFF): Likewise.
10597         (WRAPPER_IMPL_AVX512): Likewise.
10598         (WRAPPER_IMPL_AVX512_ff): Likewise.
10599         (WRAPPER_IMPL_AVX512_fFF): Likewise.
10601 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10603         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
10604         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
10605         qualifier.
10606         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
10607         internal_function qualifiers.
10609 2016-03-15  Carlos O'Donell <carlos@redhat.com>
10611         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
10612         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
10613         * math/atest-exp.c (exp_mpn): Mark chk unused.
10614         * math/atest-exp2.c (exp_mpn): Likwise.
10615         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
10616         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
10618 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
10620         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
10621         Remove macro.
10622         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
10623         <kernel-features.h>.
10624         [__NR_ppoll]: Make code unconditional.
10625         [!__ASSUME_PPOLL]: Remove conditional code.
10627         * sysdeps/unix/sysv/linux/kernel-features.h
10628         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
10629         (__ASSUME_ACCEPT4): Likewise.
10630         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10631         Define.
10632         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
10633         Likewise.
10634         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10635         Likewise.
10636         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
10637         Likewise.
10638         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
10639         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
10640         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10641         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10642         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10643         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10644         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10645         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10646         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10647         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10648         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10649         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10650         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10651         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10652         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10653         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10654         Likewise.
10655         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10656         Likewise.
10657         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10658         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10659         0x040300].
10660         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10661         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10662         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10663         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10664         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10665         0x030300].
10666         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
10667         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10668         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10669         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10670         0x040300].
10671         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10672         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10673         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10674         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10675         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10676         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10677         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10678         0x030300].
10679         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10680         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10681         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10682         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10683         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10684         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10685         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10686         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10687         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10688         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10689         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10690         0x040300].
10691         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10692         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10693         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10694         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10695         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10696         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10697         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10698         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10699         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10700         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10701         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10702         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10703         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10704         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10705         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
10706         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10707         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10708         Likewise.
10709         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10710         Likewise.
10712 2016-03-15  Andreas Schwab  <schwab@suse.de>
10714         [BZ #19257]
10715         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
10716         statp->_u._ext.nscount as loop count.
10718 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10720         * math/test-signgam-finite-c99.c: Also #undef
10721         __LIBC_INTERNAL_MATH_INLINES.
10722         * math/test-signgam-main.c: Likewise.
10724 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
10726         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
10727         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10728         (MADV_FREE): Likewise.
10729         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
10730         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
10731         EPOLLEXCLUSIVE.
10733 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
10735         * timezone/README: Remove mention of checktab.awk. Mention wiki
10736         SharedSourceFiles.
10738 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
10740         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
10741         WUNTRACED.
10743 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10745         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
10746         order to match the type of p when calling atomic_exchange_acq().
10748 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10750         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
10751         cfi_offset calls.
10752         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10753         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
10754         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
10755         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
10756         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
10758 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
10760         * timezone/checktab.awk: Removed.
10762 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
10764         * manual/math.texi (Errors in Math Functions): Document relaxed
10765         accuracy goals for IBM long double.
10766         * math/libm-test.inc (test_exceptions): Always allow spurious
10767         "underflow" and "inexact" exceptions for IBM long double.
10769 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
10771         [BZ #19762]
10772         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10773         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10774         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10775         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10776         (bit_arch_*): This for feature array.
10777         (bit_*): Renamed to ...
10778         (bit_cpu_*): This for cpu array.
10779         (index_*): Renamed to ...
10780         (index_arch_*): This for feature array.
10781         (index_*): Renamed to ...
10782         (index_cpu_*): This for cpu array.
10783         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10784         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10785         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10786         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10787         bit_##name with index_cpu_##name and bit_cpu_##name.
10788         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10789         bit_##name with index_arch_##name and bit_arch_##name.
10791 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
10793         [BZ #19792]
10794         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10795         Terminate FDE before return label.
10797 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
10799         [BZ #19790]
10800         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10801         (rintl): Define as macro.
10802         [USE_AS_NEARBYINTL] (__rintl): Likewise.
10803         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10804         of fesetround.  Ensure results are evaluated before end of scope.
10805         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10806         USE_AS_NEARBYINTL and include s_rintl.c.
10807         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10808         Disable exception traps in new environment.
10809         (libc_feholdsetround_ppc_ctx): Likewise.
10811 2016-03-08  Roland McGrath  <roland@hack.frob.com>
10813         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10814         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10815         (tst_audit10_aux) [__AVX512F__]: ... here.
10817 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
10819         * include/sys/auxv.h: New file.
10821 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10823         [BZ #19759]
10824         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10826 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10828         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10829         operand modifier.
10830         (feclearexcept): Likewise.
10832 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10834         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10835         to reflect the entire 32-bit HWCAP.
10836         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
10837         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
10839 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10841         [BZ #19783]
10842         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
10843         $(test-via-rtld-prefix).
10844         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
10846 2016-03-08  Florian Weimer  <fweimer@redhat.com>
10848         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
10849         union wait.  Report any non-zero exit status as error.
10851 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10853         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
10854         configured with --enable-hardcoded-path-in-tests.
10856 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
10858         [BZ #19677]
10859         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10860         (__ieee754_remainderl): Put zero low parts in canonical form.
10861         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
10862         file.  Based on
10863         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
10864         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10865         with wrapper round test-fmodrem-ldbl-128ibm.c.
10866         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10867         file.
10868         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10869         Likewise.
10870         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10871         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10873 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10875         [BZ #19610]
10876         * elf/ldconfig.c (opt_link): Update comment.
10877         (options): Update help string for option -X.
10878         (search_dir): Unlink stale symbolic link only if updating symbolic
10879         links.
10880         * elf/tst-ldconfig-X.sh: New file.
10881         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10882         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10884 2016-03-07  Andreas Schwab  <schwab@suse.de>
10886         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10887         needed arguments.
10889 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
10891         [BZ #15333]
10892         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10893         to lstat64.
10895 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10897         * libio/filedoalloc.c (isatty): Remove.
10898         (local_isatty): Add comment.  Call __isatty directly.
10899         (_IO_file_doallocate): Update comment.  Assume _LIBC.
10900         * libio/wfiledoalloc.c (isatty): Remove.
10901         (_IO_wfile_doallocate): Update comment.
10903 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10905         [BZ #19269]
10906         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
10907         tst-audit4-aux.o.
10908         (tst-audit10): Depend on tst-audit10-aux.o.
10909         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
10910         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
10911         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
10912         instead of inline AVX code.
10913         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
10914         instead of inline AVX512 code.
10915         * sysdeps/x86_64/tst-audit4-aux.c: New file
10916         * sysdeps/x86_64/tst-audit10-aux.c: New file
10918         [BZ #19648]
10919         * test-skeleton.c (main): Do not set RLIMIT_DATA.
10921 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10923         [BZ #14750]
10924         [BZ #10354]
10925         [BZ #18433]
10926         * include/sched.h (__clone): Add hidden prototype.
10927         (__clone2): Likewise.
10928         * include/unistd.h (__dup): Likewise.
10929         * posix/Makefile (tests): Add tst-spawn2.
10930         * posix/tst-spawn2.c: New file.
10931         * sysdeps/posix/dup.c (__dup): Add hidden definition.
10932         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
10933         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10934         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10935         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10936         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10937         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
10938         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10939         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
10940         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10941         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10943         Likewise.
10944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10945         Likewise.
10946         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10947         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10948         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10949         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10950         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10951         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10952         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10953         * sysdeps/unix/sysv/linux/nptl-signals.h
10954         (____nptl_is_internal_signal): New function.
10955         * sysdeps/unix/sysv/linux/spawni.c: New file.
10957         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
10958         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
10959         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
10960         * posix/tst-execvp2.c (do_test): Likewise.
10961         * posix/tst-execvp3.c (do_test): Likewise.
10962         * posix/tst-execvp4.c (do_test): Likewise.
10963         * posix/tst-execvpe1.c: New file.
10964         * posix/tst-execvpe2.c: Likewise.
10965         * posix/tst-execvpe3.c: Likewise.
10966         * posix/tst-execvpe4.c: Likewise.
10967         * posix/tst-execvpe5.c: Likewise.
10968         * posix/tst-execvpe6.c: Likewise.
10970         [BZ #19534]
10971         * posix/execl.c (execl): Remove dynamic memory allocation.
10972         * posix/execle.c (execle): Likewise.
10973         * posix/execlp.c (execlp): Likewise.
10975 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10977         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
10978         Replace .text with .text.avx512.
10979         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10980         Likewise.
10982 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
10984         * sysdeps/generic/libnsl.abilist: New file.
10985         * sysdeps/generic/libutil.abilist: New file.
10987 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10989         [BZ #19762]
10990         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
10991         HAS_ARCH_FEATURE with Fast_Rep_String.
10992         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
10993         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
10994         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
10995         Likewise.
10996         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
10997         Likewise.
10998         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
10999         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
11000         Likewise.
11001         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
11002         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
11003         Likewise.
11005 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11007         [BZ #19745]
11008         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11009         with *%rax in call.
11011 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11013         [BZ #19745]
11014         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
11015         with *__libc_start_main@GOTPCREL(%rip) in call.
11017 2016-03-04  Roland McGrath  <roland@hack.frob.com>
11019         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
11020         inside conditional for nonempty $(CXX).
11022         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
11023         nonempty.
11025         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
11026         to test for empty $(CXX) rather than $(CXX) of "no".
11028 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11030         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
11032 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
11033             H.J. Lu  <hongjiu.lu@intel.com>
11035         [BZ #18880]
11036         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
11037         instead of Slow_BSF, and also check for Fast_Copy_Backward to
11038         enable __memcpy_ssse3_back.
11040 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11042         [BZ #19758]
11043         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11044         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
11046 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11048         [BZ #19490]
11049         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
11050         (__fentry__): Likewise.
11052 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11054         * gmon/Makefile (noprof): Add $(sysdep_noprof).
11055         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
11057 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11059         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
11060         __mcount_internal directly.
11061         (C_LABEL(__fentry__)): Likewise.
11062         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
11063         directly.
11065 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11067         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11068         (__start_context): Call __setcontext directly.
11070 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
11072         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11073         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11074         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
11075         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11076         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11077         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11078         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
11079         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11080         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11081         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
11082         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11083         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11084         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11085         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11086         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11087         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11088         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
11089         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11090         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11091         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11092         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
11093         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11094         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11095         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11096         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
11097         Remove conditional code.
11098         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11099         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
11100         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11101         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11102         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
11103         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11104         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11105         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11106         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11107         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11108         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11109         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11111 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
11113         * NEWS (2.23): Fix typo in bug 19048 text.
11115 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
11117         [BZ #14259]
11118         * Makeconfig: Rename msgcatdir to localedir.
11119         Rename inst_msgcatdir to inst_localedir.
11120         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
11121         * config.make.in: Add localedir.
11122         * elf/Makefile ($(objpfx)sotruss): Use localedir.
11123         (ldd-rewrite): Likewise.
11124         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
11125         (install-others): Use inst_localedir.
11126         (CPPFLAGS): Use localedir.
11127         * locale/Makefile (locale-CPPFLAGS): Likewise.
11128         * po/Makefile (mo-installed): Use inst_localedir.
11130         [BZ #19575]
11131         * localedata/charmaps/GB18030: Update comments regarding PAU to
11132         non-PUA mappings.
11134 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
11136         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
11137         test for header.
11138         * sysdeps/unix/sysv/linux/configure: Regenerated.
11139         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
11140         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
11141         Remove conditional code.
11142         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
11144         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11145         Define to 3.2.0.
11146         (arch_minimum_kernel): Likewise.
11147         * sysdeps/unix/sysv/linux/configure: Regenerated.
11148         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
11149         Define to 2.6.32.
11150         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
11151         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
11152         (arch_minimum_kernel): Define to 2.6.32.
11153         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
11154         * README: Document Linux 3.2 requirement.
11155         * manual/install.texi (Linux): Document Linux 3.2 headers
11156         requirement.
11157         * INSTALL: Regenerated.
11159 2016-02-24  Andreas Schwab  <schwab@suse.de>
11161         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
11162         if !NO_LONG_DOUBLE.
11164 2016-02-22  Roland McGrath  <roland@hack.frob.com>
11166         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
11167         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
11169 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
11171         [BZ #19512]
11172         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
11174 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11176         * posix/tst-dir.c: Include libc-internal.h.
11178 2016-02-20  Florian Weimer  <fweimer@redhat.com>
11180         [BZ #19056]
11181         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
11182         * manual/filesys.texi (Reading/Closing Directory): Mention
11183         deprecaion.
11184         * posix/tst-dir.c (main): Disable deprecation warning in test.
11186 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
11188         [BZ #19679]
11189         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
11190         Renamed to ...
11191         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
11192         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11193         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
11194         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11195         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11196         * sysdeps/x86_64/dl-trampoline.h
11197         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11198         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11200 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11202         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
11204 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11206         * elf/elf.h (R_386_GOT32X): New.
11207         (R_386_NUM): Update.
11208         (R_X86_64_GOTPCRELX: New.
11209         (R_X86_64_REX_GOTPCRELX): New.
11210         (R_X86_64_NUM): Update.
11212 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
11214         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
11216 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
11218         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
11219         assign attr->stackaddr to it, and adjust it down when
11220         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
11221         [_STACK_GROWS_UP]: Delete assert.
11222         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
11223         Implement stack grows up logic.
11224         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
11225         stack grows up logic.
11227 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11229         * NEWS: Update with 2.24 template.
11231 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11233         [BZ #19678]
11234         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11235         Ensure +0.0 is returned when taking the next value below the least
11236         positive value.
11238 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11240         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
11241         available.  Do not define NO_THREADS.
11242         * malloc/malloc.c: Do not check NO_THREADS.
11243         * malloc/arena.c: Likewise.
11245 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11247         * malloc/malloc.c (__libc_mallinfo): Update comment.
11248         (struct malloc_par): Remove max_total_mem member, it was always 0.
11249         (int_mallinfo): Store 0 into usmblks (no functional change).
11250         * malloc/hooks.c (struct malloc_state): Document that
11251         max_total_mem is always 0.
11252         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
11253         always 0.
11254         * manual/memory.texi (Statistics of Malloc): Likewise.
11256 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11258         * malloc/malloc.c (sysmalloc): Do not update arena_max.
11259         * malloc/arena.c (arena_max): Remove.
11260         (heap_trim, _int_new_arena): Do not update arena_max.
11262 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11264         * resolv/res_init.c (res_ninit): Update comment.
11266 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11268         [BZ #19505]
11269         * posix/spawn_int.h: Add headers and include guard.
11270         (__spawn_valid_fd): New function.
11271         * posix/spawn_faction_addopen.c
11272         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
11273         * posix/spawn_faction_addclose.c
11274         (posix_spawn_file_actions_addclose): Likewise.
11275         * posix/spawn_faction_adddup2.c
11276         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
11277         second file descriptor.
11278         * posix/spawn_valid_fd.c: New file.
11279         * posix/tst-posix_spawn-fd.c: New file.
11280         * posix/Makefile (routines): Add spawn_valid_fd.
11281         (tests): Add tst-posix_spawn-fd.
11283 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11285         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
11286         (do_test): Limit the number of arenas, so that we can use fewer
11287         outer threads.  Limit timeout to 3 seconds, in preparation for a
11288         larger TIMEOUT value.
11290 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11292         [BZ #19674]
11293         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
11294         sign in overflowing and underflowing results when overflow or
11295         underflow is detected early.  Include sign in result before rather
11296         than after scaling.
11298         [BZ #19603]
11299         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11300         (__ieee754_remainderl): Adjust sign of integer version of low part
11301         when taking absolute value of high part.
11302         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11303         * math/libm-test.inc (remainder_test_data): Add another test.
11304         (remquo_test_data): Likewise.
11306 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
11308         [BZ #19602]
11309         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
11310         equal high parts and both low parts zero specially.
11311         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
11312         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11313         Add test-fmodl-ldbl-128ibm.
11315         [BZ #19595]
11316         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
11317         common logic for all cases of shifting subnormal results.  Do not
11318         insert sign bit in shifted mantissa.  Always pass -1023 as biased
11319         exponent to ldbl_insert_mantissa in subnormal case.
11321         [BZ #19594]
11322         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
11323         on high and low parts then adjust result and use
11324         ldbl_canonicalize_int if needed.
11326         [BZ #19593]
11327         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
11328         on high part and __floor or __ceil on low part then use
11329         ldbl_canonicalize_int if needed.
11331         [BZ #19592]
11332         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
11333         high and low parts then use ldbl_canonicalize_int if needed.
11335         [BZ #17899]
11336         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
11337         New function.
11338         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
11339         on high and low parts then use ldbl_canonicalize_int if needed.
11341 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11343         * configure: Regenerated.
11345         * po/libc.pot: Regenerated.
11347         * po/be.po: Updated translation.
11348         * po/bg.po: Likewise.
11349         * po/ca.po: Likewise.
11350         * po/cs.po: Likewise.
11351         * po/da.po: Likewise.
11352         * po/el.po: Likewise.
11353         * po/eo.po: Likewise.
11354         * po/es.po: Likewise.
11355         * po/fi.po: Likewise.
11356         * po/fr.po: Likewise.
11357         * po/gl.po: Likewise.
11358         * po/hr.po: Likewise.
11359         * po/hu.po: Likewise.
11360         * po/ia.po: Likewise.
11361         * po/id.po: Likewise.
11362         * po/it.po: Likewise.
11363         * po/ja.po: Likewise.
11364         * po/lt.po: Likewise.
11365         * po/nb.po: Likewise.
11366         * po/nl.po: Likewise.
11367         * po/pt_BR.po: Likewise.
11368         * po/rw.po: Likewise.
11369         * po/sk.po: Likewise.
11370         * po/sl.po: Likewise.
11371         * po/sv.po: Likewise.
11372         * po/tr.po: Likewise.
11373         * po/zh_CN.po: Likewise.
11374         * po/zh_TW.po: Likewise.
11376         * version.h (RELEAES): Set to "development".
11377         (VERSION): Set to 2.23.90.
11379         * version.h (RELEASE): Set to "stable".
11380         (VERSION): Set to 2.23.
11381         * include/feature.h (__GLIBC_MINOR__): Set to 23.
11383         * NEWS: Updated fixed bugs.
11385 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
11386             Wilco Dijkstra  <wdijkstr@arm.com>
11388         [BZ #19462]
11389         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
11390         (_STRING_INLINE_unaligned): This.
11391         * include/string.h: Include <string_private.h>.
11392         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
11393         _STRING_INLINE_unaligned.
11394         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11395         (_STRING_INLINE_unaligned): New.
11396         * sysdeps/aarch64/string_private.h: New file.
11397         * sysdeps/generic/string_private.h: Likewise.
11398         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11399         * sysdeps/s390/string_private.h: Likewise.
11400         * sysdeps/x86/string_private.h: Likewise.
11401         * sysdeps/m68k/m680x0/m68020/bits/string.h
11402         (_STRING_ARCH_unaligned): Renamed to ...
11403         (_STRING_INLINE_unaligned): This.
11404         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11405         to ...
11406         (_STRING_INLINE_unaligned): This.
11407         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11408         to ...
11409         (_STRING_INLINE_unaligned): This.
11410         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11411         to ...
11412         (_STRING_INLINE_unaligned): This.
11414 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11415             H.J. Lu  <hongjiu.lu@intel.com>
11417         [BZ #19590]
11418         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
11419         relocation.
11421 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
11423         [BZ #18665]
11424         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
11425         *herrno_p.
11426         (gaih_getanswer): Document functional behviour. Return tryagain
11427         if any result is tryagain.
11428         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
11429         when freed.
11430         * resolv/res_send.c: Add copyright text.
11431         (__libc_res_nsend): Document that MAXPACKET is expected.
11432         (send_vc): Document. Remove buffer reuse.
11433         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
11434         size of the buffer. Add Dprint for truncated UDP buffer.
11436 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
11438         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
11439         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
11440         * INSTALL: Regenerate.
11442 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
11443             Jonathan Wakely  <jwakely@redhat.com>
11444             Carlos O'Donell  <carlos@redhat.com>
11446         [BZ 19439]
11447         * math/Makefile (tests): Add test-math-isinff.
11448         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
11449         * math/bits/mathcalls.h [__USE_MISC]: Use
11450         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
11451         functions not in C++11 and which don't conflict e.g. isinff,
11452         isinfl etc.
11453         * math/test-math-isinff.cc: New file.
11455 2016-02-12  Florian Weimer  <fweimer@redhat.com>
11457         * misc/bug18240.c (do_test): Set RLIMIT_AS.
11459 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11461         [BZ #19529]
11462         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
11464 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11466         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11468 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
11470         [BZ #19550]
11471         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
11472         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
11473         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
11474         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
11475         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
11476         New syscall entry.
11477         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
11478         New syscall entry.
11479         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
11480         syscall entry.
11482 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
11484         [BZ #18240]
11485         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
11486         unsigned int wraparound.
11488 2016-01-27  Florian Weimer  <fweimer@redhat.com>
11490         [BZ #18240]
11491         * misc/bug18240.c: New test.
11492         * misc/Makefile (tests): Add it.
11494 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
11495             Joseph Myers  <joseph@codesourcery.com>
11497         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
11498         load in branch delay slot when less than a word of input left.
11500 2016-01-27  Andreas Schwab  <schwab@suse.de>
11502         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
11503         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
11504         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
11505         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
11507 2016-01-26  David S. Miller  <davem@davemloft.net>
11509         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
11511 2016-01-25  David S. Miller  <davem@davemloft.net>
11513         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
11514         __sqrtl_finite.
11515         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
11516         instead using versioned_symbol.
11517         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
11518         of entries.
11520         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
11521         __sqrtl_finite to GLIBC_2.23
11523 2016-01-25  Ricchard Henderson  <rth@redhat.com>
11525         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11527 2016-01-25  Andreas Schwab  <schwab@suse.de>
11529         [BZ #17514]
11530         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
11531         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
11532         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
11533         * nptl/tst-mutex-errorcheck.c: New file.
11535 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11537         [BZ #18560]
11538         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
11539         (IPCOP_semop): Likewise.
11540         (IPCOP_semget): Likewise.
11541         (IPCOP_semctl): Likewise.
11542         (IPCOP_msgsnd): Likewise.
11543         (IPCOP_msgrcv): Likewise.
11544         (IPCOP_msgget): Likewise.
11545         (IPCOP_msgctl): Likewise.
11546         (IPCOP_shmat): Likewise.
11547         (IPCOP_shmdt): Likewise.
11548         (IPCOP_shmget): Likewise.
11549         (IPCOP_shmctl): Likewise.
11551 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11553         * string/tst-endian.c: Include <libc-internal.h>.
11554         (do_test): Ignore tautological-compare warnings around
11555         "htobeXX (beXXtoh (i)) != i" and
11556         "htoleXX (leXXtoh (i)) != i" if-statements.
11558 2016-01-24  David S. Miller  <davem@davemloft.net>
11560         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
11561         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
11562         alias.
11563         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11564         __sqrtl_finite.
11566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11568 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
11570         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
11571         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
11572         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11574 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11576         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
11577         (thread_func): Use new function to simplify barrier check.
11578         (do_test): Use new function to simplify checking barrier exit
11579         code, and actually join the child thread.
11581 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11583         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
11584         semicolon.
11585         (__libc_tend): Likewise.
11586         (__libc_tabort): Likewise.
11588 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
11590         * sysdeps/nios2/libm-test-ulps: Update.
11591         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
11592         (__gtsf2): Likewise.
11593         (__unorddf2): Likewise.
11594         (__unordsf2): Likewise.
11595         (__ledf2): Likewise.
11597 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
11599         * nis/nis_table.c (__follow_path): Disable diagnostic for
11600         uninitialized variable that is a false positive for gcc 4.7.
11601         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
11603 2016-01-20  Roland McGrath  <roland@hack.frob.com>
11605         * sysdeps/nacl/lowlevellock-futex.h
11606         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
11607         Always evaluate PRIVATE argument.
11609 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11611         [BZ #19490]
11612         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
11613         (pthread_cond_broadcast): Use ENTRY/END
11614         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
11615         (pthread_cond_signal): Likewise.
11616         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
11617         Likewise.
11618         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
11619         Likewise.
11620         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
11621         Likewise.
11623 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
11625         * sysdeps/ieee754/dbl-64/s_finite.c
11626         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
11627         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
11628         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
11629         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
11630         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
11632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11633         (__gtsf2): Add as optional for libc.so.
11634         (__unordsf2): Likewise.
11635         (__signbit): Remove for libc.so.
11636         (__signbitl): Likewise.
11638 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11640         * iconvdata/bug-iconv11.c (test_ibm93x):
11641         Use %zu printf format specifier for size_t argument.
11643 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
11645         * math/gen-libm-test.pl (parse_ulps): Do not reduce
11646         already-recorded ulps.
11647         * sysdeps/arm/libm-test-ulps: Regenerated.
11648         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11649         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11650         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11652 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11653             Paul Pluzhnikov  <ppluzhnikov@google.com>
11655         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
11656         assembler not supporting AVX-512.
11658 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11660         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11662 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
11664         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11665         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11667         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11669         * sysdeps/arm/libm-test-ulps: Regenerated.
11671 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11673         [BZ #19451]
11674         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
11676 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11678         [BZ #19486]
11679         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
11680         * sysdeps/generic/fix-fp-int-convert-overflow.h
11681         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
11682         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
11683         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
11684         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
11685         Likewise.
11686         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
11687         Avoid conversions to long int where inexact exceptions
11688         could be raised.
11689         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
11690         Likewise.
11691         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
11692         Avoid conversions to long long int where inexact exceptions
11693         could be raised.
11694         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
11695         Likewise.
11697 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
11699         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
11700         * configure: Regenerated.
11702 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11704         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
11706 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
11708         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
11709         outside of comment.
11711 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11713         * nptl/tst-barrier1.c: Add description on first line.
11714         * nptl/tst-barrier2.c: Likewise.
11715         * nptl/tst-barrier3.c: Likewise.
11716         * nptl/tst-barrier4.c: Likewise.
11717         * nptl/tst-barrier5.c: Likewise.
11719 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11721         [BZ #18868]
11722         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
11724 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11726         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
11727         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11728         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
11729         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
11730         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
11731         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
11732         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11733         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11734         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11735         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11736         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11738 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11740         [BZ #13065]
11741         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
11742         new implementation.
11743         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
11744         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
11745         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
11746         (BARRIER_IN_THRESHOLD): New macro.
11747         * nptl/pthread_barrierattr_setpshared.c
11748         (pthread_barrierattr_setpshared): Clean up.
11749         * nptl/tst-barrier4.c: Correct comment.
11750         * nptl/tst-barrier5.c: New file.
11751         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
11752         (gen-as-const-headers): Remove lowlevelbarrier.sym.
11753         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
11754         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
11755         * nptl/lowlevelbarrier.sym: Remove.
11756         * nptl/DESIGN-barrier.txt: Remove.
11757         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
11758         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
11759         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
11760         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
11761         error.
11762         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
11763         implementation.
11765 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11767         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11768         (do_child): Mask SIGRTMIN while thr is running.
11770 2016-01-15  Martin Sebor  <msebor@redhat.com>
11772         [BZ #19432]
11773         * iconvdata/Makefile: Add bug-iconv11.
11774         * iconvdata/bug-iconv11.c: New test.
11775         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11776         * iconvdata/ibm933.c: Same.
11777         * iconvdata/ibm935.c: Same.
11778         * iconvdata/ibm937.c: Same.
11779         * iconvdata/ibm939.c: Same.
11781 2016-01-15  Martin Sebor  <msebor@redhat.com>
11783         [BZ #19443]
11784         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11785         [DEBUG] (_ufc_set_bits): Declare used.
11786         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11787         [DEBUG] (print_all): Declare used.
11788         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11789         operands of the ternary ?: expression to target type.
11790         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11791         calling the undeclared abort.
11792         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11794 2016-01-15  Martin Sebor  <msebor@redhat.com>
11796         [BZ #18755]
11797         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11798         warnings.
11799         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11800         (__gai_create_helper_thread): Same.
11801         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11802         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11803         to suppress -Wmaybe-uninitialized warnings.
11805 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
11807         [BZ #19465]
11808         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11809         inside if.
11810         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11811         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11812         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11814 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
11816         [BZ #19466]
11817         * time/tst-mktime2.c (time_t_max): Removed.
11818         (time_t_min): Likewise.
11819         (TYPE_SIGNED): New.
11820         (TYPE_MINIMUM): Likewise.
11821         (TYPE_MAXIMUM): Likewise.
11822         (TIME_T_MIN): Likewise.
11823         (TIME_T_MAX): Likewise.
11824         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11825         and TIME_T_MIN.
11826         (do_test): Likewise.
11828 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
11830         [BZ #19467]
11831         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11832         index_Fast_Unaligned_Load flag for Excavator family CPUs.
11834 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
11836         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11838 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
11840         * benchtests/Makefile (PYTHON): Define.
11841         (bench-func): Use $(PYTHON) to run python scripts.
11842         ($(objpfx)bench-%.c): Likewise.
11844 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
11846         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
11847         leading slash when `file_name' is "/".
11849 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
11851         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
11852         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
11853         Likewise.
11854         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
11855         Likewise.
11856         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
11857         Likewise.
11858         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
11859         enum constant and macro.
11860         (PTRACE_SETSIGMASK): Likewise.
11861         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11862         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11863         (PTRACE_GETSIGMASK): Likewise.
11864         (PTRACE_SETSIGMASK): Likewise.
11865         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11866         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11867         Likewise.
11868         (PTRACE_SETSIGMASK): Likewise.
11869         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11870         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11871         (PTRACE_GETSIGMASK): Likewise.
11872         (PTRACE_SETSIGMASK): Likewise.
11873         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11874         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11875         Likewise.
11876         (PTRACE_SETSIGMASK): Likewise.
11877         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11878         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11879         Likewise.
11880         (PTRACE_SETSIGMASK): Likewise.
11881         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11882         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11883         Likewise.
11884         (PTRACE_SETSIGMASK): Likewise.
11885         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11887 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
11888             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11890         [BZ #19439]
11891         * math/bits/mathcalls.h
11892         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11893         prototype.
11894         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11896 2016-01-11  Andreas Schwab  <schwab@suse.de>
11898         [BZ #19253]
11899         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
11900         cache when TZDEFRULES was used.
11901         * time/tst-tzname.c: New file.
11902         * time/Makefile (test): Add tst-tzname.
11903         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
11904         * timezone/Makefile (test-zones): Add $(posixrules-file).
11905         ($(testdata)/$(posixrules-file)): New rule.
11907 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11909         Fix doc quoting problems with Texinfo 5
11910         Without this change, in the info file output, Texinfo 5 quotes code
11911         in text with undirected single quotes 'like this' and generates
11912         code examples that with many PDF readers cannot be cut out of PDFs
11913         and pasted into code.
11914         * manual/libc.texinfo: Configure the libc manual like the GNU
11915         Emacs manual, by using @documentencoding and setting
11916         txicodequoteundirected and txicodequotebacktick.  This way,
11917         Texinfo 5 quotes code in text with directed single quotes ‘like
11918         this’ and produces examples that can be cut out of PDFs.  This
11919         change causes Texinfo 5 to generate info files that contain UTF-8
11920         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
11921         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
11923 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11925         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
11926         __libc_tabort, __libc_tend): New wrappers that enforce compiler
11927         barriers to their respective compiler built-ins.
11928         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
11929         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
11930         * sysdeps/powerpc/sysdep.h: Likewise.
11931         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
11932         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
11933         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
11935 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
11937         * scripts/config.guess: Revert previous shebang change.
11938         * scripts/config.sub: Likewise.
11939         * scripts/mkinstalldirs: Likewise.
11941 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11943         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
11944         PPC_FEATURE2_HAS_IEEE128.
11945         * sysdeps/powerpc/dl-procinfo.c:
11946         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
11948 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
11950         [BZ #19415]
11951         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
11952         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
11953         (_dl_lookup_address): Rewrite using function resolver trampoline.
11954         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
11955         two bits in address.
11957 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11959         * longlong.h: Change !__SHMEDIA__ to
11960         (!defined (__SHMEDIA__) || !__SHMEDIA__).
11961         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
11963 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
11964             Joseph Myers  <joseph@codesourcery.com>
11965             Mark Shinwell  <shinwell@codesourcery.com>
11966             Andrew Stubbs  <ams@codesourcery.com>
11967             Rich Felker <dalias@libc.org>
11969         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
11971 2016-01-07  Richard Henderson  <rth@redhat.com>
11973         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
11975 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11977         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
11978         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
11979         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11980         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11981         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
11983 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
11984             Joseph Myers  <joseph@codesourcery.com>
11986         * timezone/private.h: Update from tzcode 2015g.
11987         * timezone/tzfile.h: Likewise.
11988         * timezone/tzselect.ksh: Likewise.
11989         * timezone/zdump.c: Likewise.
11990         * timezone/zic.c: Likewise.
11991         * timezone/ialloc.c: Remove file.
11992         * timezone/scheck.c: Likewise.
11993         * timezone/Makefile (extra-objs): Remove variable.
11994         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
11995         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
11996         -Wno-maybe-uninitialized.
11997         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
11998         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
11999         (CFLAGS-ialloc.c): Remove variable.
12000         (CFLAGS-scheck.c): Likewise.
12001         * timezone/README: Update list of files from tzcode.
12003 2016-01-07  Khem Raj  <raj.khem@gmail.com>
12005         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
12006         instead of __fxprintf when _LIBC is undefined.
12008 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
12010         * catgets/test-gencat.sh: Remove space after shebang.
12011         * conform/GlibcConform.pm: Likewise.
12012         * conform/check-header-lists.sh: Likewise.
12013         * conform/conformtest.pl: Likewise.
12014         * conform/linknamespace.pl: Likewise.
12015         * conform/list-header-symbols.pl: Likewise.
12016         * debug/catchsegv.sh: Likewise.
12017         * elf/genrtldtbl.awk: Likewise.
12018         * elf/tst-pathopt.sh: Likewise.
12019         * elf/tst-rtld-load-self.sh: Likewise.
12020         * grp/tst_fgetgrent.sh: Likewise.
12021         * iconvdata/gen-8bit-gap-1.sh: Likewise.
12022         * iconvdata/gen-8bit-gap.sh: Likewise.
12023         * iconvdata/gen-8bit.sh: Likewise.
12024         * iconvdata/run-iconv-test.sh: Likewise.
12025         * intl/tst-gettext.sh: Likewise.
12026         * intl/tst-gettext2.sh: Likewise.
12027         * intl/tst-gettext4.sh: Likewise.
12028         * intl/tst-gettext6.sh: Likewise.
12029         * intl/tst-translit.sh: Likewise.
12030         * io/ftwtest-sh: Likewise.
12031         * libio/test-freopen.sh: Likewise.
12032         * locale/gen-translit.pl: Likewise.
12033         * malloc/tst-mtrace.sh: Likewise.
12034         * manual/check-safety.sh: Likewise.
12035         * manual/libc-texinfo.sh: Likewise.
12036         * manual/tsort.awk: Likewise.
12037         * manual/xtract-typefun.awk: Likewise.
12038         * nptl/tst-cancel-wrappers.sh: Likewise.
12039         * nptl/tst-tls6.sh: Likewise.
12040         * posix/globtest.sh: Likewise.
12041         * posix/tst-getconf.sh: Likewise.
12042         * posix/wordexp-tst.sh: Likewise.
12043         * scripts/check-c++-types.sh: Likewise.
12044         * scripts/check-local-headers.sh: Likewise.
12045         * scripts/config.guess: Likewise.
12046         * scripts/config.sub: Likewise.
12047         * scripts/cpp: Likewise.
12048         * scripts/cross-test-ssh.sh: Likewise.
12049         * scripts/documented.sh: Likewise.
12050         * scripts/evaluate-test.sh: Likewise.
12051         * scripts/gen-libc-abis: Likewise.
12052         * scripts/gen-sorted.awk: Likewise.
12053         * scripts/list-fixed-bugs.py: Likewise.
12054         * scripts/merge-test-results.sh: Likewise.
12055         * scripts/mkinstalldirs: Likewise.
12056         * scripts/rellns-sh: Likewise.
12057         * scripts/test-installation.pl: Likewise.
12058         * scripts/update-copyrights: Likewise.
12059         * stdio-common/tst-printf.sh: Likewise.
12060         * stdio-common/tst-unbputc.sh: Likewise.
12061         * stdlib/tst-fmtmsg.sh: Likewise.
12062         * stdlib/tst-setcontext3.sh: Likewise.
12063         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
12064         * sysdeps/unix/make-syscalls.sh: Likewise.
12066 2016-01-06  John David Anglin  <dave.anglin@bell.net>
12068         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
12069         asm stw with atomic_exchange_rel.  Add explanatory comment.
12070         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
12071         Likewise.
12073 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12075         [BZ #19122]
12076         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
12077         * sysdeps/generic/dl-unistd.h: New file.
12078         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
12080 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12082          [BZ #19122]
12083          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
12084          * sysdeps/generic/dl-mman.h: New file.
12085          * sysdeps/mach/hurd/dl-mman.h: Likewise.
12087 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
12089         * manual/texinfo.tex: Update to version 2016-01-04.21 with
12090         trailing whitespace removed.
12091         * scripts/config.guess: Update to version 2016-01-01.
12092         * scripts/config.sub: Update to version 2016-01-01.
12093         * scripts/move-if-change: Update from gnulib.
12095 2016-01-04  Anton Blanchard  <anton@samba.org>
12097         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
12098         for array indices.
12099         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
12101 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
12103         * NEWS: Update copyright dates.
12104         * catgets/gencat.c (print_version): Likewise.
12105         * csu/version.c (banner): Likewise.
12106         * debug/catchsegv.sh: Likewise.
12107         * debug/pcprofiledump.c (print_version): Likewise.
12108         * debug/xtrace.sh (do_version): Likewise.
12109         * elf/ldconfig.c (print_version): Likewise.
12110         * elf/ldd.bash.in: Likewise.
12111         * elf/pldd.c (print_version): Likewise.
12112         * elf/sotruss.sh: Likewise.
12113         * elf/sprof.c (print_version): Likewise.
12114         * iconv/iconv_prog.c (print_version): Likewise.
12115         * iconv/iconvconfig.c (print_version): Likewise.
12116         * locale/programs/locale.c (print_version): Likewise.
12117         * locale/programs/localedef.c (print_version): Likewise.
12118         * login/programs/pt_chown.c (print_version): Likewise.
12119         * malloc/memusage.sh (do_version): Likewise.
12120         * malloc/memusagestat.c (print_version): Likewise.
12121         * malloc/mtrace.pl: Likewise.
12122         * manual/libc.texinfo: Likewise.
12123         * nptl/version.c (banner): Likewise.
12124         * nscd/nscd.c (print_version): Likewise.
12125         * nss/getent.c (print_version): Likewise.
12126         * nss/makedb.c (print_version): Likewise.
12127         * posix/getconf.c (main): Likewise.
12128         * scripts/test-installation.pl: Likewise.
12129         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12131         * All files with FSF copyright notices: Update copyright dates
12132         using scripts/update-copyrights.
12133         * intl/plural.c: Regenerated.
12134         * locale/programs/charmap-kw.h: Likewise.
12135         * locale/programs/locfile-kw.h: Likewise.
12137 2016-01-02  Helge Deller  <deller@gmx.de>
12139         [BZ #19285]
12140         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
12141         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
12142         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
12143         (MADV_xxK_PAGES): Remove.
12145 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
12147         [BZ #15421]
12148         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
12149         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
12150         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
12151         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
12153 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
12155         [BZ #19408]
12156         * sysdeps/unix/sysv/linux/personality.c: New file.
12157         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
12158         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
12159         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
12160         (sysdep_routines): Add personality.
12161         (tests): Add tst-personality.
12162         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
12163         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
12164         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
12165         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
12166         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
12167         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
12168         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
12169         Likewise.
12170         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
12171         Likewise.
12172         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
12173         Likewise.
12174         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
12175         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
12176         Likewise.
12178 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
12180         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
12181         (PATH_ARM_SYSTYPE): Remove.
12182         (PATH_CPUINFO): Likewise.
12183         (IO_BASE_FOOTBRIDGE): Likewise.
12184         (IO_SHIFT_FOOTBRIDGE): Likewise.
12185         (struct platform): Likewise.
12186         (init_iosys): Remove compatibility code for 2.4 kernels.
12187         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
12189 2015-12-29  Florian Weimer  <fweimer@redhat.com>
12191         * malloc/tst-malloc-thread-fail.c: New file.
12192         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
12193         (tst-malloc-thread-fail): Link against libpthread.
12195 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
12197         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
12198         (get_parser): New function.
12199         (main): New function.
12201 2015-12-29  Rob Wu  <rob@robwu.nl>
12203         [BZ #19369]
12204         * resolv/res_init.c (__res_vinit): Reset defdname before use.
12206 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
12208         [BZ #19270]
12209         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12211 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
12213         [BZ #15421]
12214         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
12216 2015-12-23  Torvald Riegel  <triegel@redhat.com>
12218         [BZ #13690]
12219         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
12220         after releasing it.
12221         (__lll_robust_unlock): Likewise.
12222         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12223         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
12224         (lll_robust_unlock): Likewise.
12225         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
12226         Prevent warnings in callers.
12228 2015-12-23  Florian Weimer  <fweimer@redhat.com>
12230         * malloc/arena.c (list_lock): Update comment.
12232 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12234         * sysdeps/powerpc/hwcapinfo.c: Export symbol
12235         __parse_hwcap_and_convert_at_platform to libc.a.
12237 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12239         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
12240         platform and feature support for POWER9.
12241         * sysdeps/powerpc/dl-procinfo.h: Likewise.
12242         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
12243         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
12244         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
12245         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
12246         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12247         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12248         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12250 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12252         Harmonize generic stdio-lock support with nptl
12254         This fixes build when _IO_funlockfile is a macro, fixes build where
12255         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
12256         stack unwind.
12258         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
12259         _IO_release_lock ): Use cleanup attribute on new
12260         _IO_acquire_lock_file variable instead of assuming that
12261         _IO_release_lock will be called.
12262         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
12263         _IO_acquire_lock_needs_exceptions_enabled.
12264         (_IO_acquire_lock_clear_flags2): New macro.
12266 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12268         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12270 2015-12-21  Florian Weimer  <fweimer@redhat.com>
12272         [BZ #19182]
12273         * malloc/arena.c (list_lock): Document lock ordering requirements.
12274         (free_list_lock): New lock.
12275         (ptmalloc_lock_all): Comment on free_list_lock.
12276         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
12277         (detach_arena): Update comment.  free_list_lock is now needed.
12278         (_int_new_arena): Use free_list_lock around detach_arena call.
12279         Acquire arena lock after list_lock.  Add comment, including FIXME
12280         about incorrect synchronization.
12281         (get_free_list): Switch to free_list_lock.
12282         (reused_arena): Acquire free_list_lock around detach_arena call
12283         and attached threads counter update.  Add two FIXMEs about
12284         incorrect synchronization.
12285         (arena_thread_freeres): Switch to free_list_lock.
12286         * malloc/malloc.c (struct malloc_state): Update comments to
12287         mention free_list_lock.
12289 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12291         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
12292         Remove functions.
12293         (sloww, sloww1): Accept argument to offset quadrant.
12294         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
12295         quadrant.
12296         (__sin, __cos): Consolidate common code into new functions.
12297         (reduce_sincos_1, do_sincos_1): New functions.
12298         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12300         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
12301         code to new functions.
12302         (reduce_sincos_2, do_sincos_2): New functions.
12303         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12305         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
12306         common code for sincos.
12307         (__cos) [!IN_SINCOS]: Likewise.
12308         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
12309         New function.
12310         (__sincos): Use it.
12312 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
12314         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
12315         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
12316         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12318 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12320         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
12321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
12322         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12323         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
12324         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12325         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
12326         index_Prefer_No_VZEROUPPER): New feature.
12327         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
12328         Prefer_No_VZEROUPPER for Knights Landing.
12330 015-12-18  Torvald Riegel  <triegel@redhat.com>
12332         * math/atest-exp2.c (mp_exp_m1): Remove.
12334 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12336         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
12337         syscalls.
12338         (__SYSCALL0): New macro.
12339         (__SYSCALL1): Likewise.
12340         (__SYSCALL2): Likewise.
12341         (__SYSCALL3): Likewise.
12342         (__SYSCALL4): Likewise.
12343         (__SYSCALL5): Likewise.
12344         (__SYSCALL6): Likewise.
12345         (__SYSCALL_CONCAT_X): Likewise.
12346         (__SYSCALL_CONCAT): Likewise.
12347         (__SYSCALL_DIST): Likewise.
12348         (__SYSCALL_CALL): Likewise.
12350 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
12352         [BZ #19363]
12353         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
12355 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12357         [BZ #19375]
12358         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
12359         negative subnormals.
12361 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
12363         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12364         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
12365         (INTERNAL_SYSCALL_NCS): Use it.
12366         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12368 2015-12-16  Florian Weimer  <fweimer@redhat.com>
12370         [BZ #19243]
12371         * malloc/arena.c (get_free_list): Remove assert and adjust
12372         reference count handling.  Add comment about reused_arena
12373         interaction.
12374         (reused_arena): Add comments abount get_free_list interaction.
12375         * malloc/tst-malloc-thread-exit.c: New file.
12376         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
12377         (tst-malloc-thread-exit): Link against libpthread.
12379 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12381         [BZ #19367]
12382         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
12383         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
12384         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
12385         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
12386         (index_Prefer_MAP_32BIT_EXEC): Likewise.
12388 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12390         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
12391         Silvermont optimizations for Knights Landing.
12393 2015-12-15  Andreas Schwab  <schwab@suse.de>
12395         [BZ #17197]
12396         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12397         immediately after emitting SI.
12398         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12399         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12400         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12401         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12402         * iconvdata/bug-iconv10.c: New file.
12403         * iconvdata/Makefile (tests): Add bug-iconv10.
12404         ($(objpfx)bug-iconv10.out): New rule.
12406 2015-12-15  Florian Weimer  <fweimer@redhat.com>
12408         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12409         aliasing violation.
12411 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
12413         [BZ #18472]
12414         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12415         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12416         conditionals for them.
12417         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
12418         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
12419         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
12420         sys/kdaemon.h.
12421         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
12422         compat-only syscall, obsoleted in glibc 2.23.
12423         (create_module): Likewise.
12424         (get_kernel_syms): Likewise.
12425         (query_module): Likewise.
12426         (uselib): Likewise.
12427         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
12429 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
12431         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
12432         <linux/version.h>.
12433         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
12434         conditional code.
12435         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
12436         and ioshift_name initialization.
12438 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12440         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12441         Fix indentation.
12443 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12445         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
12447 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12449         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
12451 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
12452             Jakub Wilk  <jwilk@debian.org>
12454         [BZ #19347]
12455         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
12456         to change the group of the device to the tty group.
12458 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
12460         Split large string section; add truncation advice
12461         * manual/examples/strncat.c: Remove.
12462         This example was misleading, as the code would have undefined
12463         behavior if "hello" was longer than SIZE.  Anyway, the manual
12464         shouldn't encourage strncpy+strncat for this sort of thing.
12465         * manual/string.texi (Copying Strings and Arrays): Split into
12466         three sections Copying Strings and Arrays, Concatenating Strings,
12467         and Truncating Strings, as this section was way too long.  All
12468         cross-referenced changed.  Add advice about string-truncation
12469         functions.  Remove misleading strncat example.
12471 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
12473         * manual/nss.texi (NSS Modules Interface): Document
12474         NSS_STATUS_NOTFOUND and SUCCESS.
12476 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12478         [BZ 18568]
12479         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12480         201505L, for Unicode 8.
12482 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
12484         * locale/C-translit.h: Regenerate.
12486 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12488         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
12489         and U+0153.
12491 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
12493         [BZ #19351]
12494         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
12495         expanding log(1+z), compare z rather than its square with epsilon
12496         to determine when to avoid evaluating the expansion.
12498         [BZ #19350]
12499         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12500         Increase overflow threshold.
12502         [BZ #19349]
12503         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
12504         when small.
12506         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12507         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12508         New macro.
12509         [__LINUX_KERNEL_VERSION >= 0x040300]
12510         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12511         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12512         Likewise.
12513         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12514         Likewise.
12515         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12516         Likewise.
12517         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12518         Likewise.
12519         [__LINUX_KERNEL_VERSION >= 0x040300]
12520         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12521         [__LINUX_KERNEL_VERSION >= 0x040300]
12522         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12523         [__LINUX_KERNEL_VERSION >= 0x040300]
12524         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12525         [__LINUX_KERNEL_VERSION >= 0x040300]
12526         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12527         [__LINUX_KERNEL_VERSION >= 0x040300]
12528         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12529         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12530         Likewise.
12531         [__LINUX_KERNEL_VERSION >= 0x040300]
12532         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12533         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12534         Likewise.
12535         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12536         Likewise.
12537         [__LINUX_KERNEL_VERSION >= 0x040300]
12538         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12539         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12540         Likewise.
12541         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12542         Likewise.
12543         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12544         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
12545         Likewise.
12546         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
12547         Likewise.
12548         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12549         Likewise.
12550         [__LINUX_KERNEL_VERSION >= 0x040300]
12551         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12552         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12553         Likewise.
12554         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12555         Likewise.
12556         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12557         Likewise.
12558         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12559         Likewise.
12560         [__LINUX_KERNEL_VERSION >= 0x040300]
12561         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12562         [__LINUX_KERNEL_VERSION >= 0x040300]
12563         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12564         [__LINUX_KERNEL_VERSION >= 0x040300]
12565         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12566         [__LINUX_KERNEL_VERSION >= 0x040300]
12567         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12568         [__LINUX_KERNEL_VERSION >= 0x040300]
12569         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12570         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12571         Likewise.
12572         [__LINUX_KERNEL_VERSION >= 0x040300]
12573         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12574         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12575         Likewise.
12576         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12577         Likewise.
12578         [__LINUX_KERNEL_VERSION >= 0x040300]
12579         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12580         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12581         Likewise.
12582         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12583         Likewise.
12584         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12585         (__ASSUME_SOCKET_SYSCALL): Likewise.
12586         (__ASSUME_BIND_SYSCALL): Likewise.
12587         (__ASSUME_CONNECT_SYSCALL): Likewise.
12588         (__ASSUME_LISTEN_SYSCALL): Likewise.
12589         (__ASSUME_ACCEPT_SYSCALL): Likewise.
12590         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12591         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12592         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12593         (__ASSUME_SEND_SYSCALL): Likewise.
12594         (__ASSUME_SENDTO_SYSCALL): Likewise.
12595         (__ASSUME_RECV_SYSCALL): Likewise.
12596         (__ASSUME_RECVFROM_SYSCALL): Likewise.
12597         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
12598         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12599         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12600         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12601         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12602         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12603         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
12604         Likewise.
12605         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
12606         Likewise.
12607         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
12608         Likewise.
12609         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
12610         Likewise.
12611         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
12612         Likewise.
12613         [__LINUX_KERNEL_VERSION >= 0x020625]
12614         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12615         [__LINUX_KERNEL_VERSION >= 0x020625]
12616         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12617         [__LINUX_KERNEL_VERSION >= 0x020625]
12618         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12619         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
12620         Likewise.
12621         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
12622         Likewise.
12623         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
12624         Likewise.
12625         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
12626         Likewise.
12627         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
12628         Likewise.
12629         [__LINUX_KERNEL_VERSION >= 0x020625]
12630         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12631         [__LINUX_KERNEL_VERSION >= 0x020625]
12632         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12633         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
12634         Likewise.
12635         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
12636         Likewise.
12638 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12640         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
12641         record the current if the current ABI and CPU support the FP64
12642         extension.
12643         (has-modd-spreg): Define to record the current if the current ABI and
12644         CPU support 32-bit floating point values in odd FPU registers.
12645         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12646         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
12647         $(has-modd-spreg) equals yes.
12648         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
12649         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
12650         $(has-modd-spreg) equal yes.
12652 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12654         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
12655         basename.
12657 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
12659         * benchtests/Makefile (bench-math): Move ffs and ffsll...
12660         (bench-string): ... here.
12661         (bench): Add bench-string.
12662         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
12663         to *-benchset to reflect what they are.
12664         (benchset): Adjust.
12666         * benchtests/sincos-inputs: Add inputs from sin-inputs and
12667         cos-inputs.
12669 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
12671         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
12672         __attribute__ ((__simd__)) for vector math function declarations.
12674 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12676         Fix typo in strncat, wcsncat manual entries
12677         * manual/string.texi (Copying and Concatenation): Fix typos in
12678         sample implementations of strncat and wcsncat, by having them use
12679         the old value of the destination length, not the new one.
12681 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
12683         [BZ #16961]
12684         [BZ #16962]
12685         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
12686         string on the stack for strtod.
12687         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
12688         a string on the stack for strtof.
12689         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
12690         constructing a string on the stack for strtold.
12691         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
12692         __strtold_nan to GLIBC_PRIVATE.
12693         * math/test-nan-overflow.c: New file.
12694         * math/test-nan-payload.c: Likewise.
12695         * math/Makefile (tests): Add test-nan-overflow and
12696         test-nan-payload.
12698 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12700         Consistency about byte vs character in string.texi
12701         * manual/string.texi (String and Array Utilities):
12702         Distinguish more carefully among bytes, multibyte characters,
12703         and wide characters.  Use "byte" when talking about C 'char',
12704         to distinguish it more clearly from multibyte characters.
12705         Say "wide character" or "multibyte character" instead of
12706         "character", when a wide or multibyte character is intended.
12707         Similarly for "multibyte string" versus "string".
12708         Define these terms more carefully.
12710 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
12712         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
12713         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
12714         Likewise.
12715         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12716         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12717         * sysdeps/sh/math_private.h: New file.
12718         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
12719         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
12720         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
12721         long double function name.
12722         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12723         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12724         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12725         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12726         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12728         Remove __finitel, __isinfl, and __isnanl.
12729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12730         Likewise.
12731         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12733         Remove __finitel.
12734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12735         Likewise.
12736         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12738 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
12740         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
12741         installed libmvec_nonshared.a.
12743 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12745         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
12746         (sysdep_routines): Likewise.
12747         (sysdep-rtld-routines): Likewise.
12748         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12749         [$(subdir) = nptl](tests-static): test-get_hwcap-static
12750         * sysdeps/powerpc/Versions: Added new
12751         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
12752         * sysdeps/powerpc/hwcapinfo.c: New file.
12753         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
12754         and parse hwcap, hwcap2 and platform number information.
12755         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
12756         to store HWCAP+HWCAP2 and platform number.
12757         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
12758         for HWCAP+HWCAP2 and platform number in the TCB.
12759         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
12760         the HWCAP, HWCAP2 and platform number in the TCB.
12761         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
12762         (TLS_INIT_TP): Included calls to add the hwcap and
12763         at_platform values in the TCB in TP initialization.
12764         (TLS_DEFINE_INIT_TP): Likewise.
12765         (THREAD_GET_HWCAP): New macro.
12766         (THREAD_SET_HWCAP): Likewise.
12767         (THREAD_GET_AT_PLATFORM): Likewise.
12768         (THREAD_SET_AT_PLATFORM): Likewise.
12769         * sysdeps/powerpc/powerpc32/dl-machine.h:
12770         (dl_platform_init): New function that calls
12771         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12772         powerpc32.
12773         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12774         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
12775         this functionality, static linking case.
12776         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
12777         linking case.
12778         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12779         __parse_hwcap_and_convert_at_platform for the static linking case.
12780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12781         Included the new __parse_hwcap_and_convert_at_platform symbol in the
12782         ABI list for GLIBC 2.23.
12783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12784         Likewise.
12785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12786         Likewise.
12788 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
12790         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12791         * configure: Regenerate.
12792         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12793         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
12795 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
12797         * iconvdata/ibm930.c: Add comment explaining encoding uses.
12798         * iconvdata/ibm933.c: Likewise.
12799         * iconvdata/ibm935.c: Likewise.
12800         * iconvdata/ibm937.c: Likewise.
12801         * iconvdata/ibm939.c: Likewise.
12803 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12805         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12806         pthread_join.
12807         * nptl/tst-cancel21.c (tf): Likewise.
12809 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12811         [BZ #19313]
12812         * bits/typesizes.h (__CPU_MASK_TYPE): New.
12813         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12814         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12815         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12816         Likewise.
12817         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12818         Likewise.
12819         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12820         Likewise.
12821         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12822         Likewise.
12823         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12824         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12825         unsigned long int with __CPU_MASK_TYPE.
12827 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12829         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12831 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
12833         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12834         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12835         t512.x.
12836         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
12838 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
12840         [BZ #19214]
12841         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
12842         argument to return extended model.  Update family and model
12843         with extended family and model when family == 0x0f.
12844         (init_cpu_features): Updated.
12846 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12848         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
12849         signed off_t, so 32bit bigger than 2GiB values are fine actually.
12851         * sysdeps/mach/hurd/mmap64.c: New file.
12853 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
12855         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
12856         rights for its main user thread in NEWTASK.
12858 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
12860         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
12861         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
12863 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
12865         [BZ #14259]
12866         * Makeconfig: Rename localedir to complocaledir.
12867         Rename inst_localedir to inst_complocaledir.
12868         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12869         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12870         * configure.ac: Use libc_cv_complocaledir.
12871         * configure: Regenerate.
12872         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12873         -DCOMPLOCALEDIR.
12874         * locale/findlocale.c: Use COMPLOCALEDIR.
12875         * locale/loadarchive.c: Likewise.
12876         * locale/programs/locale.c: Likewise.
12877         * locale/programs/localedef.c: Likewise.
12878         * locale/programs/locarchive.c: Likewise.
12879         * localedata/Makefile: Use inst_complocaledir.
12880         * sysdeps/gnu/configure: Regenerate.
12881         * sysdeps/hppa/configure: Regenerate.
12882         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12883         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12885         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12886         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12887         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12888         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12890 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
12892         [BZ #19058]
12893         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12894         AS_NEEDED.
12895         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12896         workaround.
12897         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
12898         libmvec-static-only-routines): Added new file.
12899         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
12901 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12903         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
12904         of interrupted RPC instead of restoring it.
12906         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
12907         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
12908         libc_hidden_def.
12909         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
12910         into initialized data instead of common. Define rtld_hidden_data_def.
12911         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
12912         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
12913         libc_hidden_def.
12914         (if_freenameindex): Add libc_hidden_weak.
12915         (if_nameindex): Add libc_hidden_weak.
12916         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
12917         __open64.
12918         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
12919         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
12920         * sysdeps/mach/nanosleep.c: Include <time.h>
12921         (__nanosleep): Rename to __libc_nanosleep.
12922         (__nanosleep): Add weak_alias.
12923         (nanosleep): Update alias.
12925 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
12927         * stdlib/strtod_nan.c: New file.
12928         * stdlib/strtod_nan_double.h: Likewise.
12929         * stdlib/strtod_nan_float.h: Likewise.
12930         * stdlib/strtod_nan_main.c: Likewise.
12931         * stdlib/strtod_nan_narrow.h: Likewise.
12932         * stdlib/strtod_nan_wide.h: Likewise.
12933         * stdlib/strtof_nan.c: Likewise.
12934         * stdlib/strtold_nan.c: Likewise.
12935         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
12936         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
12937         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
12938         * wcsmbs/wcstod_nan.c: Likewise.
12939         * wcsmbs/wcstof_nan.c: Likewise.
12940         * wcsmbs/wcstold_nan.c: Likewise.
12941         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
12942         strtold_nan.
12943         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
12944         wcstof_nan.
12945         * include/stdlib.h (__strtof_nan): Declare and use
12946         libc_hidden_proto.
12947         (__strtod_nan): Likewise.
12948         (__strtold_nan): Likewise.
12949         (__wcstof_nan): Likewise.
12950         (__wcstod_nan): Likewise.
12951         (__wcstold_nan): Likewise.
12952         * include/wchar.h (____wcstoull_l_internal): Declare.
12953         * stdlib/strtod_l.c: Do not include <ieee754.h>.
12954         (____strtoull_l_internal): Remove declaration.
12955         (STRTOF_NAN): Define macro.
12956         (SET_MANTISSA): Remove macro.
12957         (STRTOULL): Likewise.
12958         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
12959         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
12960         (STRTOF_NAN): Define macro.
12961         (SET_MANTISSA): Remove macro.
12962         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
12963         (SET_MANTISSA): Remove macro.
12964         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
12965         macro.
12966         (SET_MANTISSA): Remove macro.
12967         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
12968         macro.
12969         (SET_MANTISSA): Remove macro.
12970         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
12971         (SET_MANTISSA): Remove macro.
12972         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
12973         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
12974         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
12976         [BZ #19266]
12977         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
12978         upper case and lower case letters inside NAN(), not using TOLOWER.
12979         * stdlib/tst-strtod-nan-locale-main.c: New file.
12980         * stdlib/tst-strtod-nan-locale.c: Likewise.
12981         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
12982         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
12983         Depend on $(gen-locales).
12984         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
12985         * wcsmbs/tst-wcstod-nan-locale.c: New file.
12986         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
12987         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
12988         Depend on $(gen-locales).
12989         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
12991 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
12993         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
12995         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
12997         __finitel, __isinfl, and __isnanl.
12998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12999         Likewise.
13000         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
13002         __finitel.
13003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13004         Likewise.
13005         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13007 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13009         * malloc/memusage.c (me): Remove redundant getenv call.
13011 2015-10-24  Florian Weimer  <fweimer@redhat.com>
13013         [BZ #19143]
13014         [BZ #19164]
13015         * nptl/check-cpuset.h: Remove.
13016         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
13017         Remove CPU set size check.
13018         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
13019         Likewise.
13020         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
13021         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13022         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
13023         (__pthread_setaffinity_new): Remove CPU set size check.
13024         * sysdeps/unix/sysv/linux/sched_setaffinity.c
13025         (__kernel_cpumask_size): Remove.
13026         (__sched_setaffinity_new): Remove CPU set size check.
13027         * manual/threads.texi (Default Thread Attributes): Remove stale
13028         reference to check_cpuset_attr, determine_cpumask_size in comment.
13029         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
13030         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
13031         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
13032         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
13033         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
13034         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
13035         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
13036         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
13037         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
13038         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
13039         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
13040         skeleton test file.
13041         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
13042         tst-affinity-pid.
13044 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13046         * scripts/update-abilist.sh: New file.
13047         * Makefile (+subdir_targets): Add subdir_update-all-abi.
13048         * Makerules (update-all-abi-%, update-all-abi)
13049         (subdir_update-all-abi): New targets.
13050         * elf/Makefile (update-all-abi): New target.
13052 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13054         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
13055         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
13056         (__libc_lock_define_initialized): Use it.
13057         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
13058         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
13059         * malloc/malloc.c (main_arena): Likewise.
13060         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13061         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13063 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
13065         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13066         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
13067         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13068         (PTRACE_O_MASK): Update value.
13069         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
13070         New value in enum __ptrace_setoptions.
13071         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13072         (PTRACE_O_MASK): Update value.
13073         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13074         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13075         (PTRACE_O_MASK): Update value.
13076         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13077         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13078         (PTRACE_O_MASK): Update value.
13079         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13080         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13081         (PTRACE_O_MASK): Update value.
13082         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
13083         New value in enum __ptrace_setoptions.
13084         (PTRACE_O_MASK): Update value.
13085         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
13086         New value in enum __ptrace_setoptions.
13087         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13088         (PTRACE_O_MASK): Update value.
13090         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
13091         New macro.
13092         (PACKET_AUXDATA): Likewise.
13093         (PACKET_ORIGDEV): Likewise.
13094         (PACKET_VERSION): Likewise.
13095         (PACKET_HDRLEN): Likewise.
13096         (PACKET_RESERVE): Likewise.
13097         (PACKET_TX_RING): Likewise.
13098         (PACKET_LOSS): Likewise.
13099         (PACKET_VNET_HDR): Likewise.
13100         (PACKET_TX_TIMESTAMP): Likewise.
13101         (PACKET_TIMESTAMP): Likewise.
13102         (PACKET_FANOUT): Likewise.
13103         (PACKET_TX_HAS_OFF): Likewise.
13104         (PACKET_QDISC_BYPASS): Likewise.
13105         (PACKET_ROLLOVER_STATS): Likewise.
13106         (PACKET_FANOUT_DATA): Likewise.
13107         (PACKET_MR_UNICAST): Likewise.
13109         [BZ #19242]
13110         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
13111         (TOUPPER): Likewise.
13112         * stdlib/tst-strtol-locale-main.c: New file.
13113         * stdlib/tst-strtol-locale.c: Likewise.
13114         * stdlib/Makefile (tests): Add tst-strtol-locale.
13115         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
13116         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
13117         Depend on $(gen-locales).
13118         * wcsmbs/tst-wcstol-locale.c: New file.
13119         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
13120         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
13121         tr_TR.ISO-8859-9.
13122         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
13123         Depend on $(gen-locales).
13125 2015-11-20  Roland McGrath  <roland@hack.frob.com>
13127         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
13128         __glibc_likely instead of __builtin_expect.  After falling back to
13129         dyncode_create in a non-ET_DYN case, use the allocate_code_data
13130         system interface to register the code pages as occupied.
13132 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
13134         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13135         [!ARM_MATH_PRIVATE_H].
13136         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
13137         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13138         [!HPPA_MATH_PRIVATE_H].
13139         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
13140         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
13141         to [!I386_MATH_PRIVATE_H].
13142         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
13143         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
13144         Change guard to [!M68K_MATH_PRIVATE_H].
13145         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
13146         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
13147         guard to [!MICROBLAZE_MATH_PRIVATE_H].
13148         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
13149         macro.
13150         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13151         [!MIPS_MATH_PRIVATE_H].
13152         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
13153         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13154         [!NIO2_MATH_PRIVATE_H].
13155         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
13156         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13157         [!TILE_MATH_PRIVATE_H].
13158         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
13160         [BZ #15421]
13161         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
13162         initialize with 0 and define as weak alias of __signgam.
13163         * include/math.h [!_ISOMAC] (__signgam): Declare.
13164         * math/Makefile (libm-calls): Add w_lgamma_compat.
13165         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
13166         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
13167         test-signgam-ullong-init.
13168         (tests-static): Add test-signgam-uchar-static,
13169         test-signgam-uchar-init-static, test-signgam-uint-static,
13170         test-signgam-uint-init-static, test-signgam-ullong-static and
13171         test-signgam-ullong-init-static.
13172         (CFLAGS-test-signgam-uchar.c): New variable.
13173         (CFLAGS-test-signgam-uchar-init.c): Likewise.
13174         (CFLAGS-test-signgam-uchar-static.c): Likewise.
13175         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
13176         (CFLAGS-test-signgam-uint.c): Likewise.
13177         (CFLAGS-test-signgam-uint-init.c): Likewise.
13178         (CFLAGS-test-signgam-uint-static.c): Likewise.
13179         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
13180         (CFLAGS-test-signgam-ullong.c): Likewise.
13181         (CFLAGS-test-signgam-ullong-init.c): Likewise.
13182         (CFLAGS-test-signgam-ullong-static.c): Likewise.
13183         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
13184         * math/Versions (libm): Add GLIBC_2.23.
13185         * math/lgamma-compat.h: New file.
13186         * math/test-signgam-main.c: Likewise.
13187         * math/test-signgam-uchar-init-static.c: Likewise.
13188         * math/test-signgam-uchar-init.c: Likewise.
13189         * math/test-signgam-uchar-static.c: Likewise.
13190         * math/test-signgam-uchar.c: Likewise.
13191         * math/test-signgam-uint-init-static.c: Likewise.
13192         * math/test-signgam-uint-init.c: Likewise.
13193         * math/test-signgam-uint-static.c: Likewise.
13194         * math/test-signgam-uint.c: Likewise.
13195         * math/test-signgam-ullong-init-static.c: Likewise.
13196         * math/test-signgam-ullong-init.c: Likewise.
13197         * math/test-signgam-ullong-static.c: Likewise.
13198         * math/test-signgam-ullong.c: Likewise.
13199         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
13200         wrapper of w_lgamma_main.c.
13201         * math/w_lgamma_compat.c: New file.
13202         * math/w_lgamma_compatf.c: Likewise.
13203         * math/w_lgamma_compatl.c: Likewise.
13204         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
13205         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13206         defining compatibility symbols.
13207         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
13208         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
13209         wrapper of w_lgammaf_main.c.
13210         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
13211         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13212         defining compatibility symbols.
13213         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
13214         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
13215         wrapper of w_lgammal_main.c.
13216         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
13217         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13218         defining compatibility symbols.
13219         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
13220         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
13221         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
13222         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
13223         <lgamma-compat.h>.
13224         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
13225         (__ieee754_gamma): Define as alias.
13226         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
13227         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
13228         <lgamma-compat.h>.
13229         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
13230         (__ieee754_gammaf): Define as alias.
13231         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
13232         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
13233         <lgamma-compat.h>.
13234         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
13235         (__ieee754_gammal): Define as alias.
13236         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
13237         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
13238         <math/w_lgamma_compat.c>.
13239         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
13240         Define as alias of __lgamma_compat and use in defining lgammal.
13241         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
13242         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
13243         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
13244         (USE_AS_COMPAT): New macro.
13245         (LGAMMA_OLD_VER): Undefine and redefine.
13246         (lgammal): Do not define here.
13247         (gammal): Only define here if [GAMMA_ALIAS].
13248         * conform/linknamespace.pl (@whitelist): Remove signgam.
13249         * sysdeps/nacl/libm.abilist: Update.
13250         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13251         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13252         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13253         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13254         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13255         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13256         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13257         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13258         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13259         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13260         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13261         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13263         Likewise.
13264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13265         Likewise.
13266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13267         Likewise.
13268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13269         Likewise.
13270         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13271         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13272         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13273         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13274         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13276         Likewise.
13277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13278         Likewise.
13279         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13280         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13281         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13283 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13285         [BZ #16364]
13286         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
13287         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
13289 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13291         * sysdeps/s390/fpu/bits/mathinline.h:
13292         Use __asm__ [__volatile__] instead of asm [volatile].
13293         * sysdeps/s390/abort-instr.h: Likewise.
13294         * sysdeps/s390/atomic-machine.h: Likewise.
13295         * sysdeps/s390/bits/string.h: Likewise.
13296         * sysdeps/s390/dl-tls.h: Likewise.
13297         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13298         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13299         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13300         * sysdeps/s390/fpu/fesetround.c: Likewise.
13301         * sysdeps/s390/fpu/fpu_control.h: Likewise.
13302         * sysdeps/s390/fpu/s_fma.c: Likewise.
13303         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
13304         * sysdeps/s390/memusage.h: Likewise.
13305         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
13306         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
13307         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
13308         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
13309         * sysdeps/s390/nptl/tls.h: Likewise.
13310         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
13311         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13312         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13313         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13314         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13315         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13316         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
13317         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13318         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13319         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
13320         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13321         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13322         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13323         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
13324         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13325         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13326         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
13327         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13328         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
13329         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13330         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
13331         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13332         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
13334 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13335             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13337         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13338         Add lwarx hint, and use macro for acquire instruction.
13339         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13340         Likewise.
13341         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
13342         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
13343         update to use new atomic macros.
13345 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13347         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13348         (__lll_trylock_elision): Fix setting of adapt_count.
13349         * sysdeps/unix/sysv/linux/powerpc/htm.h
13350         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
13351         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
13352         (_ABORT_SYSCALL): Renumber, and clarify definition.
13353         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
13355 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13357         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
13358         after system headers to prevent MIN/MAX redefinition.  Define
13359         HAVE_ALLOCA to preserve builtin alloca usage.
13361 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13363         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
13364         static and don't set or restore rounding.
13365         (__cos)[IN_SINCOS]: Likewise.
13366         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
13367         (__sincos): Set and restore rounding mode.  Remove check for infinite
13368         or NaN input.
13370         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
13372         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
13373         as used.
13375 2015-11-16  Florian Weimer  <fweimer@redhat.com>
13377         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
13379 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13381         * config.make.in (have-glob-dat-reloc): New.
13382         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
13383         target supports GLOB_DAT relocaton. AC_SUBST.
13384         * configure: Regenerated.
13385         * elf/Makefile (tests): Add tst-prelink.
13386         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13387         (tst-prelink-ENV): New.
13388         ($(objpfx)tst-prelink-conflict.out): Likewise.
13389         ($(objpfx)tst-prelink-cmp.out): Likewise.
13390         * sysdeps/x86/tst-prelink.c: Moved to ...
13391         * elf/tst-prelink.c: Here.
13392         * sysdeps/x86/tst-prelink.exp: Moved to ...
13393         * elf/tst-prelink.exp: Here.
13394         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13395         (tst-prelink-ENV): Removed.
13396         ($(objpfx)tst-prelink-conflict.out): Likewise.
13397         ($(objpfx)tst-prelink-cmp.out): Likewise.
13398         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13400 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
13402         [BZ #14551]
13403         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13404         (__mpn_construct_long_double): If high part overflows to infinity,
13405         set errno and recompute overflowed result of the correct sign.
13406         * sysdeps/ieee754/ldbl-128ibm/Makefile
13407         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13408         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13409         $(libm).
13410         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13412 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
13414         [BZ #15479]
13415         [BZ #19238]
13416         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13417         floating-point state after first operation on input.  Restore full
13418         state rather than just rounding mode.
13419         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13420         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13421         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13423         [BZ #19235]
13424         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
13425         add 0.5 to integer arguments.
13426         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
13427         Likewise.
13428         (.LC2): New object.
13430 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
13432         * scripts/pylintrc (reports): Set to no.
13434 2015-11-10  Roland McGrath  <roland@hack.frob.com>
13436         * elf/dl-load.c (open_verify): Take new argument FD.
13437         Skip __open call if passed FD is not -1.
13438         (_dl_map_object, open_path): Update callers.
13439         * elf/dl-sysdep-open.h: New file.
13440         * elf/dl-load.c: Include it.
13441         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
13442         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
13443         * sysdeps/nacl/dl-sysdep-open.h: New file.
13444         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
13445         from libc to rtld.
13447 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13449         [BZ #19228]
13450         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
13451         and restore full floating-point state.
13452         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13453         Likewise.
13454         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13455         Likewise.
13456         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13457         Likewise.
13458         * math/test-nearbyint-except-2.c: New file.
13459         * math/Makefile (tests): Add test-nearbyint-except-2.
13461 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
13463         [BZ #19178]
13464         * sysdeps/x86/Makefile (tests): Add tst-prelink.
13465         (tst-prelink-ENV): New.
13466         ($(objpfx)tst-prelink-conflict.out): Likewise.
13467         ($(objpfx)tst-prelink-cmp.out): Likewise.
13468         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13469         * sysdeps/x86/tst-prelink.c: New file.
13470         * sysdeps/x86/tst-prelink.exp: Likewise.
13472 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13474         * math/auto-libm-test-in: Add another test of pow.
13475         * math/auto-libm-test-out: Regenerated.
13476         * math/libm-test.inc (pow_test_data): Add another test.
13478 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13480         [BZ #19219]
13481         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
13482         weak_alias to nearbyintl.
13484 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13486         * sysdeps/aarch64/bits/string.h: New file.
13487         (_STRING_ARCH_unaligned): Define.
13489 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13491         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
13492         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13493         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13494         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
13495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
13497 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
13499         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
13500         for original name of the DSO.  Add it to the name list of the DSO
13501         if it is actually given.
13502         (_dl_map_object): Keep track of whether an audit module rewrote
13503         the file name.  If yes, pass the original name to
13504         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
13505         debugging is enabled, log the change of the file name.
13506         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
13507         _dl_map_object_from_fd.
13508         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
13509         * elf/tst-audit11.c: New file
13510         * elf/tst-auditmod11.c: New file.
13511         * elf/tst-audit11mod1.c: New file.
13512         * elf/tst-audit11mod2.c: New file.
13513         * elf/tst-audit11mod2.map: New file.
13514         * elf/tst-audit12.c: New file
13515         * elf/tst-auditmod12.c: New file.
13516         * elf/tst-audit12mod1.c: New file.
13517         * elf/tst-audit12mod2.c: New file.
13518         * elf/tst-audit12mod2.map: New file.
13519         * elf/tst-audit12mod3.c: New file.
13521 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13523         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
13524         Don't create weak aliases,
13525         because versioned symbols are created later.
13526         * sysdeps/s390/s390-32/setjmp.S
13527         (setjmp, _setjmp): Remove weak and rename to an unique name
13528         in SHARED case due to existing versioned symbols.
13529         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13530         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
13531         (getcontext): Create weak alias only in non SHARED case.
13532         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13534 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13536         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
13537         (__ASSUME_*_SYSCALL) Define new macros.
13538         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
13539         Remove socketcall syscalls.
13540         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
13541         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
13542         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
13543         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
13544         * sysdeps/unix/sysv/linux/send.c (__libc_send):
13545         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
13547 2015-11-09  Florian Weimer  <fweimer@redhat.com>
13549         [BZ #12926]
13550         Terminate process on invalid netlink response.
13551         * sysdeps/unix/sysv/linux/netlinkaccess.h
13552         (__netlink_assert_response): Declare.
13553         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
13554         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
13555         (sysdep_routines): Add netlink_assert_response.
13556         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
13557         __netlink_assert_response.
13558         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13559         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13560         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
13561         __netlink_assert_response.
13563 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13565         [BZ #19178]
13566         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
13567         (RTYPE_CLASS_PLT): Likewise.
13568         (RTYPE_CLASS_COPY): Likewise.
13569         (RTYPE_CLASS_TLS): Likewise.
13570         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
13571         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
13572         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
13573         DL_DEBUG_PRELINK.
13575 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
13577         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
13578         calls with argument -0.5.
13579         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
13581         * configure.ac (libc_cv_z_nodelete): Remove configure test.
13582         (libc_cv_z_nodlopen): Likewise.
13583         (libc_cv_z_initfirst): Likewise.
13584         * configure: Regenerated.
13586 2015-11-06  Florian Weimer  <fweimer@redhat.com>
13588         Simplify abilist format to be line-based.
13589         * scripts/abilist.awk: Collect descriptors in the descs variable.
13590         (emit): Write descs variable and sort it
13591         externally, with sort.
13592         * sysdeps/**/*.abilist: Convert to new format.
13594 2015-11-06  Mark Wielaard  <mjw@redhat.com>
13596         [BZ #11460]
13597         * io/Makefile (routines): Add fts64.
13598         (tests): Add tst-fts and tst-fts-lfs.
13599         (CFLAGS-fts64.c): New.
13600         * io/Versions (GLIBC_2.23): New.
13601         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
13602         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
13603         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
13604         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
13605         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
13606         (FTSENT64): Likewise.
13607         (fts64_children): Likewise.
13608         (fts64_close): Likewise.
13609         (fts64_open): Likewise.
13610         (fts64_read): Likewise.
13611         (fts64_set): Likewise.
13612         * io/fts64.c: New file.
13613         * io/tst-fts.c: New test.
13614         * io/tst-fts-lfs.c: Likewise.
13615         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
13616         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
13617         fts64_set.
13618         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13619         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13620         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13621         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13622         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13623         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13624         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13625         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13626         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13627         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13628         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13629         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13630         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13632         Likewise.
13633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13634         Likewise.
13635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13637         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13638         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13639         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13640         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13641         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13644         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13645         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13646         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13647         * sysdeps/wordsize-64/fts.c: New file.
13648         * sysdeps/wordsize-64/fts64.c: Likewise.
13649         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
13650         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
13651         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
13652         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
13654 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13656         * math/libm-test.inc (NON_FINITE): New macro.
13657         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
13658         * math/gen-libm-test.pl (show_exceptions): Add argument
13659         $non_finite.
13660         (parse_args): Update call to show_exceptions.
13661         * math/test-math-finite.h: New file.
13662         * math/test-math-no-finite.h: Likewise.
13663         * math/test-double-finite.c: Likewise.
13664         * math/test-float-finite.c: Likewise.
13665         * math/test-ldouble-finite.c: Likewise.
13666         * math/test-double.c: Include "test-math-no-finite.h".
13667         * math/test-float.c: Include "test-math-no-finite.h".
13668         * math/test-ldouble.c: Include "test-math-no-finite.h".
13669         * math/test-math-inline.h (TEST_FINITE): New macro.
13670         * math/test-math-vector.h (TEST_FINITE): Likewise.
13671         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
13672         (libm-tests): Add test-float-finite and test-double-finite.
13673         ($(objpfx)test-float-finite.o): New dependency on
13674         $(objpfx)libm-test.stmp.
13675         ($(objpfx)test-double-finite.o): Likewise.
13676         ($(objpfx)test-ldouble-finite.o): Likewise.
13677         (libm-test-no-inline-cflags): New variable.
13678         (libm-test-finite-cflags): Likewise.
13679         (CFLAGS-test-float-finite.c): Likewise.
13680         (CFLAGS-test-double-finite.c): Likewise.
13681         (CFLAGS-test-ldouble-finite.c): Likewise.
13682         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
13683         (CFLAGS-test-double.c): Likewise.
13684         (CFLAGS-test-ldouble.c): Likewise.
13686 2015-11-05  Roland McGrath  <roland@hack.frob.com>
13688         * io/fcntl.c (__fcntl): Add ... to prototype.
13689         * misc/ioctl.c (__ioctl): Likewise.
13690         * misc/syscall.c (syscall): Likewise.
13692 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13694         * scripts/list-fixed-bugs.py: New file.
13696         [BZ #19213]
13697         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
13698         returned for argument 1.
13699         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
13700         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
13701         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
13702         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
13703         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
13704         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
13706         [BZ #19211]
13707         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
13708         __USE_XOPEN], not if [!__USE_ISOC99].
13709         (lgammaf): Likewise.
13710         (lgammal): Likewise.
13711         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
13712         (gammaf): Likewise.
13713         (gammal): Likewise.
13714         * math/test-signgam-finite-c11.c: New file.
13715         * math/test-signgam-finite-c99.c: Likewise.
13716         * math/test-signgam-finite.c: Likewise.
13717         * math/Makefile (tests): Add test-signgam-finite,
13718         test-signgam-finite-c99 and test-signgam-finite-c11.
13719         (CFLAGS-test-signgam-finite.c): New variable.
13720         (CFLAGS-test-signgam-finite-c99.c): Likewise.
13721         (CFLAGS-test-signgam-finite-c11.c): Likewise.
13723         [BZ #19212]
13724         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
13725         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
13726         500].
13727         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
13728         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
13729         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
13730         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
13731         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
13732         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
13733         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
13734         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
13735         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
13736         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
13738         [BZ #19209]
13739         * math/bits/math-finite.h (ldexp): Remove declaration.
13740         (ldexpf): Likewise.
13741         (ldexpl): Likewise.
13743         [BZ #19205]
13744         * math/bits/math-finite.h (acosf): Condition declaration on
13745         [__USE_ISOC99].
13746         (acosl): Likewise.
13747         (acoshf): Likewise.
13748         (acoshl): Likewise.
13749         (asinf): Likewise.
13750         (asinl): Likewise.
13751         (atan2f): Likewise.
13752         (atan2l): Likewise.
13753         (atanhf): Likewise.
13754         (atanhl): Likewise.
13755         (coshf): Likewise.
13756         (coshl): Likewise.
13757         (expf): Likewise.
13758         (expl): Likewise.
13759         (fmodf): Likewise.
13760         (fmodl): Likewise.
13761         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
13762         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
13763         (j0l): Likewise.
13764         (y0f): Likewise.
13765         (y0l): Likewise.
13766         (j1f): Likewise.
13767         (j1l): Likewise.
13768         (y1f): Likewise.
13769         (y1l): Likewise.
13770         (jnf): Likewise.
13771         (jnl): Likewise.
13772         (ynf): Likewise.
13773         (ynl): Likewise.
13774         (lgammaf_r): Condition declaration on [__USE_ISOC99].
13775         (lgammal_r): Likewise.
13776         (__lgamma_r_finite): New declaration.
13777         (__lgammaf_r_finite): Likewise.
13778         (__lgammal_r_finite): Likewise.
13779         (lgamma): Use __lgamma_r_finite.
13780         (lgammaf): Condition definition on [__USE_ISOC99].  Use
13781         __lgammaf_r_finite.
13782         (lgammal): Condition definition on [__USE_ISOC99].  Use
13783         __lgammal_r_finite.
13784         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
13785         __lgamma_r_finite.
13786         (gammaf): Condition definition on [__USE_ISOC99].  Use
13787         __lgammaf_r_finite.
13788         (gammal): Condition definition on [__USE_ISOC99].  Use
13789         __lgammal_r_finite.
13790         (logf): Condition declaration on [__USE_ISOC99].
13791         (logl): Likewise.
13792         (log10f): Likewise.
13793         (log10l): Likewise.
13794         (ldexpf): Likewise.
13795         (ldexpl): Likewise.
13796         (powf): Likewise.
13797         (powl): Likewise.
13798         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13799         __USE_ISOC99].
13800         (remainderf): Condition declaration on [__USE_ISOC99].
13801         (remainderl): Likewise.
13802         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13803         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13804         (scalbl): Likewise.
13805         (sinhf): Condition declaration on [__USE_ISOC99].
13806         (sinhl): Likewise.
13807         (sqrtf): Likewise.
13808         (sqrtl): Likewise.
13810 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13812         * sysdeps/arm/atomic-machine.h
13813         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13814         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13815         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13816         Remove conditional code.
13817         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13818         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13819         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13820         Change conditional to [__ASSEMBLER__].
13821         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13822         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13823         [!__ASSEMBLER__].
13824         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13825         code.
13826         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13827         conditional macro definitions.
13828         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13829         (__arch_compare_and_exchange_val_16_acq): Likewise.
13830         (__arch_compare_and_exchange_val_32_acq): Likewise.
13831         (atomic_exchange_and_add): Likewise.
13832         (atomic_add): Likewise.
13833         (atomic_add_negative): Likewise.
13834         (atomic_add_zero): Likewise.
13835         (atomic_bit_set): Likewise.
13836         (atomic_bit_test_set): Likewise.
13837         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
13838         code unconditional.
13839         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13841         * math/test-math-errno.h: New file.
13842         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
13843         empty.
13844         (TEST_ERRNO): New macro.
13845         (TEST_EXCEPTIONS): Likewise.
13846         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
13847         (TEST_EXCEPTIONS): Likewise.
13848         * math/test-math-vector.h (TEST_ERRNO): Likewise.
13849         * math/test-double.c: Include "test-math-errno.h".
13850         * math/test-float.c: Likewise.
13851         * math/test-ldouble.c: Likewise.
13852         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
13853         code unconditional.
13854         (test_exceptions): Only run code if TEST_EXCEPTIONS.
13855         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
13856         unconditional.
13857         (test_errno): Only run code if TEST_ERRNO.
13858         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
13860 2015-11-04  Florian Weimer  <fweimer@redhat.com>
13862         * nptl/tst-once5.cc: Remove attribution.
13864 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13866         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13867         sqrt, tan, tanh, y0, y1 and yn.
13868         * math/auto-libm-test-out: Regenerated.
13869         * math/libm-test.inc (scalb_test_data): Add more tests.
13870         (scalbn_test_data): Likewise.
13871         (scalbln_test_data): Likewise.
13872         (signbit_test_data): Likewise.
13873         (sin_test_data): Likewise.
13874         (sincos_test_data): Likewise.
13875         (sinh_test_data): Likewise.
13876         (sqrt_test_data): Likewise.
13877         (tan_test_data): Likewise.
13878         (tanh_test_data): Likewise.
13879         (tgamma_test_data): Likewise.
13880         (y0_test_data): Likewise.
13881         (y1_test_data): Likewise.
13882         (yn_test_data): Likewise.
13883         (significand_test_data): Likewise.
13884         * sysdeps/i386/fpu/libm-test-ulps: Update.
13886 2015-11-03  David Kastrup  <dak@gnu.org>
13888         [BZ #18604]
13889         * assert/assert.h (assert): Don't macro-expand failed assertion
13890         expression in error message.
13891         * malloc/malloc.c (assert): Likewise.
13893 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
13895         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13896         test.
13897         * configure: Regenerated.
13899 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
13901         * math/libm-test.inc (modf_test_data): Add more tests.
13902         (nearbyint_test_data): Likewise.
13903         (nextafter_test_data): Likewise.
13904         (nexttoward_test_data): Likewise.
13905         (pow_test_data): Likewise.
13906         (remainder_test_data): Likewise.
13907         (remquo_test_data): Likewise.
13908         (rint_test_data): Likewise.
13910         [BZ #19201]
13911         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13912         Check for zero remainder in case of large exponents and ensure
13913         correct sign of result in that case.
13914         * math/libm-test.inc (remainder_test_data): Add more tests.
13916         [BZ #6799]
13917         * math/s_nextafter.c: Include <errno.h>.
13918         (__nextafter): Set errno on overflow and underflow.
13919         * math/s_nexttowardf.c: Include <errno.h>.
13920         (__nexttowardf): Set errno on overflow and underflow.
13921         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
13922         (__nextafterl): Set errno on overflow and underflow.
13923         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
13924         (__nexttoward): Set errno on overflow and underflow.
13925         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
13926         (__nexttowardf): Set errno on overflow and underflow.
13927         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
13928         (__nextafterf): Set errno on overflow and underflow.
13929         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
13930         (__nextafterl): Set errno on overflow and underflow.
13931         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
13932         (__nexttoward): Set errno on overflow and underflow.
13933         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
13934         (__nexttowardf): Set errno on overflow and underflow.
13935         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
13936         (__nextafterl): Set errno on overflow and underflow.
13937         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
13938         (__nexttoward): Set errno on overflow and underflow.
13939         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
13940         (__nexttowardf): Set errno on overflow and underflow.
13941         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
13942         (__nexttoward): Set errno on overflow and underflow.
13943         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
13944         (__nexttowardf): Set errno on overflow and underflow.
13945         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
13946         (__nldbl_nexttowardf): Set errno on overflow and underflow.
13947         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
13948         (__nextafterl): Set errno on overflow and underflow.
13949         * math/libm-test.inc (nextafter_test_data): Do not allow errno
13950         setting to be missing on overflow.  Add more tests.
13951         (nexttoward_test_data): Likewise.
13953         * configure.ac (libc_cv_initfini_array): Remove configure test.
13954         * configure: Regenerated.
13956 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
13958         [BZ #19189]
13959         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
13960         non-finite argument handle arguments with negative sign.
13962         * math/libm-test.inc (j0_test_data): Do not test sign of zero
13963         result from infinite argument.
13964         (j1_test_data): Likewise.
13965         (jn_test_data): Likewise.
13966         (y0_test_data): Likewise.
13967         (y1_test_data): Likewise.
13968         (yn_test_data): Likewise.
13970         [BZ #16171]
13971         * math/w_remainder.c (drem): Define as weak alias of __remainder.
13972         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
13973         * math/w_remainderf.c (dremf): Define as weak alias of
13974         __remainderf.
13975         * math/w_remainderl.c (dreml): Define as weak alias of
13976         __remainderl.
13977         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
13978         __remainder.
13979         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
13980         __remainderf.
13981         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
13982         __remainderl.
13983         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
13984         weak alias of remainderl.
13985         * sysdeps/ieee754/ldbl-opt/w_remainder.c
13986         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
13987         alias of __remainder.
13988         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
13989         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
13990         strong alias of __remainderl.
13991         (dreml): Use long_double_symbol.
13992         * math/Makefile (libm-calls): Remove w_drem.
13993         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
13994         (CFLAGS-nldbl-drem.c): Remove variable.
13995         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
13996         * math/w_drem.c: Remove file.
13997         * math/w_dremf.c: Likewise.
13998         * math/w_dreml.c: Likewise.
13999         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
14000         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
14001         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
14003         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
14004         * sysdeps/i386/configure: Regenerated.
14005         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
14006         * sysdeps/x86_64/configure: Regenerated.
14008         * configure.ac (libc_cv_asm_protected_directive): Remove configure
14009         test.
14010         (libc_cv_visibility_attribute): Likewise.
14011         (libc_cv_protected_data): Test unconditionally.
14012         (libc_cv_broken_visibility_attribute): Remove configure test.
14013         (libc_cv_have_sdata_section): Test unconditionally.
14014         * configure: Regenerated.
14016         * include/libc-internal.h (libc_max_align_t): Remove typedef.
14017         * include/scratch_buffer.h: Include <stddef.h> instead of
14018         <libc-internal.h>.
14019         (struct scratch_buffer): Use max_align_t instead of
14020         libc_max_align_t.
14022 2015-10-29  Florian Weimer  <fweimer@redhat.com>
14024         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
14025         instead of extend_alloca.  Change control flow to avoid a goto.
14026         Remove assert which is trivially always true.
14028 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14030         [BZ #16068]
14031         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
14032         (FE_ALL_EXCEPT_X86): New macro.
14033         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14034         FE_ALL_EXCEPT.  Ensure precision control is included in
14035         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14036         handle "denormal operand exception" and clear FZ and DAZ bits.
14037         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
14038         (FE_ALL_EXCEPT_X86): New macro.
14039         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14040         FE_ALL_EXCEPT.  Ensure precision control is included in
14041         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14042         handle "denormal operand exception" and clear FZ and DAZ bits.
14043         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
14044         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
14045         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14046         test-fenv-x87 and test-fenv-sse-2.
14047         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
14049         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
14050         * math/test-double.h (BUILD_COMPLEX): New macro.
14051         * math/test-float.h (BUILD_COMPLEX): Likewise.
14052         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
14054         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
14055         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
14056         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
14057         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
14058         instead of DBL_DENORM_MIN in comment.
14059         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
14060         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14061         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
14062         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
14063         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
14064         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14066 2015-10-28  Florian Weimer  <fweimer@redhat.com>
14068         [BZ# 19048]
14069         * malloc/malloc.c (struct malloc_state): Update comment.  Add
14070         attached_threads member.
14071         (main_arena): Initialize attached_threads.
14072         * malloc/arena.c (list_lock): Update comment.
14073         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
14074         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
14075         (deattach_arena): New function.
14076         (_int_new_arena): Initialize arena reference count and deattach
14077         replaced arena.
14078         (get_free_list, reused_arena): Update reference count and deattach
14079         replaced arena.
14080         (arena_thread_freeres): Update arena reference count and only put
14081         unreferenced arenas on the free list.
14083 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14085         [BZ #19181]
14086         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
14087         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
14088         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
14089         * math/test-fenv-clear-main.c: New file.
14090         * math/test-fenv-clear.c: Likewise.
14091         * math/Makefile (tests): Add test-fenv-clear.
14092         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
14093         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14094         test-fenv-clear-sse.
14095         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
14097         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
14098         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
14099         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
14101 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14103         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
14104         static libc.
14106 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14108         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
14109         test.
14110         * sysdeps/i386/configure: Regenerated.
14111         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
14112         test.
14113         * sysdeps/x86_64/configure: Regenerated.
14114         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
14115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14116         memset-avx2 unconditionally instead of conditionally on
14117         [$(config-cflags-avx2) = yes].
14118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14119         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
14120         unconditional.
14121         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
14122         * sysdeps/x86_64/multiarch/memset_chk.S
14123         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
14124         to [IS_IN (libc) && SHARED].
14126 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14128         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
14129         configure test.
14130         * sysdeps/arm/configure: Regenerated.
14131         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
14132         Define variable if not already defined.
14134         [BZ #17404]
14135         * sysdeps/mips/atomic-machine.h
14136         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
14137         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
14138         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14140         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
14141         unconditional.
14142         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
14143         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14144         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
14145         unconditional.
14146         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14147         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
14148         unconditional.
14149         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14150         * stdlib/setenv.c
14151         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
14152         code unconditional.
14153         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
14154         Remove conditional code.
14155         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
14156         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
14157         unconditional.
14158         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14159         code.
14160         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
14161         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
14162         unconditional.
14163         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14164         code.
14165         * sysdeps/ieee754/ldbl-128/k_tanl.c
14166         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14167         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14168         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
14169         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14170         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14171         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
14172         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
14173         unconditional.
14174         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14175         code.
14176         * sysdeps/ieee754/ldbl-96/k_tanl.c
14177         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14178         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14180         * nptl/tst-initializers1-c11.c: New file.
14181         * nptl/tst-initializers1-gnu11.c: Likewise.
14182         * nptl/Makefile (tests): Add these new tests.
14183         (CFLAGS-tst-initializers1-c11.c): New variable.
14184         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
14186         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
14187         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
14188         instead of -std=gnu99.
14189         * configure.ac (systemtap): Test with -std=gnu11 instead of
14190         -std=gnu99.
14191         * configure: Regenerated.
14192         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
14193         in compilation command in comment.
14195         * sysdeps/nptl/configure.ac: Remove file.
14196         * sysdeps/nptl/configure: Remove generated file.
14197         * configure.ac (libc_cv_forced_unwind): Do not substitute.
14198         * configure: Regenerated.
14199         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
14200         * config.make.in (have-forced-unwind): Remove variable.
14201         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14202         unconditional.
14203         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
14204         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
14205         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
14206         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
14207         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14208         unconditional.
14210 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14212         [BZ #19174]
14213         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
14214         .skip_lock_out_of_tbegin_retries.
14215         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14216         (__lll_lock_elision): Likewise, and respect a value of
14217         try_tbegin <= 0.
14219 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14221         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
14222         statement.
14224 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14226         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
14227         variable.
14228         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14229         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14231         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
14232         of -std=c1x -D_ISOC11_SOURCE.
14234         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
14235         * configure: Regenerated.
14236         * manual/install.texi (Tools for Compilation): Document
14237         requirement for GCC 4.7 or later.
14238         * INSTALL: Regenerated.
14240 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
14242         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
14243         on CNT to a conditional jump to 'puntdata'.
14245 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14247         * configure.ac (libc_cv_gcc___thread): Remove configure test.
14248         (libc_cv_gcc_tls_model_attr): Likewise.
14249         * configure: Regenerated.
14251         * configure.ac (libc_cv_need_minus_P): Remove configure test.
14252         * configure: Regenerated.
14253         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
14255 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
14257         * configure.ac (old_glibc_headers): Remove configure test.
14258         * configure: Regenerated.
14259         * config.make.in (old-glibc-headers): Remove variable.
14260         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
14261         (install): Remove dependency on remove-old-headers.
14262         (headers2_0): Remove variable.
14263         (remove-old-headers): Remove rule.
14265         * configure.ac (libc_cv_dot_text): Remove configure test.
14266         (libc_cv_asm_set_directive): Use .text instead of
14267         ${libc_cv_dot_text} in configure test.
14268         * configure: Regenerated.
14270 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14272         [BZ #19168]
14273         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14275 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14277         * configure.ac (CXX): Clear the variable if the C++ toolchain does
14278         not support static linking.
14279         * configure: Regenerate.
14281 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
14283         * math/libm-test.inc (check_float_internal): Do not special-case
14284         errors up to 0.5 ulp.
14286         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14287         log2.
14288         * math/auto-libm-test-out: Regenerated.
14289         * math/libm-test.inc (MAX_EXP): New macro.
14290         (ilogb_test_data): Add more tests.
14291         (isfinite_test_data): Likewise.
14292         (isgreater_test_data): Likewise.
14293         (isgreaterequal_test_data): Likewise.
14294         (isinf_test_data): Likewise.
14295         (isless_test_data): Likewise.
14296         (islessequal_test_data): Likewise.
14297         (islessgreater_test_data): Likewise.
14298         (isnan_test_data): Likewise.
14299         (isnormal_test_data): Likewise.
14300         (issignaling_test_data): Likewise.
14301         (isunordered_test_data): Likewise.
14302         (j0_test_data): Likewise.
14303         (j1_test_data): Likewise.
14304         (jn_test_data): Likewise.
14305         (lgamma_test_data): Likewise.
14306         (log_test_data): Likewise.
14307         (log10_test_data): Likewise.
14308         (log1p_test_data): Likewise.
14309         (log2_test_data): Likewise.
14310         (logb_test_data): Likewise.
14311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14313         [BZ #18611]
14314         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
14315         avoid excess range and precision on underflow.
14316         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14317         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14318         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14319         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
14320         underflow.
14321         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14322         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14323         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14324         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14325         * math/auto-libm-test-in: Do not allow missing errno setting for
14326         tests of j1 and jn.
14327         * math/auto-libm-test-out: Regenerated.
14329 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
14331         [BZ #15491]
14332         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
14333         floating-point environment instead of clearing all exceptions.
14334         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14335         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
14336         merging in "invalid" exceptions from frndint.
14337         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14338         * math/test-nearbyint-except.c: New file.
14339         * math/Makefile (tests): Add test-nearbyint-except.
14341 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
14343         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
14345         * sysdeps/tile/libm-test-ulps: Regenerated.
14347 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
14350         (__NR_sync_file_range2): Assume it is always defined.
14351         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14352         (__NR_sync_file_range): Assume it is always defined.
14354 2015-10-22  Andreas Schwab  <schwab@suse.de>
14356         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14357         INTERNAL_SYSCALL_ERRNO.
14358         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14359         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14360         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14361         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14362         Likewise.
14363         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14365 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14367         * io/tst-fcntl.c (fd): New static variable.
14368         (do_prepare): Open temporary file here....
14369         (do_test): ...not here.
14371         * io/ftwtest-sh: Also trap on exit to remove temporary files.
14373 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14375         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
14376         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14377         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14378         Moved before "#ifdef __ASSEMBLER__".
14380 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14382         [BZ #19156]
14383         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
14384         arguments very close to 0.
14386 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
14388         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
14389         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
14391 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14393         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14394         New.  Defined for GCC 5 and above when not compiling for
14395         profiling.
14396         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14398         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14399         Renamed to ...
14400         (CFLAGS-epoll_pwait.o): This.
14401         (CFLAGS-mmap.c): Renamed to ...
14402         (CFLAGS-mmap.o): This.
14403         (CFLAGS-mmap64.c): Renamed to ...
14404         (CFLAGS-mmap64.o): This.
14405         (CFLAGS-epoll_pwait.os): New.
14406         (CFLAGS-mmap.os): Likewise.
14407         (CFLAGS-mmap64.os): Likewise.
14408         (CFLAGS-semtimedop.os): Likewise.
14409         (CFLAGS-semtimedop.c): Renamed to ...
14410         (CFLAGS-semtimedop.o): This.
14412 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14414         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14415         warning message.
14417 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14419         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
14420         * Makefile ($(objpfx)c++-types-check.out): Filter out
14421         $(+gccwarn-c) instead of -Wstrict-prototypes.
14423         * io/fts.c (fts_open): Convert to prototype-style function
14424         definition.
14425         * malloc/mcheck.c (mcheck): Likewise.
14426         (mcheck_pedantic): Likewise.
14427         * posix/regexec.c (re_search_2_stub): Likewise.  Use
14428         internal_function.
14429         (re_search_internal): Likewise.
14430         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
14431         prototype-style function definition.
14432         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14433         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14434         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
14435         (xdr_utmpptr): Likewise.
14436         (xdr_utmparr): Likewise.
14437         (xdr_utmpidle): Likewise.
14438         (xdr_utmpidleptr): Likewise.
14439         (xdr_utmpidlearr): Likewise.
14441         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
14442         log, log10 and log2.
14443         * math/auto-libm-test-out: Regenerated.
14444         * math/libm-test.inc (fmod_test_data): Add more tests.
14445         (fpclassify_test_data): Likewise.
14446         (frexp_test_data): Likewise.
14447         (hypot_test_data): Likewise.
14448         (ilogb_test_data): Likewise.
14450 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
14452         * debug/fortify_fail.c (__fortify_fail): Convert to
14453         prototype-style function definition.  Use internal_function.
14454         * libio/genops.c (save_for_backup): Convert to prototype-style
14455         function definition.
14456         * libio/wgenops.c (save_for_wbackup): Likewise.
14457         * login/grantpt.c (grantpt): Likewise.
14458         * login/ptsname.c (ptsname): Likewise.
14459         (__ptsname_r): Likewise.
14460         * login/unlockpt.c (unlockpt): Likewise.
14461         * mach/msgserver.c (__mach_msg_server): Likewise.
14462         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14463         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
14464         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
14465         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
14466         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
14467         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
14468         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
14469         Likewise.
14470         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
14471         internal_function.
14472         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
14473         prototype-style function definition.
14474         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
14475         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
14476         (__pthread_create_2_0): Likewise.
14477         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
14478         * nptl/register-atfork.c (__register_atfork): Likewise.
14479         * posix/glob.c (glob): Likewise.
14480         * posix/regcomp.c (re_comp): Likewise.
14481         * posix/regexec.c (re_exec): Likewise.
14482         * stdlib/add_n.c [__STDC__]: Make code unconditional.
14483         [!__STDC__]: Remove conditional code.
14484         * stdlib/cmp.c [__STDC__]: Make code unconditional.
14485         [!__STDC__]: Remove conditional code.
14486         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
14487         [!__STDC__]: Remove conditional code.
14488         * stdlib/divrem.c [__STDC__]: Make code unconditional.
14489         [!__STDC__]: Remove conditional code.
14490         * stdlib/lshift.c [__STDC__]: Make code unconditional.
14491         [!__STDC__]: Remove conditional code.
14492         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
14493         [!__STDC__]: Remove conditional code.
14494         * stdlib/mul.c [__STDC__]: Make code unconditional.
14495         [!__STDC__]: Remove conditional code.
14496         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
14497         [!__STDC__]: Remove conditional code.
14498         * stdlib/rshift.c [__STDC__]: Make code unconditional.
14499         [!__STDC__]: Remove conditional code.
14500         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
14501         function definition.
14502         (STRTOF): Likewise.
14503         * stdlib/strtod_l.c (__STRTOF): Likewise.
14504         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
14505         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
14506         (__strtol_l): Likewise.
14507         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
14508         [!__STDC__]: Remove conditional code.
14509         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
14510         definition.
14511         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14512         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14513         type.
14514         (__strcasecmp): Convert to prototype-style function definition.
14515         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
14516         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14517         type.
14518         (__strncasecmp): Convert to prototype-style function definition.
14519         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
14520         * sunrpc/xdr.c (xdr_union): Likewise.
14521         * sunrpc/xdr_array.c (xdr_array): Likewise.
14522         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
14523         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
14524         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
14525         Likewise.
14526         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
14527         Likewise.
14528         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
14529         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14530         Likewise.
14531         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
14532         (LOCALE_PARAM_PROTO): Likewise.
14533         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
14534         argument type.
14535         (ut_argument_spec): Remove macro.
14536         (ut_argument_spec_iso): Rename to ut_argument_spec.
14537         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
14538         prototype-style function definition.
14539         (memcpy_uppcase): Likewise.
14540         (__strftime_internal): Likewise.
14541         (my_strftime): Likewise.
14542         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
14543         (LOCALE_PARAM_DECL): Likewise.
14544         [_LIBC] (LOCALE_PARAM): Include argument type.
14545         (__strptime_internal): Convert to prototype-style function
14546         definition.
14547         (strptime): Likewise.
14548         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14549         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14550         type.
14551         (__wcscasecmp): Convert to prototype-style function definition.
14552         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
14553         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14554         type.
14555         (__wcsncasecmp): Convert to prototype-style function definition.
14557         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
14558         function definition.
14559         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14560         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14561         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
14562         * elf/dl-minimal.c (_itoa): Likewise.
14563         * hurd/hurdmalloc.c (malloc): Likewise.
14564         (free): Likewise.
14565         (realloc): Likewise.
14566         * inet/inet6_option.c (inet6_option_space): Likewise.
14567         (inet6_option_init): Likewise.
14568         (inet6_option_append): Likewise.
14569         (inet6_option_alloc): Likewise.
14570         (inet6_option_next): Likewise.
14571         (inet6_option_find): Likewise.
14572         * io/ftw.c (FTW_NAME): Likewise.
14573         (NFTW_NAME): Likewise.
14574         (NFTW_NEW_NAME): Likewise.
14575         (NFTW_OLD_NAME): Likewise.
14576         * libio/iofwide.c (_IO_fwide): Likewise.
14577         * libio/strops.c (_IO_str_init_static_internal): Likewise.
14578         (_IO_str_init_static): Likewise.
14579         (_IO_str_init_readonly): Likewise.
14580         (_IO_str_overflow): Likewise.
14581         (_IO_str_underflow): Likewise.
14582         (_IO_str_count): Likewise.
14583         (_IO_str_seekoff): Likewise.
14584         (_IO_str_pbackfail): Likewise.
14585         (_IO_str_finish): Likewise.
14586         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
14587         (_IO_wstr_overflow): Likewise.
14588         (_IO_wstr_underflow): Likewise.
14589         (_IO_wstr_count): Likewise.
14590         (_IO_wstr_seekoff): Likewise.
14591         (_IO_wstr_pbackfail): Likewise.
14592         (_IO_wstr_finish): Likewise.
14593         * locale/programs/localedef.c (normalize_codeset): Likewise.
14594         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14595         (add_locales_to_archive): Likewise.
14596         (delete_locales_from_archive): Likewise.
14597         * malloc/malloc.c (__libc_mallinfo): Likewise.
14598         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
14599         * misc/tsearch.c (__tfind): Likewise.
14600         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
14601         * nptl/pthread_attr_getdetachstate.c
14602         (__pthread_attr_getdetachstate): Likewise.
14603         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
14604         Likewise.
14605         * nptl/pthread_attr_getinheritsched.c
14606         (__pthread_attr_getinheritsched): Likewise.
14607         * nptl/pthread_attr_getschedparam.c
14608         (__pthread_attr_getschedparam): Likewise.
14609         * nptl/pthread_attr_getschedpolicy.c
14610         (__pthread_attr_getschedpolicy): Likewise.
14611         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
14612         Likewise.
14613         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
14614         Likewise.
14615         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
14616         Likewise.
14617         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
14618         Likewise.
14619         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
14620         (__pthread_attr_init_2_0): Likewise.
14621         * nptl/pthread_attr_setdetachstate.c
14622         (__pthread_attr_setdetachstate): Likewise.
14623         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
14624         Likewise.
14625         * nptl/pthread_attr_setinheritsched.c
14626         (__pthread_attr_setinheritsched): Likewise.
14627         * nptl/pthread_attr_setschedparam.c
14628         (__pthread_attr_setschedparam): Likewise.
14629         * nptl/pthread_attr_setschedpolicy.c
14630         (__pthread_attr_setschedpolicy): Likewise.
14631         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
14632         Likewise.
14633         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
14634         Likewise.
14635         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
14636         Likewise.
14637         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
14638         Likewise.
14639         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
14640         Likewise.
14641         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
14642         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14643         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
14644         use internal_function.
14645         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
14646         prototype-style function definition.
14647         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
14648         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
14649         internal_function.
14650         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
14651         Convert to prototype-style function definition.
14652         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14653         Likewise.
14654         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
14655         Likewise.
14656         (__pthread_mutex_unlock): Likewise.
14657         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
14658         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
14659         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
14660         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
14661         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
14662         * nss/makedb.c (process_input): Likewise.
14663         * posix/fnmatch.c (__strchrnul): Likewise.
14664         (__wcschrnul): Likewise.
14665         (fnmatch): Likewise.
14666         * posix/fnmatch_loop.c (FCT): Likewise.
14667         * posix/glob.c (globfree): Likewise.
14668         (__glob_pattern_type): Likewise.
14669         (__glob_pattern_p): Likewise.
14670         * posix/regcomp.c (re_compile_pattern): Likewise.
14671         (re_set_syntax): Likewise.
14672         (re_compile_fastmap): Likewise.
14673         (regcomp): Likewise.
14674         (regerror): Likewise.
14675         (regfree): Likewise.
14676         * posix/regexec.c (regexec): Likewise.
14677         (re_match): Likewise.
14678         (re_search): Likewise.
14679         (re_match_2): Likewise.
14680         (re_search_2): Likewise.
14681         (re_search_stub): Likewise.  Use internal_function
14682         (re_copy_regs): Likewise.
14683         (re_set_registers): Convert to prototype-style function
14684         definition.
14685         (prune_impossible_nodes): Likewise.  Use internal_function.
14686         * resolv/inet_net_pton.c (inet_net_pton): Convert to
14687         prototype-style function definition.
14688         (inet_net_pton_ipv4): Likewise.
14689         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14690         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
14691         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14692         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
14693         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14694         Make variadic.
14695         * time/strptime_l.c (localtime_r): Convert to prototype-style
14696         function definition.
14697         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14698         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14699         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14700         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14702         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
14703         definition.
14704         (_ufc_doit_r): Likewise.
14705         * crypt/crypt_util.c (_ufc_copymem): Likewise.
14706         (_ufc_output_conversion_r): Likewise.
14707         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
14708         * inet/rcmd.c (rcmd_af): Likewise.
14709         (rcmd): Likewise.
14710         (ruserok_af): Likewise.
14711         (ruserok): Likewise.
14712         (ruserok2_sa): Likewise.
14713         (ruserok_sa): Likewise.
14714         (iruserok_af): Likewise.
14715         (iruserok): Likewise.
14716         (__ivaliduser): Likewise.
14717         (__validuser2_sa): Likewise.
14718         * inet/rexec.c (rexec_af): Likewise.
14719         (rexec): Likewise.
14720         * inet/ruserpass.c (ruserpass): Likewise.
14721         * locale/programs/xmalloc.c (xcalloc): Likewise.
14722         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
14723         * math/w_drem.c (__drem): Likewise.
14724         * math/w_dremf.c (__dremf): Likewise.
14725         * math/w_dreml.c (__dreml): Likewise.
14726         * misc/daemon.c (daemon): Likewise.
14727         * resolv/res_debug.c (p_fqnname): Likewise.
14728         * stdlib/div.c (div): Likewise.
14729         * string/memcmp.c (memcmp_bytes): Likewise.
14730         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
14731         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
14733         * crypt/cert.c (main): Convert to prototype-style function
14734         definition.
14735         * io/pipe.c (__pipe): Likewise.
14736         * io/pipe2.c (__pipe2): Likewise.
14737         * misc/futimesat.c (futimesat): Likewise.
14738         * misc/utimes.c (__utimes): Likewise.
14739         * posix/execve.c (__execve): Likewise.
14740         * posix/execvp.c (execvp): Likewise.
14741         * posix/execvpe.c (__execvpe): Likewise.
14742         * posix/fexecve.c (fexecve): Likewise.
14743         * socket/socketpair.c (socketpair): Likewise.
14744         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14745         * stdlib/erand48.c (erand48): Likewise.
14746         * stdlib/erand48_r.c (__erand48_r): Likewise.
14747         * stdlib/jrand48.c (jrand48): Likewise.
14748         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
14749         * stdlib/lcong48.c (lcong48): Likewise.
14750         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
14751         * stdlib/nrand48.c (nrand48): Likewise.
14752         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
14753         * stdlib/seed48.c (seed48): Likewise.
14754         * stdlib/seed48_r.c (__seed48_r): Likewise.
14755         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
14756         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
14757         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
14759 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14761         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
14762         * configure: Regenerated.
14763         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
14764         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
14765         unconditional.
14766         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14767         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14768         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14769         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14770         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14771         unconditional.
14772         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14774         * posix/Makefile (CFLAGS-regex.c): Remove variable.
14775         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14777         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14778         function definition.
14779         * crypt/crypt_util.c (__encrypt_r): Likewise.
14780         * libio/genops.c (_IO_no_init): Likewise.
14781         * libio/iofopncook.c (_IO_fopencookie): Likewise.
14782         (_IO_old_fopencookie): Likewise.
14783         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14784         * libio/iogetline.c (_IO_getline): Likewise.
14785         (_IO_getline_info): Likewise.
14786         * libio/iogetwline.c (_IO_getwline): Likewise.
14787         (_IO_getwline_info): Likewise.
14788         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14789         * libio/vswprintf.c (_IO_vswprintf): Likewise.
14790         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14791         (find_entry): Likewise.
14792         (iterate_table): Likewise.
14793         (lookup): Likewise.
14794         * login/forkpty.c (forkpty): Likewise.
14795         * misc/hsearch_r.c (__hsearch_r): Likewise.
14796         * misc/select.c (__select): Likewise.
14797         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14798         Likewise.
14799         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14800         Likewise.
14801         * nptl/old_pthread_cond_timedwait.c
14802         (__pthread_cond_timedwait_2_0): Likewise.
14803         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14804         * nptl/pthread_barrierattr_getpshared.c
14805         (pthread_barrierattr_getpshared): Likewise.
14806         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14807         Likewise.
14808         * nptl/pthread_mutex_setprioceiling.c
14809         (pthread_mutex_setprioceiling): Likewise.
14810         * nptl/pthread_mutexattr_getprioceiling.c
14811         (pthread_mutexattr_getprioceiling): Likewise.
14812         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14813         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14814         Likewise.
14815         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14816         Likewise.
14817         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14818         Likewise.
14819         * socket/recvfrom.c (__recvfrom): Likewise.
14820         * socket/sendto.c (__sendto): Likewise.
14821         * socket/setsockopt.c (__setsockopt): Likewise.
14822         * stdio-common/_itoa.c (_itoa): Likewise.
14823         * stdio-common/_itowa.c (_itowa): Likewise.
14824         * stdio-common/reg-printf.c (__register_printf_specifier):
14825         Likewise.
14826         (__register_printf_function): Likewise.
14827         * stdio-common/tempname.c (__path_search): Likewise.
14828         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14829         * stdlib/mul_1.c (mpn_mul_1): Likewise.
14830         * stdlib/random_r.c (__initstate_r): Likewise.
14831         * stdlib/setenv.c (__add_to_environ): Likewise.
14832         * stdlib/submul_1.c (mpn_submul_1): Likewise.
14833         * streams/getpmsg.c (getpmsg): Likewise.
14834         * streams/putmsg.c (putmsg): Likewise.
14835         * streams/putpmsg.c (putpmsg): Likewise.
14836         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
14837         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14838         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
14839         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14840         * sunrpc/pm_getport.c (pmap_getport): Likewise.
14841         * sunrpc/svc_udp.c (cache_get): Likewise.
14842         * sunrpc/xdr_array.c (xdr_vector): Likewise.
14843         * sysdeps/mach/hurd/getcwd.c
14844         (__canonicalize_directory_name_internal): Likewise.
14845         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
14846         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
14847         * sysdeps/mach/hurd/select.c (__select): Likewise.
14848         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14849         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14850         * sysdeps/sparc/nptl/pthread_barrier_init.c
14851         (__pthread_barrier_init): Likewise.
14852         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
14853         (__pthread_cond_timedwait): Likewise.
14854         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
14855         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
14856         Likewise.
14857         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
14858         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
14859         Likewise.
14860         * sysvipc/semtimedop.c (semtimedop): Likewise.
14861         * time/setitimer.c (__setitimer): Likewise.
14862         * time/strftime_l.c (emacs_strftime): Likewise.
14864 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14866         * config.make.in (have-ssp): Delete.
14867         (stack-protector): New variable.
14868         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
14869         cache test for -fstack-protector-strong.  Export stack_protector to
14870         the best ssp flag.
14871         * configure: Regenerated.
14872         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14873         * nscd/Makefile (CFLAGS-nscd): Likewise.
14874         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14876 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14878         [BZ #19122]
14879         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14880         attribute_hidden.
14882 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14884         [BZ #18743]
14885         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14886         code to...
14887         (ELIDE_LOCK): ...here.
14888         (__get_new_count): New function with part of the code from
14889         __elide_lock that updates the value of adapt_count after a
14890         transaction abort.
14891         (__elided_trylock): Moved this code to...
14892         (ELIDE_TRYLOCK): ...here.
14894 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14896         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14897         * configure: Regenerate.
14898         * INSTALL: Regenerate.
14899         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
14900         and tweak grammar.
14902 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
14904         * login/programs/pt_chown.c: Include signal.h
14905         (main): Clear any signal mask from the parent process.
14907 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14909         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
14910         * configure: Regenerated.
14911         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
14912         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
14913         $(gnu89-inline-CFLAGS).
14915         * configure.ac (libc_cv_asm_weak_directive): Remove configure
14916         test.
14917         (libc_cv_asm_weakext_directive): Likewise.
14918         * configure: Regenerated.
14919         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
14920         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
14921         * include/libc-symbols.h
14922         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
14923         #error.
14924         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
14925         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
14927         * sysdeps/arm/backtrace.c (__backtrace): Convert to
14928         prototype-style function definition.
14929         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14930         * sysdeps/i386/ffs.c (__ffs): Likewise.
14931         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14932         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
14933         Likewise.
14934         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14935         Likewise.
14936         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
14937         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14938         Likewise.
14939         * sysdeps/m68k/ffs.c (__ffs): Likewise.
14940         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
14941         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
14942         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
14943         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
14944         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
14945         * sysdeps/mach/hurd/access.c (__access): Likewise.
14946         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
14947         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
14948         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14949         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
14950         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
14951         (cthread_getspecific): Likewise.
14952         (cthread_setspecific): Likewise.
14953         (__libc_getspecific): Likewise.
14954         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
14955         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
14956         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
14957         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
14958         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
14959         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
14960         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
14961         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
14962         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
14963         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
14964         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
14965         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
14966         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
14967         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
14968         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
14969         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
14970         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
14971         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
14972         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
14973         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
14974         * sysdeps/mach/hurd/link.c (__link): Likewise.
14975         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
14976         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
14977         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
14978         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
14979         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14980         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
14981         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
14982         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
14983         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14984         * sysdeps/mach/hurd/rename.c (rename): Likewise.
14985         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
14986         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
14987         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
14988         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
14989         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
14990         * sysdeps/mach/hurd/send.c (__send): Likewise.
14991         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
14992         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
14993         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
14994         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
14995         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
14996         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
14997         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
14998         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
14999         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
15000         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
15001         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
15002         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
15003         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
15004         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
15005         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
15006         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
15007         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
15008         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
15009         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
15010         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15011         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
15012         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
15013         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
15014         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
15015         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
15016         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
15017         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
15018         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
15019         * sysdeps/posix/alarm.c (alarm): Likewise.
15020         * sysdeps/posix/cuserid.c (cuserid): Likewise.
15021         * sysdeps/posix/dirfd.c (dirfd): Likewise.
15022         * sysdeps/posix/dup.c (__dup): Likewise.
15023         * sysdeps/posix/dup2.c (__dup2): Likewise.
15024         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
15025         (main): Likewise.
15026         * sysdeps/posix/flock.c (__flock): Likewise.
15027         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
15028         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15029         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
15030         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
15031         * sysdeps/posix/isatty.c (__isatty): Likewise.
15032         * sysdeps/posix/killpg.c (killpg): Likewise.
15033         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15034         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
15035         * sysdeps/posix/raise.c (raise): Likewise.
15036         * sysdeps/posix/remove.c (remove): Likewise.
15037         * sysdeps/posix/rename.c (rename): Likewise.
15038         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
15039         * sysdeps/posix/seekdir.c (seekdir): Likewise.
15040         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
15041         * sysdeps/posix/sigignore.c (sigignore): Likewise.
15042         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
15043         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15044         * sysdeps/posix/sigset.c (sigset): Likewise.
15045         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
15046         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
15047         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
15048         * sysdeps/posix/time.c (time): Likewise.
15049         * sysdeps/posix/ttyname.c (getttyname): Likewise.
15050         (ttyname): Likewise.
15051         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
15052         * sysdeps/posix/utime.c (utime): Likewise.
15053         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
15054         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15055         Likewise.
15056         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
15057         (pthread_spin_trylock): Likewise.
15058         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
15059         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
15060         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
15061         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
15062         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
15063         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
15064         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
15065         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
15066         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
15067         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
15068         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
15069         * sysdeps/s390/ffs.c (__ffs): Likewise.
15070         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
15071         Likewise.
15072         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15073         Likewise.
15074         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
15075         Likewise.
15076         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
15077         (pthread_barrier_destroy): Likewise.
15078         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15079         (__pthread_barrier_wait): Likewise.
15080         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
15081         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15082         (__pthread_barrier_wait): Likewise.
15083         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
15084         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
15085         (memcmp_not_common_alignment): Likewise.
15086         (MEMCMP): Likewise.
15087         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
15088         (_wordcopy_fwd_dest_aligned): Likewise.
15089         (_wordcopy_bwd_aligned): Likewise.
15090         (_wordcopy_bwd_dest_aligned): Likewise.
15091         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
15092         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
15093         * sysdeps/unix/bsd/stty.c (stty): Likewise.
15094         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
15095         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
15096         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
15097         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
15098         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
15099         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
15100         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
15101         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
15102         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15103         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
15104         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
15105         * sysdeps/unix/stime.c (stime): Likewise.
15106         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
15107         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
15108         Likewise.  Use internal_function.
15109         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
15110         Convert to prototype-style function definition.
15111         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15112         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15113         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
15114         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15115         Likewise.  Use internal_function.
15116         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
15117         prototype-style function definition
15118         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15119         Likewise.
15120         (__getlogin_r): Likewise.
15121         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
15122         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
15123         (__pthread_cond_broadcast): Likewise.
15124         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
15125         (__pthread_cond_destroy): Likewise.
15126         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
15127         (__pthread_cond_init): Likewise.
15128         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
15129         (__pthread_cond_signal): Likewise.
15130         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
15131         (__pthread_cond_wait): Likewise.
15132         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
15133         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15134         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
15135         Likewise.
15136         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
15137         Likewise.
15138         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
15139         Likewise.
15140         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
15141         Likewise.
15142         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
15143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
15144         (__ftruncate64): Likewise.
15145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
15146         (truncate64): Likewise.
15147         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
15148         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
15149         (pthread_getcpuclockid): Likewise.
15150         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15151         Likewise.
15152         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15153         Likewise.
15154         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
15155         Likewise.
15156         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
15157         Likewise.
15158         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
15159         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
15160         (__libc_sigaction): Likewise.
15161         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
15162         Likewise.
15163         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
15164         (__sigprocmask): Likewise.
15165         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
15166         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
15167         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
15168         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15169         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15170         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
15171         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15172         Likewise.
15173         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
15174         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
15175         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15176         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
15177         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
15178         Likewise.
15179         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
15180         (__sigprocmask): Likewise.
15181         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
15182         (cfgetispeed): Likewise.
15183         (cfsetospeed): Likewise.
15184         (cfsetispeed): Likewise.
15185         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
15186         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
15187         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15188         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15189         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
15190         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
15191         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
15192         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
15193         Likewise.
15194         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
15195         Likewise.
15196         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
15197         Likewise.
15198         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
15199         Likewise.
15200         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15202 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15204         sunrpc: Rewrite with explicit TLS access using __thread.
15205         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
15206         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
15207         directly.
15208         (__rpc_thread_variables): Access thread_rpc_vars directly.
15209         Eliminate redundant assignment of the tvp variable.
15211 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15213         malloc: Rewrite with explicit TLS access using __thread.
15214         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
15215         (tsd_setspecific, tsd_getspecific): Remove.
15216         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
15217         (tsd_setspecific, tsd_getspecific): Likewise.
15218         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
15219         (tsd_setspecific, tsd_getspecific): Likewise.
15220         * malloc/arena.c (thread_arena): New TLS variable.
15221         (arena_key): Remove variable.
15222         (arena_get): Use thread_arena.
15223         (arena_lookup): Remove macro.
15224         (malloc_atfork, free_atfork, ptmalloc_lock_all)
15225         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
15226         (_int_new_arena, get_free_list, reused_arena)
15227         (arena_thread_freeres): Use thread_arena.
15228         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
15229         tsd_getspecific, tsd_setspecific from safety annotations.
15230         (Allocating Cleared Space): Remove arena_lookup from safety
15231         annotations.
15233 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15235         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
15236         struct scratch_buffer instead of extend_alloca.
15238 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15240         * sysdeps/unix/sysv/linux/kernel-features.h
15241         (__ASSUME_SOCK_CLOEXEC): Remove.
15242         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
15243         (__have_paccept): Remove unused macro.
15244         * include/unistd.h (__have_sock_cloexec): Remove declaration.
15245         * misc/syslog.c (openlog_internal): Remove fallback code for
15246         !__ASSUME_SOCK_CLOEXEC.
15247         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
15248         missing SOCK_CLOEXEC.
15249         * nscd/connections.c (have_sock_cloexec): Remove definition.
15250         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15251         * nscd/nscd_helper.c (open_socket): Remove fallback code for
15252         !__ASSUME_SOCK_CLOEXEC.
15253         * resolv/res_send.c (__have_o_nonblock): Remove definition.
15254         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15255         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
15256         definition.
15257         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
15258         code for !__ASSUME_SOCK_CLOEXEC.
15260 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15262         [BZ #18982]
15263         * manual/stdio.texi (Variable Arguments Output): Add portability
15264         note, explaining that vfprintf clobbers the va_list pointer.
15266 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15268         * math/libm-test.inc (fabs_test_data): Add more tests.
15269         (fdim_test_data): Likewise.
15270         (fma_test_data): Likewise.
15271         (fmax_test_data): Likewise.
15272         (fmin_test_data): Likewise.
15273         (fmod_test_data): Likewise.
15275 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
15277         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
15278         data.
15280 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15282         * math/libm-test.inc (ceil_test_data): Add more tests and more
15283         expectations for "inexact".
15284         (floor_test_data): Add more tests.
15285         (round_test_data): Likewise.
15286         (trunc_test_data): Likewise.
15288         * crypt/cert.c (good_bye): Convert to prototype-style function
15289         definition.
15290         (get8): Likewise.
15291         (put8): Likewise.
15292         * crypt/crypt-entry.c (crypt): Likewise.
15293         (__fcrypt): Likewise.
15294         * crypt/crypt_util.c (_ufc_prbits): Likewise.
15295         (_ufc_set_bits): Likewise.
15296         (_ufc_clearmem): Likewise.
15297         (__init_des_r): Likewise.
15298         (shuffle_sb): Likewise.
15299         (shuffle_sb): Likewise.
15300         (_ufc_setup_salt_r): Likewise.
15301         (_ufc_mk_keytab_r): Likewise.
15302         (_ufc_dofinalperm_r): Likewise.
15303         (encrypt): Likewise.
15304         (__setkey_r): Likewise.
15305         (setkey): Likewise.
15306         * crypt/md5.c (md5_init_ctx): Likewise.
15307         (md5_read_ctx): Likewise.
15308         (md5_finish_ctx): Likewise.
15309         (md5_stream): Likewise.
15310         (md5_buffer): Likewise.
15311         (md5_process_bytes): Likewise.
15312         * crypt/sha256.c (__sha256_init_ctx): Likewise.
15313         (__sha256_finish_ctx): Likewise.
15314         (__sha256_process_bytes): Likewise.
15315         * crypt/sha512.c (__sha512_init_ctx): Likewise.
15316         (__sha512_finish_ctx): Likewise.
15317         (__sha512_process_bytes): Likewise.
15318         * ctype/isctype.c (__isctype): Likewise.
15319         * debug/backtrace.c (__backtrace): Likewise.
15320         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
15321         * debug/fgets_chk.c (__fgets_chk): Likewise.
15322         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
15323         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
15324         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15325         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15326         * debug/memset_chk.c (__memset_chk): Likewise.
15327         * debug/strcat_chk.c (__strcat_chk): Likewise.
15328         * debug/strncat_chk.c (__strncat_chk): Likewise.
15329         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
15330         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
15331         * dirent/dirfd.c (dirfd): Likewise.
15332         * dirent/getdents.c (__getdirentries): Likewise.
15333         * dirent/getdents64.c (getdirentries64): Likewise.
15334         * dirent/rewinddir.c (__rewinddir): Likewise.
15335         * dirent/seekdir.c (seekdir): Likewise.
15336         * dirent/telldir.c (telldir): Likewise.
15337         * elf/sln.c (makesymlinks): Likewise.
15338         (makesymlink): Likewise.
15339         * gmon/gmon.c (__moncontrol): Likewise.
15340         (__monstartup): Likewise.
15341         (write_hist): Likewise.
15342         (write_call_graph): Likewise.
15343         (write_bb_counts): Likewise.
15344         * grp/setgroups.c (setgroups): Likewise.
15345         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15346         * inet/inet_net.c (inet_network): Likewise.
15347         * inet/inet_netof.c (inet_netof): Likewise.
15348         * inet/rcmd.c (rresvport_af): Likewise.
15349         (rresvport): Likewise.
15350         * io/access.c (__access): Likewise.
15351         * io/chdir.c (__chdir): Likewise.
15352         * io/chmod.c (__chmod): Likewise.
15353         * io/chown.c (__chown): Likewise.
15354         * io/close.c (__close): Likewise.
15355         * io/creat.c (creat): Likewise.
15356         * io/creat64.c (creat64): Likewise.
15357         * io/dup.c (__dup): Likewise.
15358         * io/dup2.c (__dup2): Likewise.
15359         * io/dup3.c (__dup3): Likewise.
15360         * io/euidaccess.c (__euidaccess): Likewise.
15361         * io/faccessat.c (faccessat): Likewise.
15362         * io/fchmod.c (__fchmod): Likewise.
15363         * io/fchmodat.c (fchmodat): Likewise.
15364         * io/fchown.c (__fchown): Likewise.
15365         * io/fchownat.c (fchownat): Likewise.
15366         * io/fcntl.c (__fcntl): Likewise.
15367         * io/flock.c (__flock): Likewise.
15368         * io/fts.c (fts_load): Likewise.
15369         (fts_close): Likewise.
15370         (fts_read): Likewise.
15371         (fts_set): Likewise.
15372         (fts_children): Likewise.
15373         (fts_build): Likewise.
15374         (fts_stat): Likewise.
15375         (fts_sort): Likewise.
15376         (fts_alloc): Likewise.
15377         (fts_lfree): Likewise.
15378         (fts_palloc): Likewise.
15379         (fts_padjust): Likewise.
15380         (fts_maxarglen): Likewise.
15381         (fts_safe_changedir): Likewise.
15382         * io/getwd.c (getwd): Likewise.
15383         * io/isatty.c (__isatty): Likewise.
15384         * io/lchown.c (__lchown): Likewise.
15385         * io/link.c (__link): Likewise.
15386         * io/linkat.c (linkat): Likewise.
15387         * io/lseek.c (__libc_lseek): Likewise.
15388         * io/mkdir.c (__mkdir): Likewise.
15389         * io/mkdirat.c (mkdirat): Likewise.
15390         * io/mkfifo.c (mkfifo): Likewise.
15391         * io/mkfifoat.c (mkfifoat): Likewise.
15392         * io/open.c (__libc_open): Likewise.
15393         * io/open64.c (__libc_open64): Likewise.
15394         * io/readlink.c (__readlink): Likewise.
15395         * io/readlinkat.c (readlinkat): Likewise.
15396         * io/rmdir.c (__rmdir): Likewise.
15397         * io/symlink.c (__symlink): Likewise.
15398         * io/symlinkat.c (symlinkat): Likewise.
15399         * io/ttyname.c (ttyname): Likewise.
15400         * io/ttyname_r.c (__ttyname_r): Likewise.
15401         * io/umask.c (__umask): Likewise.
15402         * io/unlink.c (__unlink): Likewise.
15403         * io/unlinkat.c (unlinkat): Likewise.
15404         * io/utime.c (utime): Likewise.
15405         * libio/clearerr.c (clearerr): Likewise.
15406         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15407         * libio/feof.c (_IO_feof): Likewise.
15408         * libio/feof_u.c (feof_unlocked): Likewise.
15409         * libio/ferror.c (_IO_ferror): Likewise.
15410         * libio/ferror_u.c (ferror_unlocked): Likewise.
15411         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15412         * libio/fileno.c (__fileno): Likewise.
15413         * libio/fputc.c (fputc): Likewise.
15414         * libio/fputc_u.c (fputc_unlocked): Likewise.
15415         * libio/fputwc.c (fputwc): Likewise.
15416         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15417         * libio/freopen.c (freopen): Likewise.
15418         * libio/freopen64.c (freopen64): Likewise.
15419         * libio/fseek.c (fseek): Likewise.
15420         * libio/fseeko.c (fseeko): Likewise.
15421         * libio/fseeko64.c (fseeko64): Likewise.
15422         * libio/ftello.c (__ftello): Likewise.
15423         * libio/ftello64.c (ftello64): Likewise.
15424         * libio/fwide.c (fwide): Likewise.
15425         * libio/genops.c (_IO_un_link): Likewise.
15426         (_IO_link_in): Likewise.
15427         (_IO_least_marker): Likewise.
15428         (_IO_switch_to_main_get_area): Likewise.
15429         (_IO_switch_to_backup_area): Likewise.
15430         (_IO_switch_to_get_mode): Likewise.
15431         (_IO_free_backup_area): Likewise.
15432         (_IO_switch_to_put_mode): Likewise.
15433         (__overflow): Likewise.
15434         (__underflow): Likewise.
15435         (__uflow): Likewise.
15436         (_IO_setb): Likewise.
15437         (_IO_doallocbuf): Likewise.
15438         (_IO_default_underflow): Likewise.
15439         (_IO_default_uflow): Likewise.
15440         (_IO_default_xsputn): Likewise.
15441         (_IO_sgetn): Likewise.
15442         (_IO_default_xsgetn): Likewise.
15443         (_IO_sync): Likewise.
15444         (_IO_default_setbuf): Likewise.
15445         (_IO_default_seekpos): Likewise.
15446         (_IO_default_doallocate): Likewise.
15447         (_IO_init): Likewise.
15448         (_IO_old_init): Likewise.
15449         (_IO_default_sync): Likewise.
15450         (_IO_default_finish): Likewise.
15451         (_IO_default_seekoff): Likewise.
15452         (_IO_sputbackc): Likewise.
15453         (_IO_sungetc): Likewise.
15454         (_IO_set_column): Likewise.
15455         (_IO_set_column): Likewise.
15456         (_IO_adjust_column): Likewise.
15457         (_IO_get_column): Likewise.
15458         (_IO_init_marker): Likewise.
15459         (_IO_remove_marker): Likewise.
15460         (_IO_marker_difference): Likewise.
15461         (_IO_marker_delta): Likewise.
15462         (_IO_seekmark): Likewise.
15463         (_IO_unsave_markers): Likewise.
15464         (_IO_nobackup_pbackfail): Likewise.
15465         (_IO_default_pbackfail): Likewise.
15466         (_IO_default_seek): Likewise.
15467         (_IO_default_stat): Likewise.
15468         (_IO_default_read): Likewise.
15469         (_IO_default_write): Likewise.
15470         (_IO_default_showmanyc): Likewise.
15471         (_IO_default_imbue): Likewise.
15472         (_IO_iter_next): Likewise.
15473         (_IO_iter_file): Likewise.
15474         * libio/getc.c (_IO_getc): Likewise.
15475         * libio/getwc.c (_IO_getwc): Likewise.
15476         * libio/iofclose.c (_IO_new_fclose): Likewise.
15477         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15478         * libio/iofflush.c (_IO_fflush): Likewise.
15479         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
15480         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
15481         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
15482         * libio/iofgets.c (_IO_fgets): Likewise.
15483         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
15484         * libio/iofgetws.c (fgetws): Likewise.
15485         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15486         * libio/iofopen64.c (_IO_fopen64): Likewise.
15487         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15488         (_IO_cookie_write): Likewise.
15489         (_IO_cookie_seek): Likewise.
15490         (_IO_cookie_close): Likewise.
15491         (_IO_cookie_seekoff): Likewise.
15492         (_IO_old_cookie_seek): Likewise.
15493         * libio/iofputs.c (_IO_fputs): Likewise.
15494         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
15495         * libio/iofputws.c (fputws): Likewise.
15496         * libio/iofputws_u.c (fputws_unlocked): Likewise.
15497         * libio/iofread.c (_IO_fread): Likewise.
15498         * libio/iofread_u.c (__fread_unlocked): Likewise.
15499         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
15500         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15501         * libio/ioftell.c (_IO_ftell): Likewise.
15502         * libio/iofwrite.c (_IO_fwrite): Likewise.
15503         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15504         * libio/iogets.c (_IO_gets): Likewise.
15505         * libio/iopadn.c (_IO_padn): Likewise.
15506         * libio/iopopen.c (_IO_new_proc_open): Likewise.
15507         (_IO_new_popen): Likewise.
15508         (_IO_new_proc_close): Likewise.
15509         * libio/ioputs.c (_IO_puts): Likewise.
15510         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
15511         (_IO_seekoff): Likewise.
15512         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
15513         (_IO_seekpos): Likewise.
15514         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
15515         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
15516         * libio/ioungetc.c (_IO_ungetc): Likewise.
15517         * libio/ioungetwc.c (ungetwc): Likewise.
15518         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15519         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
15520         * libio/iowpadn.c (_IO_wpadn): Likewise.
15521         * libio/libc_fatal.c (__libc_fatal): Likewise.
15522         * libio/memstream.c (__open_memstream): Likewise.
15523         (_IO_mem_sync): Likewise.
15524         (_IO_mem_finish): Likewise.
15525         * libio/oldfileops.c (_IO_old_file_init): Likewise.
15526         (_IO_old_file_close_it): Likewise.
15527         (_IO_old_file_finish): Likewise.
15528         (_IO_old_file_fopen): Likewise.
15529         (_IO_old_file_attach): Likewise.
15530         (_IO_old_file_setbuf): Likewise.
15531         (_IO_old_do_write): Likewise.
15532         (old_do_write): Likewise.
15533         (_IO_old_file_underflow): Likewise.
15534         (_IO_old_file_overflow): Likewise.
15535         (_IO_old_file_sync): Likewise.
15536         (_IO_old_file_seekoff): Likewise.
15537         (_IO_old_file_write): Likewise.
15538         (_IO_old_file_xsputn): Likewise.
15539         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
15540         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15541         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
15542         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
15543         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15544         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
15545         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
15546         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
15547         (_IO_old_popen): Likewise.
15548         (_IO_old_proc_close): Likewise.
15549         * libio/oldpclose.c (__old_pclose): Likewise.
15550         * libio/pclose.c (__new_pclose): Likewise.
15551         * libio/peekc.c (_IO_peekc_locked): Likewise.
15552         * libio/putc.c (_IO_putc): Likewise.
15553         * libio/putc_u.c (putc_unlocked): Likewise.
15554         * libio/putchar.c (putchar): Likewise.
15555         * libio/putchar_u.c (putchar_unlocked): Likewise.
15556         * libio/putwc.c (putwc): Likewise.
15557         * libio/putwc_u.c (putwc_unlocked): Likewise.
15558         * libio/putwchar.c (putwchar): Likewise.
15559         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
15560         * libio/rewind.c (rewind): Likewise.
15561         * libio/setbuf.c (setbuf): Likewise.
15562         * libio/setlinebuf.c (setlinebuf): Likewise.
15563         * libio/vasprintf.c (_IO_vasprintf): Likewise.
15564         * libio/vscanf.c (_IO_vscanf): Likewise.
15565         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
15566         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
15567         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15568         * libio/wgenops.c (_IO_least_wmarker): Likewise.
15569         (_IO_switch_to_main_wget_area): Likewise.
15570         (_IO_switch_to_wbackup_area): Likewise.
15571         (_IO_wsetb): Likewise.
15572         (_IO_wdefault_pbackfail): Likewise.
15573         (_IO_wdefault_finish): Likewise.
15574         (_IO_wdefault_uflow): Likewise.
15575         (__woverflow): Likewise.
15576         (__wuflow): Likewise.
15577         (__wunderflow): Likewise.
15578         (_IO_wdefault_xsputn): Likewise.
15579         (_IO_wdefault_xsgetn): Likewise.
15580         (_IO_wdoallocbuf): Likewise.
15581         (_IO_wdefault_doallocate): Likewise.
15582         (_IO_switch_to_wget_mode): Likewise.
15583         (_IO_free_wbackup_area): Likewise.
15584         (_IO_switch_to_wput_mode): Likewise.
15585         (_IO_sputbackwc): Likewise.
15586         (_IO_sungetwc): Likewise.
15587         (_IO_adjust_wcolumn): Likewise.
15588         (_IO_init_wmarker): Likewise.
15589         (_IO_wmarker_delta): Likewise.
15590         (_IO_seekwmark): Likewise.
15591         (_IO_unsave_wmarkers): Likewise.
15592         * libio/wmemstream.c (open_wmemstream): Likewise.
15593         (_IO_wmem_sync): Likewise.
15594         (_IO_wmem_finish): Likewise.
15595         * locale/nl_langinfo.c (nl_langinfo): Likewise.
15596         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
15597         * locale/programs/simple-hash.c (init_hash): Likewise.
15598         (delete_hash): Likewise.
15599         (insert_entry): Likewise.
15600         (set_entry): Likewise.
15601         (next_prime): Likewise.
15602         (is_prime): Likewise.
15603         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
15604         (xmalloc): Likewise.
15605         (xrealloc): Likewise.
15606         * locale/programs/xstrdup.c (xstrdup): Likewise.
15607         * localedata/collate-test.c (xstrcoll): Likewise.
15608         * localedata/xfrm-test.c (xstrcmp): Likewise.
15609         * login/getlogin_r.c (__getlogin_r): Likewise.
15610         * login/getpt.c (__posix_openpt): Likewise.
15611         * login/login_tty.c (login_tty): Likewise.
15612         * login/setlogin.c (setlogin): Likewise.
15613         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
15614         (mach_msg_destroy_port): Likewise.
15615         (mach_msg_destroy_memory): Likewise.
15616         * malloc/mcheck.c (flood): Likewise.
15617         * misc/acct.c (acct): Likewise.
15618         * misc/brk.c (__brk): Likewise.
15619         * misc/chflags.c (chflags): Likewise.
15620         * misc/chroot.c (chroot): Likewise.
15621         * misc/fchflags.c (fchflags): Likewise.
15622         * misc/fstab.c (getfsspec): Likewise.
15623         (getfsfile): Likewise.
15624         * misc/fsync.c (fsync): Likewise.
15625         * misc/ftruncate.c (__ftruncate): Likewise.
15626         * misc/ftruncate64.c (__ftruncate64): Likewise.
15627         * misc/getdomain.c (getdomainname): Likewise.
15628         (getdomainname): Likewise.
15629         * misc/gethostname.c (__gethostname): Likewise.
15630         * misc/getpass.c (getpass): Likewise.
15631         * misc/getttyent.c (skip): Likewise.
15632         (value): Likewise.
15633         * misc/gtty.c (gtty): Likewise.
15634         * misc/hsearch.c (hsearch): Likewise.
15635         (hcreate): Likewise.
15636         * misc/hsearch_r.c (__hcreate_r): Likewise.
15637         (__hdestroy_r): Likewise.
15638         * misc/ioctl.c (__ioctl): Likewise.
15639         * misc/mkdtemp.c (mkdtemp): Likewise.
15640         * misc/mkostemp.c (mkostemp): Likewise.
15641         * misc/mkostemp64.c (mkostemp64): Likewise.
15642         * misc/mkostemps.c (mkostemps): Likewise.
15643         * misc/mkostemps64.c (mkostemps64): Likewise.
15644         * misc/mkstemp.c (mkstemp): Likewise.
15645         * misc/mkstemp64.c (mkstemp64): Likewise.
15646         * misc/mkstemps.c (mkstemps): Likewise.
15647         * misc/mkstemps64.c (mkstemps64): Likewise.
15648         * misc/mktemp.c (__mktemp): Likewise.
15649         * misc/preadv.c (preadv): Likewise.
15650         * misc/preadv64.c (preadv64): Likewise.
15651         * misc/pwritev.c (pwritev): Likewise.
15652         * misc/pwritev64.c (pwritev64): Likewise.
15653         * misc/readv.c (__readv): Likewise.
15654         * misc/revoke.c (revoke): Likewise.
15655         * misc/setdomain.c (setdomainname): Likewise.
15656         * misc/setegid.c (setegid): Likewise.
15657         * misc/seteuid.c (seteuid): Likewise.
15658         * misc/sethostid.c (sethostid): Likewise.
15659         * misc/sethostname.c (sethostname): Likewise.
15660         * misc/setregid.c (__setregid): Likewise.
15661         * misc/setreuid.c (__setreuid): Likewise.
15662         * misc/sstk.c (sstk): Likewise.
15663         * misc/stty.c (stty): Likewise.
15664         * misc/syscall.c (syscall): Likewise.
15665         * misc/syslog.c (setlogmask): Likewise.
15666         * misc/truncate.c (__truncate): Likewise.
15667         * misc/truncate64.c (truncate64): Likewise.
15668         * misc/ualarm.c (ualarm): Likewise.
15669         * misc/usleep.c (usleep): Likewise.
15670         * misc/ustat.c (ustat): Likewise.
15671         * misc/writev.c (__writev): Likewise.
15672         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
15673         * nptl/old_pthread_cond_broadcast.c
15674         (__pthread_cond_broadcast_2_0): Likewise.
15675         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
15676         Likewise.
15677         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
15678         Likewise.
15679         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
15680         Likewise.
15681         * nptl/pt-raise.c (raise): Likewise.
15682         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
15683         Likewise.
15684         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
15685         * nptl/pthread_barrierattr_destroy.c
15686         (pthread_barrierattr_destroy): Likewise.
15687         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
15688         Likewise.
15689         * nptl/pthread_barrierattr_setpshared.c
15690         (pthread_barrierattr_setpshared): Likewise.
15691         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15692         Likewise.
15693         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
15694         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
15695         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
15696         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
15697         Likewise.
15698         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
15699         Likewise.
15700         * nptl/pthread_condattr_getpshared.c
15701         (pthread_condattr_getpshared): Likewise.
15702         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
15703         Likewise.
15704         * nptl/pthread_condattr_setpshared.c
15705         (pthread_condattr_setpshared): Likewise.
15706         * nptl/pthread_detach.c (pthread_detach): Likewise.
15707         * nptl/pthread_equal.c (__pthread_equal): Likewise.
15708         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
15709         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
15710         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
15711         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
15712         Likewise.
15713         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
15714         Likewise.
15715         * nptl/pthread_mutex_getprioceiling.c
15716         (pthread_mutex_getprioceiling): Likewise.
15717         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
15718         Likewise.
15719         * nptl/pthread_mutexattr_getprotocol.c
15720         (pthread_mutexattr_getprotocol): Likewise.
15721         * nptl/pthread_mutexattr_getpshared.c
15722         (pthread_mutexattr_getpshared): Likewise.
15723         * nptl/pthread_mutexattr_getrobust.c
15724         (pthread_mutexattr_getrobust): Likewise.
15725         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15726         Likewise.
15727         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
15728         Likewise.
15729         * nptl/pthread_mutexattr_setprioceiling.c
15730         (pthread_mutexattr_setprioceiling): Likewise.
15731         * nptl/pthread_mutexattr_setprotocol.c
15732         (pthread_mutexattr_setprotocol): Likewise.
15733         * nptl/pthread_mutexattr_setpshared.c
15734         (pthread_mutexattr_setpshared): Likewise.
15735         * nptl/pthread_mutexattr_setrobust.c
15736         (pthread_mutexattr_setrobust): Likewise.
15737         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
15738         Likewise.
15739         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
15740         Likewise.
15741         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
15742         Likewise.
15743         * nptl/pthread_rwlockattr_getkind_np.c
15744         (pthread_rwlockattr_getkind_np): Likewise.
15745         * nptl/pthread_rwlockattr_getpshared.c
15746         (pthread_rwlockattr_getpshared): Likewise.
15747         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
15748         Likewise.
15749         * nptl/pthread_rwlockattr_setkind_np.c
15750         (pthread_rwlockattr_setkind_np): Likewise.
15751         * nptl/pthread_rwlockattr_setpshared.c
15752         (pthread_rwlockattr_setpshared): Likewise.
15753         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
15754         Likewise.
15755         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
15756         Likewise.
15757         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
15758         Likewise.
15759         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
15760         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
15761         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
15762         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
15763         * nptl/sem_close.c (sem_close): Likewise.
15764         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
15765         * nptl/sem_init.c (__old_sem_init): Likewise.
15766         * nptl/sigaction.c (__sigaction): Likewise.
15767         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15768         * posix/_exit.c (_exit): Likewise.
15769         * posix/alarm.c (alarm): Likewise.
15770         * posix/confstr.c (confstr): Likewise.
15771         * posix/fpathconf.c (__fpathconf): Likewise.
15772         * posix/getgroups.c (__getgroups): Likewise.
15773         * posix/getpgid.c (__getpgid): Likewise.
15774         * posix/group_member.c (__group_member): Likewise.
15775         * posix/pathconf.c (__pathconf): Likewise.
15776         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15777         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15778         * posix/setgid.c (__setgid): Likewise.
15779         * posix/setpgid.c (__setpgid): Likewise.
15780         * posix/setuid.c (__setuid): Likewise.
15781         * posix/sleep.c (__sleep): Likewise.
15782         * posix/sysconf.c (__sysconf): Likewise.
15783         * posix/times.c (__times): Likewise.
15784         * posix/uname.c (__uname): Likewise.
15785         * posix/waitid.c (__waitid): Likewise.
15786         * pwd/getpw.c (__getpw): Likewise.
15787         * resolv/base64.c (b64_pton): Likewise.
15788         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15789         * resolv/gethnamaddr.c (Dprintf): Likewise.
15790         (gethostbyname): Likewise.
15791         (gethostbyname2): Likewise.
15792         (gethostbyaddr): Likewise.
15793         (_sethtent): Likewise.
15794         (_gethtbyname): Likewise.
15795         (_gethtbyname2): Likewise.
15796         (_gethtbyaddr): Likewise.
15797         (map_v4v6_address): Likewise.
15798         (map_v4v6_hostent): Likewise.
15799         (addrsort): Likewise.
15800         (ht_sethostent): Likewise.
15801         (ht_gethostbyname): Likewise.
15802         (ht_gethostbyaddr): Likewise.
15803         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15804         (inet_net_ntop_ipv4): Likewise.
15805         * resolv/inet_neta.c (inet_neta): Likewise.
15806         * resolv/inet_ntop.c (inet_ntop): Likewise.
15807         (inet_ntop4): Likewise.
15808         (inet_ntop6): Likewise.
15809         * resolv/inet_pton.c (__inet_pton): Likewise.
15810         (inet_pton4): Likewise.
15811         (inet_pton6): Likewise.
15812         * resolv/res_debug.c (loc_aton): Likewise.
15813         (loc_ntoa): Likewise.
15814         * resource/getpriority.c (__getpriority): Likewise.
15815         * resource/getrusage.c (__getrusage): Likewise.
15816         * resource/nice.c (nice): Likewise.
15817         * resource/setpriority.c (__setpriority): Likewise.
15818         * resource/setrlimit64.c (setrlimit64): Likewise.
15819         * resource/vlimit.c (vlimit): Likewise.
15820         * resource/vtimes.c (vtimes): Likewise.
15821         * rt/aio_error.c (aio_error): Likewise.
15822         * rt/aio_return.c (aio_return): Likewise.
15823         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15824         * signal/kill.c (__kill): Likewise.
15825         * signal/killpg.c (killpg): Likewise.
15826         * signal/raise.c (raise): Likewise.
15827         * signal/sigaction.c (__sigaction): Likewise.
15828         * signal/sigaddset.c (sigaddset): Likewise.
15829         * signal/sigaltstack.c (sigaltstack): Likewise.
15830         * signal/sigandset.c (sigandset): Likewise.
15831         * signal/sigblock.c (__sigblock): Likewise.
15832         * signal/sigdelset.c (sigdelset): Likewise.
15833         * signal/sigempty.c (sigemptyset): Likewise.
15834         * signal/sigfillset.c (sigfillset): Likewise.
15835         * signal/sighold.c (sighold): Likewise.
15836         * signal/sigignore.c (sigignore): Likewise.
15837         * signal/sigintr.c (siginterrupt): Likewise.
15838         * signal/sigisempty.c (sigisemptyset): Likewise.
15839         * signal/sigismem.c (sigismember): Likewise.
15840         * signal/signal.c (signal): Likewise.
15841         * signal/sigorset.c (sigorset): Likewise.
15842         * signal/sigpause.c (__sigpause): Likewise.
15843         * signal/sigpending.c (sigpending): Likewise.
15844         * signal/sigprocmask.c (__sigprocmask): Likewise.
15845         * signal/sigrelse.c (sigrelse): Likewise.
15846         * signal/sigreturn.c (__sigreturn): Likewise.
15847         * signal/sigset.c (sigset): Likewise.
15848         * signal/sigsetmask.c (__sigsetmask): Likewise.
15849         * signal/sigstack.c (sigstack): Likewise.
15850         * signal/sigsuspend.c (__sigsuspend): Likewise.
15851         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
15852         * signal/sysv_signal.c (__sysv_signal): Likewise.
15853         * socket/accept.c (accept): Likewise.
15854         * socket/accept4.c (__libc_accept4): Likewise.
15855         * socket/bind.c (__bind): Likewise.
15856         * socket/connect.c (__connect): Likewise.
15857         * socket/getpeername.c (getpeername): Likewise.
15858         * socket/getsockname.c (__getsockname): Likewise.
15859         * socket/getsockopt.c (getsockopt): Likewise.
15860         * socket/listen.c (__listen): Likewise.
15861         * socket/recv.c (__recv): Likewise.
15862         * socket/recvmsg.c (__recvmsg): Likewise.
15863         * socket/send.c (__send): Likewise.
15864         * socket/sendmsg.c (__sendmsg): Likewise.
15865         * socket/shutdown.c (shutdown): Likewise.
15866         * socket/sockatmark.c (sockatmark): Likewise.
15867         * socket/socket.c (__socket): Likewise.
15868         * stdio-common/ctermid.c (ctermid): Likewise.
15869         * stdio-common/cuserid.c (cuserid): Likewise.
15870         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15871         * stdio-common/remove.c (remove): Likewise.
15872         * stdio-common/rename.c (rename): Likewise.
15873         * stdio-common/renameat.c (renameat): Likewise.
15874         * stdio-common/tempname.c (__gen_tempname): Likewise.
15875         * stdio-common/xbug.c (InitBuffer): Likewise.
15876         (AppendToBuffer): Likewise.
15877         (ReadFile): Likewise.
15878         * stdlib/a64l.c (a64l): Likewise.
15879         * stdlib/drand48_r.c (drand48_r): Likewise.
15880         * stdlib/getcontext.c (getcontext): Likewise.
15881         * stdlib/getenv.c (getenv): Likewise.
15882         * stdlib/l64a.c (l64a): Likewise.
15883         * stdlib/llabs.c (llabs): Likewise.
15884         * stdlib/lldiv.c (lldiv): Likewise.
15885         * stdlib/lrand48_r.c (lrand48_r): Likewise.
15886         * stdlib/mrand48_r.c (mrand48_r): Likewise.
15887         * stdlib/putenv.c (putenv): Likewise.
15888         * stdlib/random.c (__srandom): Likewise.
15889         (__initstate): Likewise.
15890         (__setstate): Likewise.
15891         * stdlib/random_r.c (__srandom_r): Likewise.
15892         (__setstate_r): Likewise.
15893         (__random_r): Likewise.
15894         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15895         * stdlib/setcontext.c (setcontext): Likewise.
15896         * stdlib/setenv.c (setenv): Likewise.
15897         (unsetenv): Likewise.
15898         * stdlib/srand48.c (srand48): Likewise.
15899         * stdlib/srand48_r.c (__srand48_r): Likewise.
15900         * stdlib/swapcontext.c (swapcontext): Likewise.
15901         * stdlib/system.c (__libc_system): Likewise.
15902         * stdlib/tst-strtod.c (expand): Likewise.
15903         * stdlib/tst-strtol.c (expand): Likewise.
15904         * stdlib/tst-strtoll.c (expand): Likewise.
15905         * streams/fattach.c (fattach): Likewise.
15906         * streams/fdetach.c (fdetach): Likewise.
15907         * streams/getmsg.c (getmsg): Likewise.
15908         * streams/isastream.c (isastream): Likewise.
15909         * string/ffs.c (__ffs): Likewise.
15910         * string/ffsll.c (ffsll): Likewise.
15911         * string/memcmp.c (memcmp_common_alignment): Likewise.
15912         (memcmp_not_common_alignment): Likewise.
15913         (MEMCMP): Likewise.
15914         * string/memcpy.c (memcpy): Likewise.
15915         * string/memmove.c (MEMMOVE): Likewise.
15916         * string/memset.c (memset): Likewise.
15917         * string/rawmemchr.c (RAWMEMCHR): Likewise.
15918         * string/strchrnul.c (STRCHRNUL): Likewise.
15919         * string/strerror.c (strerror): Likewise.
15920         * string/strndup.c (__strndup): Likewise.
15921         * string/strverscmp.c (__strverscmp): Likewise.
15922         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
15923         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
15924         (clnttcp_freeres): Likewise.
15925         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
15926         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
15927         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
15928         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
15929         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
15930         (xdr_callhdr): Likewise.
15931         * sunrpc/rpcinfo.c (udpping): Likewise.
15932         (tcpping): Likewise.
15933         (pstatus): Likewise.
15934         (pmapdump): Likewise.
15935         (brdcst): Likewise.
15936         (deletereg): Likewise.
15937         (getprognum): Likewise.
15938         (getvers): Likewise.
15939         (get_inet_address): Likewise.
15940         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
15941         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15942         (svcudp_stat): Likewise.
15943         (svcudp_recv): Likewise.
15944         (svcudp_reply): Likewise.
15945         (svcudp_getargs): Likewise.
15946         (svcudp_freeargs): Likewise.
15947         (svcudp_destroy): Likewise.
15948         * sunrpc/xdr.c (xdr_bytes): Likewise.
15949         (xdr_netobj): Likewise.
15950         (xdr_string): Likewise.
15951         (xdr_wrapstring): Likewise.
15952         * sunrpc/xdr_float.c (xdr_float): Likewise.
15953         (xdr_double): Likewise.
15954         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
15955         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
15956         * sysvipc/ftok.c (ftok): Likewise.
15957         * sysvipc/msgctl.c (msgctl): Likewise.
15958         * sysvipc/msgget.c (msgget): Likewise.
15959         * sysvipc/msgrcv.c (msgrcv): Likewise.
15960         * sysvipc/msgsnd.c (msgsnd): Likewise.
15961         * sysvipc/semget.c (semget): Likewise.
15962         * sysvipc/semop.c (semop): Likewise.
15963         * sysvipc/shmat.c (shmat): Likewise.
15964         * sysvipc/shmctl.c (shmctl): Likewise.
15965         * sysvipc/shmdt.c (shmdt): Likewise.
15966         * sysvipc/shmget.c (shmget): Likewise.
15967         * termios/cfmakeraw.c (cfmakeraw): Likewise.
15968         * termios/speed.c (cfgetospeed): Likewise.
15969         (cfgetispeed): Likewise.
15970         (cfsetospeed): Likewise.
15971         (cfsetispeed): Likewise.
15972         * termios/tcflow.c (tcflow): Likewise.
15973         * termios/tcflush.c (tcflush): Likewise.
15974         * termios/tcgetattr.c (__tcgetattr): Likewise.
15975         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
15976         * termios/tcgetsid.c (tcgetsid): Likewise.
15977         * termios/tcsendbrk.c (tcsendbreak): Likewise.
15978         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
15979         * time/adjtime.c (__adjtime): Likewise.
15980         * time/dysize.c (dysize): Likewise.
15981         * time/ftime.c (ftime): Likewise.
15982         * time/getitimer.c (__getitimer): Likewise.
15983         * time/gettimeofday.c (__gettimeofday): Likewise.
15984         * time/gmtime.c (__gmtime_r): Likewise.
15985         (gmtime): Likewise.
15986         * time/localtime.c (__localtime_r): Likewise.
15987         (localtime): Likewise.
15988         * time/offtime.c (__offtime): Likewise.
15989         * time/settimeofday.c (__settimeofday): Likewise.
15990         * time/stime.c (stime): Likewise.
15991         * time/strftime_l.c (tm_diff): Likewise.
15992         (iso_week_days): Likewise.
15993         * time/strptime.c (strptime): Likewise.
15994         * time/time.c (time): Likewise.
15995         * time/timespec_get.c (timespec_get): Likewise.
15996         * time/tzset.c (tzset_internal): Likewise.
15997         (compute_change): Likewise.
15998         (__tz_compute): Likewise.
15999         * wcsmbs/btowc.c (__btowc): Likewise.
16000         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
16001         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
16002         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
16003         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
16004         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
16005         * wcsmbs/wcscat.c (__wcscat): Likewise.
16006         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16007         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
16008         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
16009         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16010         * wcsmbs/wcsdup.c (wcsdup): Likewise.
16011         * wcsmbs/wcslen.c (__wcslen): Likewise.
16012         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
16013         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
16014         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
16015         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
16016         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16017         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
16018         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16019         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16020         * wcsmbs/wcstok.c (wcstok): Likewise.
16021         * wcsmbs/wctob.c (wctob): Likewise.
16022         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
16023         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16024         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
16025         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
16026         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
16027         * wcsmbs/wmemset.c (__wmemset): Likewise.
16028         * wctype/wcfuncs.c (__towlower): Likewise.
16029         (__towupper): Likewise.
16031         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
16032         (lll_unlock_elision): Add adapt_count parameter.
16034 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16036         * sysdeps/nptl/configure.ac: Do not give errors based on the
16037         results of top-level configure tests.
16038         * sysdeps/nptl/configure: Regenerated.
16040         * configure.ac (libc_cv_Bgroup): Remove configure test.
16041         * configure: Regenerated.
16042         * config.make.in (have-Bgroup): Remove variable.
16044         * configure.ac (sizeof_long_double): Remove configure test.
16045         * configure: Regenerated.
16046         * config.make.in (sizeof-long-double): Remove variable.
16048         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
16049         * configure: Regenerated.
16050         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
16051         variable.
16052         (exceptions): Likewise.
16053         * sysdeps/arm/configure: Regenerated.
16054         * config.make.in (exceptions): Remove variable.
16055         * Makeconfig (uses-callbacks): Use -fexceptions instead of
16056         $(exceptions).
16057         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
16058         (CFLAGS-vdprintf_chk.c): Likewise.
16059         (CFLAGS-printf_chk.c): Likewise.
16060         (CFLAGS-fprintf_chk.c): Likewise.
16061         (CFLAGS-vprintf_chk.c): Likewise.
16062         (CFLAGS-vfprintf_chk.c): Likewise.
16063         (CFLAGS-gets_chk.c): Likewise.
16064         (CFLAGS-fgets_chk.c): Likewise.
16065         (CFLAGS-fgets_u_chk.c): Likewise.
16066         (CFLAGS-fread_chk.c): Likewise.
16067         (CFLAGS-fread_u_chk.c): Likewise.
16068         (CFLAGS-wprintf_chk.c): Likewise.
16069         (CFLAGS-fwprintf_chk.c): Likewise.
16070         (CFLAGS-vwprintf_chk.c): Likewise.
16071         (CFLAGS-vfwprintf_chk.c): Likewise.
16072         (CFLAGS-fgetws_chk.c): Likewise.
16073         (CFLAGS-fgetws_u_chk.c): Likewise.
16074         * libio/Makefile (CFLAGS-fileops.c): Likewise.
16075         (CFLAGS-fputc.c): Likewise.
16076         (CFLAGS-fputwc.c): Likewise.
16077         (CFLAGS-freopen64.c): Likewise.
16078         (CFLAGS-freopen.c): Likewise.
16079         (CFLAGS-fseek.c): Likewise.
16080         (CFLAGS-fseeko64.c): Likewise.
16081         (CFLAGS-fseeko.c): Likewise.
16082         (CFLAGS-ftello64.c): Likewise.
16083         (CFLAGS-ftello.c): Likewise.
16084         (CFLAGS-fwide.c): Likewise.
16085         (CFLAGS-genops.c): Likewise.
16086         (CFLAGS-getc.c): Likewise.
16087         (CFLAGS-getchar.c): Likewise.
16088         (CFLAGS-getwc.c): Likewise.
16089         (CFLAGS-getwchar.c): Likewise.
16090         (CFLAGS-iofclose.c): Likewise.
16091         (CFLAGS-iofflush.c): Likewise.
16092         (CFLAGS-iofgetpos64.c): Likewise.
16093         (CFLAGS-iofgetpos.c): Likewise.
16094         (CFLAGS-iofgets.c): Likewise.
16095         (CFLAGS-iofgetws.c): Likewise.
16096         (CFLAGS-iofputs.c): Likewise.
16097         (CFLAGS-iofputws.c): Likewise.
16098         (CFLAGS-iofread.c): Likewise.
16099         (CFLAGS-iofsetpos64.c): Likewise.
16100         (CFLAGS-iofsetpos.c): Likewise.
16101         (CFLAGS-ioftell.c): Likewise.
16102         (CFLAGS-iofwrite.c): Likewise.
16103         (CFLAGS-iogetdelim.c): Likewise.
16104         (CFLAGS-iogetline.c): Likewise.
16105         (CFLAGS-iogets.c): Likewise.
16106         (CFLAGS-iogetwline.c): Likewise.
16107         (CFLAGS-ioputs.c): Likewise.
16108         (CFLAGS-ioseekoff.c): Likewise.
16109         (CFLAGS-ioseekpos.c): Likewise.
16110         (CFLAGS-iosetbuffer.c): Likewise.
16111         (CFLAGS-iosetvbuf.c): Likewise.
16112         (CFLAGS-ioungetc.c): Likewise.
16113         (CFLAGS-ioungetwc.c): Likewise.
16114         (CFLAGS-oldfileops.c): Likewise.
16115         (CFLAGS-oldiofclose.c): Likewise.
16116         (CFLAGS-oldiofgetpos64.c): Likewise.
16117         (CFLAGS-oldiofgetpos.c): Likewise.
16118         (CFLAGS-oldiofsetpos64.c): Likewise.
16119         (CFLAGS-oldiofsetpos.c): Likewise.
16120         (CFLAGS-peekc.c): Likewise.
16121         (CFLAGS-putc.c): Likewise.
16122         (CFLAGS-putchar.c): Likewise.
16123         (CFLAGS-putwc.c): Likewise.
16124         (CFLAGS-putwchar.c): Likewise.
16125         (CFLAGS-rewind.c): Likewise.
16126         (CFLAGS-wfileops.c): Likewise.
16127         (CFLAGS-wgenops.c): Likewise.
16128         (CFLAGS-oldiofopen.c): Likewise.
16129         (CFLAGS-iofopen.c): Likewise.
16130         (CFLAGS-iofopen64.c): Likewise.
16131         (CFLAGS-oldtmpfile.c): Likewise.
16132         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16133         (CFLAGS-fprintf.c): Likewise.
16134         (CFLAGS-printf.c): Likewise.
16135         (CFLAGS-vfwprintf.c): Likewise.
16136         (CFLAGS-vfscanf.c): Likewise.
16137         (CFLAGS-vfwscanf.c): Likewise.
16138         (CFLAGS-fscanf.c): Likewise.
16139         (CFLAGS-scanf.c): Likewise.
16140         (CFLAGS-isoc99_vfscanf.c): Likewise.
16141         (CFLAGS-isoc99_vscanf.c): Likewise.
16142         (CFLAGS-isoc99_fscanf.c): Likewise.
16143         (CFLAGS-isoc99_scanf.c): Likewise.
16144         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
16145         (CFLAGS-isoc99_fwscanf.c): Likewise.
16146         (CFLAGS-isoc99_vwscanf.c): Likewise.
16147         (CFLAGS-isoc99_vfwscanf.c): Likewise.
16149         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
16150         after mkstemp64.
16151         * login/tst-utmp.c (do_prepare): Likewise.
16152         * rt/tst-aio.c (do_prepare): Likewise.
16153         * rt/tst-aio64.c (do_prepare): Likewise.
16155 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16157         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16158         (__lll_lock_elision): Remove adapt_count decrement...
16159         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16160         (__lll_trylock_elision): Likewise.
16161         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16162         (__lll_unlock_elision): ... to here. And utilize
16163         new adapt_count parameter.
16164         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16165         (__lll_unlock_elision): Update to include adapt_count
16166         parameter.
16167         (lll_unlock_elision): Pass pointer to adapt_count
16168         variable.
16170 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16172         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
16173         Add elision adapt_count parameter to list of arguments.
16174         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16175         (lll_unlock_elision): Update with new parameter list
16176         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
16177         (lll_unlock_elision): Likewise.
16178         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
16179         (lll_unlock_elision): Likewise.
16181 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16183         [BZ #19122]
16184         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
16185         attribute_hidden.
16187         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
16188         attribute_hidden.
16189         [IS_IN (rtld)] (__strdup): Likewise.
16190         [IS_IN (rtld)] (__strerror_r): Likewise.
16191         [IS_IN (rtld)] (__strsep_g): Likewise.
16192         [IS_IN (rtld)] (memchr): Likewise.
16193         [IS_IN (rtld)] (memcmp): Likewise.
16194         [IS_IN (rtld)] (memcpy): Likewise.
16195         [IS_IN (rtld)] (memmove): Likewise.
16196         [IS_IN (rtld)] (memset): Likewise.
16197         [IS_IN (rtld)] (rawmemchr): Likewise.
16198         [IS_IN (rtld)] (stpcpy): Likewise.
16199         [IS_IN (rtld)] (strchr): Likewise.
16200         [IS_IN (rtld)] (strcmp): Likewise.
16201         [IS_IN (rtld)] (strlen): Likewise.
16202         [IS_IN (rtld)] (strnlen): Likewise.
16203         [IS_IN (rtld)] (strsep): Likewise.
16205         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
16206         attribute_hidden.
16207         [IS_IN (rtld)] (__strtoul_internal): Likewise.
16209         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
16210         attribute_hidden.
16211         [IS_IN (rtld)] (__libc_sigaction): Likewise.
16213         * include/setjmp.h (__longjmp): Add attribute_hidden.
16214         [IS_IN (rtld)] (__sigsetjmp): Likewise.
16216         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
16217         Add attribute_hidden.
16219         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
16220         [IS_IN (rtld)] (__open): Likewise.
16221         [IS_IN (rtld)] (__fcntl): Likewise.
16223         * include/dirent.h (__opendirat): Add attribute_hidden.
16224         (__getdents): Likewise.
16225         (__getdents64): Likewise.
16226         (__alloc_dir): Likewise.
16227         [IS_IN (rtld)] (__closedir): Likewise.
16228         [IS_IN (rtld)] (__fdopendir): Likewise.
16229         [IS_IN (rtld)] (__readdir): Likewise.
16230         [IS_IN (rtld)] (__readdir64): Likewise.
16231         [IS_IN (rtld)] (__rewinddir): Likewise.
16233         * include/dlfcn.h (_dl_catch_error): Moved to ...
16234         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
16235         attribute_hidden.
16237         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
16238         (_itoa_word): Likewise.
16240         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
16241         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16242         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16243         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
16244         (_dl_higher_prime_number): Likewise.
16245         (_dl_debug_printf_c): Likewise.
16246         (_dl_signal_cerror): Likewise.
16247         (_dl_receive_error): Likewise.
16248         (_dl_reloc_bad_type): Likewise.
16249         (_dl_resolve_conflicts): Likewise.
16250         (_dl_check_all_versions): Likewise.
16251         (_dl_check_map_versions): Likewise.
16252         (_dl_sort_fini): Likewise.
16253         (_dl_debug_initialize): Likewise.
16254         (_dl_init_paths): Likewise.
16255         (_dl_show_auxv): Likewise.
16256         (_dl_next_ld_env_entry): Likewise.
16257         (_dl_important_hwcaps): Likewise.
16258         (_dl_load_cache_lookup): Likewise.
16259         (_dl_update_slotinfo): Likewise.
16260         (_dl_show_scope): Likewise.
16262         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
16263         attribute_hidden.
16264         (_wordcopy_fwd_dest_aligned): Likewise.
16265         (_wordcopy_bwd_aligned): Likewise.
16266         (_wordcopy_bwd_dest_aligned): Likewise.
16268         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16269         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16270         Likewise.
16271         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16272         Likewise.
16273         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16275 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16277         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
16278         GCC 5 requirement.
16280 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16282         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
16283         test.
16284         * sysdeps/i386/configure: Regenerated.
16285         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
16286         code unconditional.
16288         * configure.ac (libc_cv_asm_previous_directive): Remove configure
16289         test.
16290         (libc_cv_asm_popsection_directive): Likewise.
16291         * configure: Regenerated.
16292         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
16293         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
16294         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
16295         (__make_section_unallocated): Make definition unconditional.
16296         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
16297         Remove conditional definition.
16298         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
16299         (__make_section_unallocated): Likewise.
16301         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
16302         * configure: Regenerated.
16303         * config.make.in (static-libgcc): Remove variable.
16304         * Makerules (build-shlib-helper): Use -static-libgcc instead of
16305         $(static-libgcc).
16306         (build-module-helper): Likewise.
16308         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
16309         * configure: Regenerated.
16311 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16313         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
16314         (struct char_buffer): New type.
16315         (char_buffer_start, char_buffer_size, char_buffer_error)
16316         (char_buffer_rewind, char_buffer_add): New functions.
16317         (ADDW): Remove macro, replaced by the char_buffer_add function.
16318         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
16319         of extend_alloca.  Make control flow more explicit.
16321 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16323         [BZ #19137]
16324         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16325         Add -fomit-frame-pointer.
16326         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
16328 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16330         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
16331         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
16332         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
16333         only if !__GNUC_PREREQ (5,0).
16334         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
16335         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16336         (INTERNAL_SYSCALL_NCS): Likewise.
16337         (LOADREGS_0): New macro for GCC 5.
16338         (ASMARGS_0): Likewise.
16339         (LOADREGS_1): Likewise.
16340         (ASMARGS_1): Likewise.
16341         (LOADREGS_2): Likewise.
16342         (ASMARGS_2): Likewise.
16343         (LOADREGS_3): Likewise.
16344         (ASMARGS_3): Likewise.
16345         (LOADREGS_4): Likewise.
16346         (ASMARGS_4): Likewise.
16347         (LOADREGS_5): Likewise.
16348         (ASMARGS_5): Likewise.
16349         (LOADREGS_6): Likewise.
16350         (ASMARGS_6): Likewise.
16352 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16354         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
16355         -fomit-frame-pointer.
16356         (CFLAGS-mmap64.c): Likewise.
16357         (CFLAGS-semtimedop.c): Likewise.
16358         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
16359         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
16360         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16361         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16363 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16365         [BZ #18928]
16366         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
16367         _dl_pointer_guard member.
16368         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
16369         initializer.
16370         (security_init): Always set up pointer guard.
16371         (process_envvars): Do not process LD_POINTER_GUARD.
16373 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
16375         [BZ #19134]
16376         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
16377         (.LC2): Likewise.
16378         (.LC3): Likewise.
16379         (__lround): Do not add 0.5 to integer or out-of-range arguments.
16381 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16383         [BZ #19129]
16384         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
16385         r0 and r1.
16387 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
16389         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
16391 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
16393         * include/stap-probe.h: Fix macro definition formatting.
16395 2015-10-14  Florian Weimer  <fweimer@redhat.com>
16397         [BZ #19074]
16398         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16399         load and store num_ifs.
16401 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16403         [BZ #18822]
16404         * sysdeps/unix/sysv/linux/sched_getaffinity.c
16405         (__sched_getaffinity_new): Add libc_hidden_proto and
16406         libc_hidden_def.
16408 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16410         [BZ #19007]
16411         * scripts/localplt.awk: Also allow GOT references.
16412         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16413         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16414         with "+ REL R_386_GLOB_DAT".
16415         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16416         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16418 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16420         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
16421         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16422         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
16423         Likewise.
16424         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16425         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
16426         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16427         INTERNAL_SYSCALLINTERNAL_SYSCALL and
16428         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16429         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16430         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16431         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16432         Likewise.
16433         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16435 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16437         [BZ #19125]
16438         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
16439         <math_private.h> and <stdint.h>.
16440         (__llround): Avoid conversions to and from long long int, and
16441         subtractions, where those might raise spurious exceptions.
16442         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16443         <math_private.h> and <stdint.h>.
16444         (__llroundf): Avoid conversions to and from long long int, and
16445         subtractions, where those might raise spurious exceptions.
16447 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16449         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
16450         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16451         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16452         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
16453         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16454         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16455         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
16456         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
16457         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
16458         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16459         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16460         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16461         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
16462         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16463         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16464         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
16465         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
16466         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16467         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
16468         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
16469         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16470         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
16471         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
16472         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16473         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
16474         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16475         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
16476         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16477         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16478         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
16479         (__xstat64_conv): Likewise.
16480         (__xstat32_conv): Likewise.
16482 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16484         * sysdeps/unix/sysv/linux/sysdep.h: New file.
16485         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
16486         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
16487         <sysdeps/unix/sysv/linux/sysdep.h>.
16488         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16489         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
16490         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
16491         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16492         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16493         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
16494         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
16495         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16496         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16499         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16500         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16501         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16502         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16503         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16504         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
16505         (sysdep-dl-routines): Add sysdep.
16506         [$(subdir) == nptl] (libpthread-routines): Likewise.
16507         [$(subdir) == rt] (librt-routines): Likewise.
16508         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
16509         PIC when branching to SYSCALL_ERROR_LABEL.
16510         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
16511         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
16512         <sysdeps/unix/sysv/linux/sysdep.h>.
16513         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
16514         (SYSCALL_ERROR_ERRNO): Removed.
16515         (SYSCALL_ERROR_HANDLER): Changed to empty.
16516         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
16517         (__syscall_error): New prototype.
16518         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
16519         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
16521 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16523         [BZ #19124]
16524         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
16525         (_dl_runtime_resolve_avx512): Make it a hidden alias of
16526         _dl_runtime_resolve_avx.
16527         (_dl_runtime_profile_avx512): Make it a hidden alias of
16528         _dl_runtime_profile_avx.
16530 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16532         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
16533         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
16534         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
16535         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
16537         [BZ #16422]
16538         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
16539         New configure test.
16540         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
16541         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
16542         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
16543         <math_private.h> and <stdint.h>.
16544         (__llrint): Avoid conversions to long long int where those might
16545         raise spurious exceptions.
16546         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16547         <math_private.h> and <stdint.h>.
16548         (__llrintf): Avoid conversions to long long int where those might
16549         raise spurious exceptions.
16551 2015-10-12  Andreas Schwab  <schwab@suse.de>
16553         [BZ #18969]
16554         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
16555         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
16556         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
16557         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
16558         $(gen-locales).
16559         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
16560         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
16561         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
16562         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
16563         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
16564         $(gen-locales).
16565         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
16566         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
16567         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
16568         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
16569         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
16570         ($(objpfx)tst-ftell-active-handler.out)
16571         ($(objpfx)tst-ftell-append.out)
16572         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
16573         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
16574         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
16575         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
16576         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
16577         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
16578         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
16579         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
16580         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
16581         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
16582         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
16583         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
16584         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
16585         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
16586         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
16587         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
16588         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
16589         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
16590         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
16591         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
16592         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
16593         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
16594         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
16595         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
16596         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
16597         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
16598         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
16599         $(gen-locales).
16600         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
16601         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
16602         $(gen-locales).
16603         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
16604         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
16605         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
16606         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
16607         $(gen-locales).
16608         * libio/tst_wprintf2.c (main): Use explicit locale.
16609         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
16611 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16613         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
16614         __msg_sig_post.
16615         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
16617 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16619         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16620         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16622         * sysdeps/arm/libm-test-ulps: Regenerated.
16624         [BZ #15470]
16625         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
16627         [BZ #16399]
16628         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
16629         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
16630         and <fix-fp-int-convert-overflow.h>.
16631         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16632         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16633         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
16634         and <fix-fp-int-convert-overflow.h>.
16635         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
16636         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16637         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
16638         <fix-fp-int-convert-overflow.h>.
16639         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16640         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16641         * sysdeps/ieee754/dbl-64/s_lround.c: Include
16642         <fix-fp-int-convert-overflow.h>.
16643         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
16644         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16645         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
16646         and <fix-fp-int-convert-overflow.h>.
16647         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16648         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16649         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
16650         <limits.h> and <fix-fp-int-convert-overflow.h>.
16651         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16652         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16653         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
16654         and <fix-fp-int-convert-overflow.h>.
16655         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16656         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16657         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
16658         and <fix-fp-int-convert-overflow.h>.
16659         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16660         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16661         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
16663 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
16665         [BZ #18589]
16666         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
16667         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
16668         $(gen-locales).
16670 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16671             Phil Blundell <pb@pbcl.net>
16673         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
16674         * nptl/tst-cancel26.c: New file.
16675         * nptl/tst-cancel27.c: Likewise.
16677 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
16679         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
16680         __ILP32__ isn't defined.
16681         (lrint): Likewise.
16682         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
16683         (lrintf): Likewise.
16684         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
16685         (lrintl): Likewise.
16686         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
16687         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
16688         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
16690 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16692         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16693         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16695         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
16696         file.
16697         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
16698         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16700 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16702         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
16703         configure test.
16704         * sysdeps/i386/configure: Regenerated.
16705         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
16706         configure test.
16707         * sysdeps/x86_64/configure: Regenerated.
16708         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
16709         Make code unconditional.
16711         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
16712         test.
16713         * sysdeps/i386/configure: Regenerated.
16714         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
16715         test.
16716         * sysdeps/x86_64/configure: Regenerated.
16717         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
16718         Make code unconditional.
16719         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16720         Likewise.
16721         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
16722         Likewise.
16723         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16724         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
16725         code unconditional.
16726         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16727         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
16728         code unconditional.
16729         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16730         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
16731         code unconditional.
16732         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
16733         code unconditional.
16734         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16735         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
16736         code unconditional.
16737         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16738         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
16739         code unconditional.
16740         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16741         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
16742         code unconditional.
16743         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16744         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
16745         code unconditional.
16746         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16747         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
16749         [BZ #19095]
16750         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
16751         mantissa to long int before shifting left.
16753 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16755         [BZ #19094]
16756         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
16757         <limits.h>.
16758         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16759         when result overflows but exception would not result from cast.
16760         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
16761         <limits.h>.
16762         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16763         when result overflows but exception would not result from cast.
16764         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
16765         <limits.h>.
16766         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16767         when result overflows but exception would not result from cast.
16768         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16769         <limits.h>.
16770         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16771         when result overflows but exception would not result from cast.
16772         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16773         <limits.h>.
16774         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16775         when result overflows but exception would not result from cast.
16776         * math/libm-test.inc (lrint_test_data): Add more tests.
16777         (llrint_test_data): Likewise.
16779 2015-10-08  Roland McGrath  <roland@hack.frob.com>
16781         [BZ #18872]
16782         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16783         Move out from under [$(run-built-tests) = yes] conditional.
16784         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16785         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16787 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
16789         [BZ #18589]
16790         * string/Makefile (tests): Add bug-strcoll2.
16791         (LOCALES): Add cs_CZ.UTF-8.
16792         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16794         [BZ #18589]
16795         * string/bug-strcoll2.c: New file.
16796         * locale/categories.def: Revert commit
16797         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16798         * locale/langinfo.h: Likewise.
16799         * locale/localeinfo.h: Likewise.
16800         * locale/C-collate.c: Likewise.
16801         * locale/programs/ld-collate.c (collate_output): Likewise.
16802         * string/strcoll_l.c (STRDIFF): Likewise.
16803         (STRCOLL): Likewise.
16804         * wcsmbs/wcscoll_l.c: Likewise.
16806 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16808         * math/libm-test.inc (lround_test_data): Do not expect the absence
16809         of "inexact" for some tests with non-integer arguments.
16810         (llround_test_data): Likewise.
16812         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16813         test.
16814         (libc_cv_cc_sse2avx): Likewise.
16815         * sysdeps/i386/configure: Regenerated.
16816         * sysdeps/i386/i686/multiarch/Makefile
16817         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16818         [$(subdir) = math].
16819         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16820         code unconditional.
16821         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16822         Likewise.
16823         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16824         Likewise.
16825         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16826         Likewise.
16827         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16828         test.
16829         (libc_cv_cc_sse2avx): Likewise.
16830         * sysdeps/x86_64/configure: Regenerated.
16831         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16832         unconditional.
16833         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16834         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16835         unconditional.
16836         (_dl_runtime_profile)
16837         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
16838         conditional code.
16839         * sysdeps/x86_64/fpu/multiarch/Makefile
16840         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
16841         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16842         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16843         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16844         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16845         * sysdeps/x86_64/fpu/multiarch/e_log.c
16846         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16847         * sysdeps/x86_64/fpu/multiarch/s_atan.c
16848         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16849         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16850         Likewise.
16851         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16852         Likewise.
16853         * sysdeps/x86_64/fpu/multiarch/s_sin.c
16854         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16855         * sysdeps/x86_64/fpu/multiarch/s_tan.c
16856         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16857         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
16858         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
16859         (HAVE_SSE2AVX_SUPPORT): Likewise.
16861 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
16863         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
16864         instead of #pragma optimize.
16866 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16868         [BZ #17195]
16869         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16870         as is similarly done in systrim and _int_free already.
16872 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16874         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16876 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16878         [BZ #19088]
16879         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16880         <limits.h>.
16881         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16882         overflows but exception would not result from cast.
16883         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16884         and <limits.h>.
16885         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16886         overflows but exception would not result from cast.
16887         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16888         <limits.h>.
16889         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16890         overflows but exception would not result from cast.
16891         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16892         <limits.h>.
16893         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16894         overflows but exception would not result from cast.
16895         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16896         <limits.h>.
16897         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16898         overflows but exception would not result from cast.
16899         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
16900         <limits.h>.
16901         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16902         overflows but exception would not result from cast.
16903         * math/libm-test.inc (lround_test_data): Add more tests.
16904         (llround_test_data): Likewise.
16906 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
16908         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
16909         (CFLAGS-ialloc.c): Ditto.
16910         (CFLAGS-scheck.c): Ditto.
16912 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16914         [BZ #19086]
16915         * manual/filesys.texi (Storage Allocation): Fix argument order for
16916         posix_fallocate64.
16918 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16920         [BZ #19085]
16921         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
16922         exponent below 48 inside case for non-overflowing exponent.
16923         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16925 2015-10-07  Florian Weimer  <fweimer@redhat.com>
16927         * iconvdata/cp737.h (from_idx): Add const.
16928         * iconvdata/cp775.h (from_idx): Likewise.
16930 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16932         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
16933         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16934         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
16936         [BZ #19079]
16937         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
16938         file, conditioned on [!_LP64].
16939         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
16940         [!_LP64] (__lround): Do not define as function or alias.
16941         [!_LP64] (lround): Likewise.
16942         [!_LP64] (__lroundl): Likewise.
16943         [!_LP64] (lroundl): Likewise.
16944         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
16945         macro.
16946         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16947         Likewise.
16949 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16951         * math/libm-test.inc (lrint_test_data): Add more tests.
16952         (llrint_test_data): Likewise.
16953         (lround_test_data): Likewise.
16954         (llround_test_data): Likewise.
16956         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
16957         (llrint_test_data): Add tests used for lrint.
16959         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
16960         test.
16961         * sysdeps/i386/configure: Regenerated.
16962         * sysdeps/i386/i686/multiarch/Makefile
16963         [$(config-cflags-sse4) = yes]: Make code unconditional.
16964         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16965         Likewise.
16966         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
16967         Likewise.
16968         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
16969         test.
16970         * sysdeps/x86_64/configure: Regenerated.
16971         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
16972         Make code unconditional.
16973         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16974         Likewise.
16975         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
16976         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
16978         * scripts/rpm2dynsym.sh: Remove file.
16980 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16982         * configure.ac (libc_cv_cxx_thread_local): Define.
16983         * configure: Regenerate.
16984         * config.make.in (have-cxx-thread_local): Define.
16985         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
16986         (LDLIBS-tst-thread_local1): Define.
16987         (tests): Add tst-thread_local1.
16988         [have-cxx-thread_local != yes] (tests-unsupported): Add
16989         tst-thread_local1.
16990         * nptl/tst-thread_local1.cc: New file.
16992 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16994         [BZ #19078]
16995         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
16996         (u_thres): Likewise.
16997         (__expl): Determine whether to call __kernel_standard_l based on
16998         value of result, not argument.
17000         * math/libm-test.inc (scalb_test_data): Add more expectations for
17001         the "inexact" exception.
17003         [BZ #19077]
17004         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
17005         0.0L for argument 1.0L.
17007         [BZ #19076]
17008         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
17009         constant 0.0L when computing infinite result.
17011 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17013         [BZ #10432]
17014         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
17015         malloc_usable_size.
17017 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17019         [BZ #19018]
17020         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17021         Mangle function pointer before storing it.
17022         (__call_tls_dtors): Demangle function pointer before calling it.
17024 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17026         [BZ #19012]
17027         * iconv/gconv_db.c (gen_steps): Check for additional errors.
17028         Clean up on failure.
17030 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
17032         [BZ #19071]
17033         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
17034         long int variable to store possibly incremented high part of
17035         mantissa.
17036         * math/libm-test.inc (lround_test_data): Add tests used for
17037         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
17038         for tests requiring 64-bit long.  Do not condition tests on
17039         [TEST_FLOAT] unnecessarily.
17040         (llround_test_data): Add tests used for lround.  Add another
17041         expectation for the "inexact" exception.  Do not condition tests
17042         on [TEST_FLOAT] unnecessarily.
17044         [BZ #887]
17045         [BZ #19049]
17046         [BZ #19050]
17047         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
17048         * sysdeps/ieee754/dbl-64/e_log10.c: Include
17049         <fix-int-fp-convert-zero.h>.
17050         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17051         * sysdeps/ieee754/dbl-64/e_log2.c: Include
17052         <fix-int-fp-convert-zero.h>.
17053         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17054         * sysdeps/ieee754/dbl-64/s_erf.c: Include
17055         <fix-int-fp-convert-zero.h>.
17056         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17057         * sysdeps/ieee754/dbl-64/s_logb.c: Include
17058         <fix-int-fp-convert-zero.h>.
17059         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17060         * sysdeps/ieee754/flt-32/e_log10f.c: Include
17061         <fix-int-fp-convert-zero.h>.
17062         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17063         * sysdeps/ieee754/flt-32/e_log2f.c: Include
17064         <fix-int-fp-convert-zero.h>.
17065         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17066         * sysdeps/ieee754/flt-32/s_erff.c: Include
17067         <fix-int-fp-convert-zero.h>.
17068         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17069         * sysdeps/ieee754/flt-32/s_logbf.c: Include
17070         <fix-int-fp-convert-zero.h>.
17071         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17072         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
17073         <fix-int-fp-convert-zero.h>.
17074         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17075         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
17076         <fix-int-fp-convert-zero.h>.
17077         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17078         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
17079         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
17080         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
17081         file.
17082         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
17084 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17086         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17088 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
17090         [BZ #19059]
17091         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
17092         overflowing computation.
17093         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17094         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17095         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17096         Likewise.
17097         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17098         Likewise.
17099         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17100         Likewise.
17101         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17102         Likewise.
17103         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17104         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17105         Likewise.
17106         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17107         Likewise.
17108         * math/libm-test.inc (nexttoward_test_data): Add more tests.
17110         * nss/rewrite_field.c (__nss_rewrite_field): Use
17111         internal_function.
17112         * nss/valid_field.c (__nss_valid_field): Likewise.
17113         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
17115 2015-10-02  Florian Weimer  <fweimer@redhat.com>
17117         [BZ #18724]
17118         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
17119         (__nss_invalid_field_characters, __nss_valid_field)
17120         (__nss_valid_list_field, __nss_rewrite_field): Declare.
17121         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
17122         tst-field.c: New file.
17123         * nss/Makefile (routines): Add valid_field, rewrite_field.
17124         (tests-static): Define unconditionally.
17125         (tests): Include tests-static.
17126         [build-static-nss] (tests-static): Use append.
17127         [build-static-nss] (tests): Remove modification.
17128         * nss/getent.c (print_group): Call putgrent.  Report error.
17129         (print_gshadow): Call putsgent.  Report error.
17130         (print_passwd): Call putpwent.  Report error.
17131         (print_shadow): Call putspent.  Report error.
17132         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
17133         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
17134         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
17135         name, password, directory, shell fields for valid syntax.  Rewrite
17136         GECOS field to match syntax.
17137         * pwd/Makefile (tests): Add tst-putpwent.
17138         * pwd/tst-putpwent.c: New file.
17139         * grp/putgrent.c (putgrent): Convert to ISO function definition.
17140         Check grName, grpasswd, gr_mem fields for valid syntax.
17141         Change loop variable i to size_t.
17142         * grp/Makefile (tests): Add tst-putgrent.
17143         * grp/tst-putgrent.c: New file.
17144         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
17145         valid syntax.
17146         * shadow/Makefile (tests): Add tst-putspent.
17147         * shadow/tst-putspent.c: New file.
17148         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
17149         sg_mem fields for valid syntax.
17150         * gshadow/Makefile (tests): Add tst-putsgent.
17151         * gshadow/tst-putsgent.c: New file.
17153 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17155         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
17156         assembly instructions.
17158 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17160         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
17161         prefix from operands.
17163 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
17165         [BZ #16347]
17166         [BZ #19046]
17167         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
17168         <libc-internal.h>.
17169         (MAXLGM): Do not use diagnostic control macros.
17170         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
17171         threshold for ldbl-128ibm.
17172         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
17173         instead of multiplying by log then subtracting.
17174         * math/auto-libm-test-in: Add more tests of lgamma.
17175         * math/auto-libm-test-out: Regenerated.
17177         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
17178         (TYPE_HEX_DIG): Likewise.
17179         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
17180         precisions when printing floating-point numbers.
17181         (check_float_internal): Likewise.
17183 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17185         [BZ #16620]
17186         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
17187         of log (10) rounded downward to 48 bits.
17188         (log10_low): Use corresponding low part of log (10).
17190         [BZ #19032]
17191         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
17192         compute result as (x - x) / (x - x) not as 0 / 0.
17193         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17194         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
17196         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17197         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
17198         and expm1.
17199         * math/auto-libm-test-out: Regenerated.
17200         * math/libm-test.inc (acos_test_data): Add more tests.
17201         (asin_test_data): Likewise.
17202         (asinh_test_data): Likewise.
17203         (atan_test_data): Likewise.
17204         (atanh_test_data): Likewise.
17205         (atan2_test_data): Likewise.
17206         (cbrt_test_data): Likewise.
17207         (ceil_test_data): Likewise.
17208         (copysign_test_data): Likewise.
17209         (cos_test_data): Likewise.
17210         (cosh_test_data): Likewise.
17211         (erf_test_data): Likewise.
17212         (erfc_test_data): Likewise.
17213         (exp_test_data): Likewise.
17214         (exp10_test_data): Likewise.
17215         (exp2_test_data): Likewise.
17216         (expm1_test_data): Likewise.
17217         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17219 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
17221         [BZ #19006]
17222         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
17223         to ...
17224         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
17225         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
17226         to ...
17227         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
17228         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
17229         to ...
17230         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
17231         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
17232         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
17233         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
17234         to ...
17235         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
17236         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17237         Moved to ...
17238         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
17239         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17240         Moved to ...
17241         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
17242         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
17243         to ...
17244         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
17245         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17246         Moved to ...
17247         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
17248         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
17249         to ...
17250         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
17251         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
17252         Removed.
17253         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
17254         Likewise.
17255         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
17256         Likewise.
17257         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
17258         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
17259         Likewise.
17260         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17261         Likewise.
17262         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17263         Likewise.
17264         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17265         Likewise.
17266         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17267         Likewise.
17268         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
17269         Likewise.
17270         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
17271         Likewise.
17272         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
17273         Likewise.
17274         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
17275         Likewise.
17276         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
17277         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
17278         Likewise.
17279         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17280         Likewise.
17281         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17282         Likewise.
17283         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17284         Likewise.
17285         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
17286         Likewise.
17287         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17288         Replace ../i486/pthread_cond_timedwait.S with
17289         ../pthread_cond_timedwait.S.
17291 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17293         * math/libm-test.inc (acos_test_data): Refine expectations for
17294         errno and "inexact" exceptions.
17295         (acosh_test_data): Likewise.
17296         (asin_test_data): Likewise.
17297         (asinh_test_data): Likewise.
17298         (atan_test_data): Likewise.
17299         (atanh_test_data): Likewise.
17300         (atan2_test_data): Likewise.
17301         (cbrt_test_data): Likewise.
17302         (ceil_test_data): Likewise.
17303         (copysign_test_data): Likewise.
17304         (cosh_test_data): Likewise.
17305         (erf_test_data): Likewise.
17306         (erfc_test_data): Likewise.
17307         (exp_test_data): Likewise.
17308         (exp10_test_data): Likewise.
17309         (exp2_test_data): Likewise.
17310         (expm1_test_data): Likewise.
17311         (fabs_test_data): Likewise.
17312         (floor_test_data): Likewise.
17313         (fma_test_data): Likewise.
17314         (fmax_test_data): Likewise.
17315         (fmin_test_data): Likewise.
17316         (fmod_test_data): Likewise.
17317         (fpclassify_test_data): Likewise.
17318         (frexp_test_data): Likewise.
17319         (hypot_test_data): Likewise.
17320         (ilogb_test_data): Likewise.
17321         (isgreater_test_data): Likewise.
17322         (isgreaterequal_test_data): Likewise.
17323         (isinf_test_data): Likewise.
17324         (isless_test_data): Likewise.
17325         (islessequal_test_data): Likewise.
17326         (islessgreater_test_data): Likewise.
17327         (isnan_test_data): Likewise.
17328         (isnormal_test_data): Likewise.
17329         (issignaling_test_data): Likewise.
17330         (isunordered_test_data): Likewise.
17331         (j0_test_data): Likewise.
17332         (j1_test_data): Likewise.
17333         (jn_test_data): Likewise.
17334         (lgamma_test_data): Likewise.
17335         (lrint_test_data): Likewise.
17336         (llrint_test_data): Likewise.
17337         (log_test_data): Likewise.
17338         (log10_test_data): Likewise.
17339         (log1p_test_data): Likewise.
17340         (log2_test_data): Likewise.
17341         (logb_test_data): Likewise.
17342         (lround_test_data): Likewise.
17343         (llround_test_data): Likewise.
17344         (modf_test_data): Likewise.
17345         (nearbyint_test_data): Likewise.
17346         (nextafter_test_data): Likewise.
17347         (nexttoward_test_data): Likewise.
17348         (pow_test_data): Likewise.
17349         (remainder_test_data): Likewise.
17350         (remquo_test_data): Likewise.
17351         (rint_test_data): Likewise.
17352         (round_test_data): Likewise.
17353         (signbit_test_data): Likewise.
17354         (sinh_test_data): Likewise.
17355         (sqrt_test_data): Likewise.
17356         (tanh_test_data): Likewise.
17357         (tgamma_test_data): Likewise.
17358         (trunc_test_data): Likewise.
17359         (y0_test_data): Likewise.
17360         (y1_test_data): Likewise.
17361         (yn_test_data): Likewise.
17362         (significand_test_data): Likewise.
17364 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
17366         * manual/filesys.texi (Storage Allocation): Document that
17367         posix_fallocate emulation fails when fd is open with O_WRONLY.
17369 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
17371         [BZ #19016]
17372         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
17373         allow more cases with X^2 + Y^2 >= 0.5.
17374         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
17375         normal element in sum instead of special-casing based on values of
17376         arguments.
17377         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
17378         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
17379         -1 as normal element in sum instead of special-casing based on
17380         values of arguments.
17381         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
17382         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
17383         (__x2y2m1): Update comment.
17384         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
17385         as normal element in sum instead of special-casing based on values
17386         of arguments.
17387         * math/s_clog.c (__clog): Handle more cases using log1p without
17388         hypot.
17389         * math/s_clog10.c (__clog10): Likewise.
17390         * math/s_clog10f.c (__clog10f): Likewise.
17391         * math/s_clog10l.c (__clog10l): Likewise.
17392         * math/s_clogf.c (__clogf): Likewise.
17393         * math/s_clogl.c (__clogl): Likewise.
17394         * math/auto-libm-test-in: Add more tests of clog and clog10.
17395         * math/auto-libm-test-out: Regenerated.
17396         * sysdeps/i386/fpu/libm-test-ulps: Update.
17397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17399 2015-09-28  Martin Sebor  <msebor@redhat.com>
17401         [BZ #18969]
17402         * string/Makefile (LOCALES): Define.
17403         (gen-locales.mk): Include.
17404         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17405         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17406         * string/tst-strxfrm2.c (do_test): Print the name of the locale
17407         on setlocale failure.
17409 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17411         [BZ #18985]
17412         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17413         (__strftime_internal): Likewise.
17414         * time/tst-strftime.c (do_bz18985): New test.
17415         (do_test): Call it.
17417 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
17419         [BZ #18956]
17420         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
17421         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
17422         extracting high part.
17423         * math/auto-libm-test-in: Add another test of pow.
17424         * math/auto-libm-test-out: Regenerated.
17425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17427 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17429         [BZ #18825]
17430         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
17431         New macro.
17432         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
17433         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17434         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
17435         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
17436         DBL_NARROW_EVAL, reloading the PIC register as needed.
17437         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
17438         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
17439         FLT_NARROW_EVAL.  Use separate return path for case when first
17440         argument is NaN.
17441         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
17442         DEFINE_LDBL_MIN.
17443         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
17444         PIC register.
17445         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
17446         math_check_force_underflow_nonneg.
17447         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
17448         underflow for subnormal result.
17449         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17450         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
17451         math_check_force_underflow_nonneg.
17452         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
17453         math_check_force_underflow.
17454         * sysdeps/x86_64/fpu/x86_64-math-asm.h
17455         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
17456         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
17457         DEFINE_LDBL_MIN.
17458         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
17459         * math/auto-libm-test-in: Add more tests of pow.
17460         * math/auto-libm-test-out: Regenerated.
17462 2015-09-25  Florian Weimer  <fweimer@redhat.com>
17464         * nss/bug17079.c (init_test_items): Add diagnostic for
17465         inconsistent entries.
17466         (test_buffer_size): Skip inconsistent entries.
17468 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17470         [BZ #13304]
17471         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
17472         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17473         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
17475         [BZ #13304]
17476         * sysdeps/microblaze/s_fma.c: New file.
17477         * sysdeps/microblaze/s_fmaf.c: Likewise.
17478         * sysdeps/microblaze/sfp-machine.h: Likewise.
17480 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
17482         [BZ #17250]
17483         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
17484         member.
17486 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17488         [BZ #18803]
17489         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
17490         (MO): New macro.
17491         (__ieee754_hypot) [PIC]: Load PIC register.
17492         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
17493         DBL_NARROW_EVAL.
17494         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
17495         math_check_force_underflow_nonneg in case where result might be
17496         tiny.
17497         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17498         Likewise.
17499         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17500         Likewise.
17501         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17502         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17503         * math/auto-libm-test-in: Add more tests of hypot.
17504         * math/auto-libm-test-out: Regenerated.
17506 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
17508         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
17510 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17512         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
17513         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
17514         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17515         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17516         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
17517         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17518         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17520         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
17521         LOAD_PIC_REG.
17523         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
17524         (FLT_CHECK_FORCE_UFLOW): Likewise.
17525         (DBL_CHECK_FORCE_UFLOW): Likewise.
17526         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
17527         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
17528         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
17529         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17530         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17531         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17532         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17533         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17534         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
17535         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17536         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
17537         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
17538         (flt_min): Replace with use of DEFINE_FLT_MIN.
17539         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
17540         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
17541         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17542         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
17543         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
17544         (flt_min): Replace with use of DEFINE_FLT_MIN.
17545         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
17546         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
17547         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17548         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
17549         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
17550         (flt_min): Replace with use of DEFINE_FLT_MIN.
17551         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
17552         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
17553         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17554         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17555         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
17556         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17557         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17558         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
17559         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17560         (__atan): Use DBL_CHECK_FORCE_UFLOW.
17561         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
17562         (flt_min): Replace with use of DEFINE_FLT_MIN.
17563         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
17564         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
17565         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17566         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
17567         main computation.
17568         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
17569         (flt_min): Replace with use of DEFINE_FLT_MIN.
17570         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
17571         main computation.
17572         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
17573         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17574         (MO): New macro.
17575         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
17576         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
17577         (flt_min): Replace with use of DEFINE_FLT_MIN.
17578         (MO): New macro.
17579         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
17580         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
17581         (__log1pl): Use MO.
17583         [BZ #19003]
17584         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
17585         $(config-cflags-nofma).
17587 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17589         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17591 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
17593         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
17594         (TWO127): Likewise.
17596         * sysdeps/generic/math_private.h (fabs_tg): New macro.
17597         (min_of_type): Likewise.
17598         (math_check_force_underflow): Likewise.
17599         (math_check_force_underflow_nonneg): Likewise.
17600         (math_check_force_underflow_complex): Likewise.
17601         * math/e_exp2l.c (__ieee754_exp2l): Use
17602         math_check_force_underflow_nonneg.
17603         * math/k_casinh.c (__kernel_casinh): Likewise.
17604         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17605         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17606         * math/s_catan.c (__catan): Use
17607         math_check_force_underflow_complex.
17608         * math/s_catanf.c (__catanf): Likewise.
17609         * math/s_catanh.c (__catanh): Likewise.
17610         * math/s_catanhf.c (__catanhf): Likewise.
17611         * math/s_catanhl.c (__catanhl): Likewise.
17612         * math/s_catanl.c (__catanl): Likewise.
17613         * math/s_ccosh.c (__ccosh): Likewise.
17614         * math/s_ccoshf.c (__ccoshf): Likewise.
17615         * math/s_ccoshl.c (__ccoshl): Likewise.
17616         * math/s_cexp.c (__cexp): Likewise.
17617         * math/s_cexpf.c (__cexpf): Likewise.
17618         * math/s_cexpl.c (__cexpl): Likewise.
17619         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
17620         * math/s_clog10.c (__clog10): Likewise.
17621         * math/s_clog10f.c (__clog10f): Likewise.
17622         * math/s_clog10l.c (__clog10l): Likewise.
17623         * math/s_clogf.c (__clogf): Likewise.
17624         * math/s_clogl.c (__clogl): Likewise.
17625         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
17626         * math/s_csinf.c (__csinf): Likewise.
17627         * math/s_csinh.c (__csinh): Likewise.
17628         * math/s_csinhf.c (__csinhf): Likewise.
17629         * math/s_csinhl.c (__csinhl): Likewise.
17630         * math/s_csinl.c (__csinl): Likewise.
17631         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
17632         * math/s_csqrtf.c (__csqrtf): Likewise.
17633         * math/s_csqrtl.c (__csqrtl): Likewise.
17634         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
17635         * math/s_ctanf.c (__ctanf): Likewise.
17636         * math/s_ctanh.c (__ctanh): Likewise.
17637         * math/s_ctanhf.c (__ctanhf): Likewise.
17638         * math/s_ctanhl.c (__ctanhl): Likewise.
17639         * math/s_ctanl.c (__ctanl): Likewise.
17640         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
17641         instead of volatile.
17642         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
17643         math_check_force_underflow.
17644         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17645         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
17646         volatile when forcing underflow.
17647         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17648         math_check_force_underflow_nonneg.
17649         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17650         Likewise.
17651         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
17652         math_check_force_underflow.
17653         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17654         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17655         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17656         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
17657         math_check_force_underflow_nonneg.
17658         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
17659         math_check_force_underflow.
17660         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
17662         instead of volatile.
17663         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
17664         math_check_force_underflow.
17665         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17666         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17667         math_check_force_underflow_nonneg.
17668         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
17669         math_check_force_underflow.
17670         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17671         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17672         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
17673         math_check_force_underflow_nonneg.
17674         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17675         Likewise.
17676         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
17677         math_check_force_underflow.
17678         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17679         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17680         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
17681         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
17682         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17683         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
17684         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17685         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17686         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17687         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
17688         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17689         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17690         Likewise.
17691         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
17692         math_check_force_underflow_nonneg.
17693         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17694         Likewise.
17695         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
17696         math_check_force_underflow.
17697         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17698         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17699         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17700         Likewise.
17701         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17702         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
17703         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
17704         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
17705         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
17706         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
17707         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
17708         instead of volatile.
17709         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
17710         math_check_force_underflow.
17711         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17712         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
17713         math_check_force_underflow.
17714         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
17715         Likewise.
17716         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17717         Use math_check_force_underflow_nonneg.
17718         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
17719         math_check_force_underflow.
17720         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17721         Likewise.
17722         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17723         Likewise.
17724         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17725         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17726         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17727         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17728         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
17729         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17730         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17731         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17732         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
17733         math_check_force_underflow_nonneg.
17734         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
17735         math_check_force_underflow.
17736         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17737         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17738         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
17739         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
17740         math_check_force_underflow_nonneg.
17741         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
17742         math_check_force_underflow.
17743         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17744         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
17745         instead of volatile.
17746         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
17747         math_check_force_underflow.
17749         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
17750         * stdlib/strtod_l.c: Include <math_private.h>.
17751         (overflow_value): Use math_narrow_eval.
17752         (underflow_value): Likewise.
17753         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17754         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17755         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17756         (__ieee754_gamma_r): Likewise.
17757         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
17758         Likewise.
17759         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17760         Likewise.
17761         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
17762         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
17763         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17764         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17765         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17766         (__ieee754_gammaf_r): Likewise.
17767         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17768         Likewise.
17769         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17770         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17771         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17772         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17773         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17774         volatile.
17775         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17776         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17777         math_narrow_eval.
17778         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17779         Likewise.
17780         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17781         Likewise.
17782         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17783         Likewise.
17784         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17785         volatile.
17786         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17787         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17788         math_narrow_eval.
17789         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17790         Likewise.
17791         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17792         Likewise.
17794 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
17796         * nptl/Versions: Remove ignored symbols.
17798 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17800         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
17801         * nss/Makefile (tests): Update.
17803 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17805         * nss/bug18287.c: New file.
17806         * nss/Makefile (tests): Add bug18287.
17808 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17810         * mach/Versions (__mach_host_self_): Add symbol.
17812 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17814         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17815         vm_page_size.
17817 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17819         Really fix sysdeps/i386/fpu/s_scalbn.S build
17821         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17822         (libc: GLIBC_2_22): Remove unused version set.
17824 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17826         * config.make.in (enable-timezone-tools): New variable.
17827         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17828         (enable_timezone_tools): Export to generated files.
17829         * configure: Regenerate.
17830         * INSTALL: Regenerate.
17831         * manual/install.texi (--disable-timezone-tools): Document new flag.
17832         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17833         ifeq ($(enable-timezone-tools),yes) check.
17835 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17837         * timezone/Makefile: Revert previous change.
17839         [BZ #18980]
17840         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
17841         (DEFINE_DBL_MIN): Likewise.
17842         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17843         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17844         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17845         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17846         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
17847         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17848         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17849         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
17850         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
17851         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17852         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17853         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
17854         (flt_min): Replace with use of DEFINE_FLT_MIN.
17855         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17856         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
17857         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17858         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17859         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
17860         (flt_min): Replace with use of DEFINE_FLT_MIN.
17861         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17862         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
17863         (flt_min): Replace with use of DEFINE_FLT_MIN.
17864         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17865         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17866         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17867         (__ieee754_hypot): Use DBL_NARROW_EVAL.
17868         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17869         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17870         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17871         (__ieee754_pow): Use DBL_NARROW_EVAL.
17872         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17873         (__ieee754_powf): Use FLT_NARROW_EVAL.
17874         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17875         (__ieee754_expf_sse2): Convert double-precision result to single
17876         precision.
17877         * sysdeps/i386/fpu/libm-test-ulps: Update.
17879 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17881         * timezone/Makefile: Ignore unused variable errors due to private.h
17882         (time_t_min) and (time_t_max).
17883         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
17884         Likewise.
17886 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17888         [BZ #18981]
17889         * sysdeps/i386/fpu/i386-math-asm.h: New file.
17890         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17891         (__ieee754_scalb): Use DBL_NARROW_EVAL.
17892         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17893         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17894         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17895         (__scalbn): Use DBL_NARROW_EVAL.
17896         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17897         (__scalbnf): Use FLT_NARROW_EVAL.
17899 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17901         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17902         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
17903         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
17904         * stdio-common/printf_fp.c (___printf_fp):
17905         Use signbit to get the sign. Use isinf macro to allow inlining.
17906         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
17907         * stdio-common/printf_size.c (__printf_size): Likewise.
17909 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17911         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
17913 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17915         [BZ #18980]
17916         * sysdeps/generic/math_private.h: Include <float.h>.
17917         (math_narrow_eval): New macro.
17918         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17919         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
17920         math_narrow_eval on overflowing return value.
17921         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
17922         Likewise.
17923         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17924         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
17925         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
17926         Likewise.
17927         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17929 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17931         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
17932         * math/Makefile: Remove isinf_ns.c.
17933         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
17934         * math/multc3.c (__multc3): Likewise.
17935         * math/s_casin.c (__casin): Likewise.
17936         * math/s_casinf.c (__casinf): Likewise.
17937         * math/s_casinl.c (__casinl): Likewise.
17938         * math/s_cproj.c (__cproj): Likewise.
17939         * math/s_cprojf.c (__cprojf): Likewise.
17940         * math/s_cprojl.c (__cprofl): Likewise.
17941         * math/s_ctan.c (__ctan): Likewise.
17942         * math/s_ctanf.c (__ctanf): Likewise.
17943         * math/s_ctanh.c (__ctanh): Likewise.
17944         * math/s_ctanhf.c (__ctanhf): Likewise.
17945         * math/s_ctanhl.c (__ctanhl): Likewise.
17946         * math/s_ctanl.c (__ctanl): Likewise.
17947         * math/w_fmod.c (__fmod): Likewise.
17948         * math/w_fmodf.c (__fmodf): Likewise.
17949         * math/w_fmodl.c (_fmodl): Likewise.
17950         * math/w_remainder.c (__remainder): Likewise.
17951         * math/w_remainderf.c (__remainderf): Likewise.
17952         * math/w_remainderl.c (__remainderl): Likewise.
17953         * math/w_scalb.c (__scalb): Likewise.
17954         * math/w_scalbf.c (__scalbf): Likewise.
17955         * math/w_scalbl.c (__scalbl): Likewise.
17956         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
17957         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
17958         with isinf.
17959         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
17960         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
17961         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
17962         __isinf_nsf with isinf.
17963         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
17964         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
17965         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
17966         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
17967         with isinf.
17968         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
17969         __isinf_nsl with isinf.
17970         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
17971         with isinf.
17972         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
17973         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
17974         __isinf_nsl with isinf.
17975         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
17976         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
17977         with isinf.
17979 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17981         * resolv/base64.c (rcsid): Remove unused static.
17982         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
17983         static.  (tqpi1): Likewise.
17984         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
17985         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
17986         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
17987         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
17988         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
17989         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
17990         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
17991         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
17992         Likewise.
17994 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
17996         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
17997         <nptl/pthreadP.h>.
17998         (_longjmp_unwind): Use __libc_ptf_call.
17999         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
18001 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
18003         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
18004         * sysdeps/arm/__longjmp.S: Likewise.
18006 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18008         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
18009         Use __builtin_signbit.
18010         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
18011         Use __builtin_signbitf.
18012         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
18013         Use __builtin_signbitl.
18014         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18015         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
18017 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18019         [BZ #15367]
18020         [BZ #17441]
18022         * math/Makefile: Build test-snan.c with -fsignaling-nans.
18023         * math/math.h (fpclassify): Use __builtin_fpclassify when
18024         available.  (signbit): Use __builtin_signbit(f/l).
18025         (isfinite): Use__builtin_isfinite.  (isnormal): Use
18026         __builtin_isnormal.  (isnan): Use __builtin_isnan.
18027         (isinf): Use __builtin_isinf_sign.
18029 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18031         * benchtests/Makefile: Add bench-math-inlines, link with libm.
18032         * benchtests/bench-math-inlines.c: New benchmark.
18033         * benchtests/bench-util.h: New file.
18034         * benchtests/bench-util.c: New file.
18035         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
18037 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
18039         * elf/tst-dlmopen1.c: Define TEST_SO.
18040         (do_test): Use TEST_SO.
18042         * elf/dl-load.c: Include libc-internal.h.
18043         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
18045 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18047         [BZ #17887]
18048         * time/strptime_l.c (__strptime_internal): Make %z accept
18049         [+-]HH:MM time zones.
18051 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18053         [BZ #17886]
18054         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
18055         valid time zone.
18057 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
18059         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
18060         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
18061         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18062         (__ASSUME_FDATASYNC): Delete.
18064 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18066         * conform/linknamespace.pl: Require weak undefined symbols to be
18067         in the standard namespace.
18068         (%strong_syms): Rename to %seen_syms.
18069         (%strong_seen): Rename to %seen_where.
18071 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
18073         [BZ #18970]
18074         * misc/error.c (error): Replace pthread_setcancelstate with
18075         __pthread_setcancelstate.
18076         (error_at_line): Likewise.
18077         * posix/wordexp.c (parse_comm): Likewise.
18078         * stdlib/fmtmsg.c (fmtmsg): Likewise.
18079         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
18080         (__pthread_setcancelstate): This.
18081         (pthread_setcancelstate): Add an alias.
18082         * nptl/nptl-init.c (pthread_functions): Replace
18083         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
18084         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
18085         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
18086         hidden_proto.
18087         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
18088         it with hidden_def.
18089         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
18090         (pthread_setcancelstate): Renamed to ...
18091         (__pthread_setcancelstate): This.
18092         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
18093         __libc_ptf_call with __pthread_setcancelstate.
18095 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18096             Andreas Schwab  <schwab@suse.de>
18098         [BZ #17118]
18099         * math/s_ctan.c (__ctan): Determine sign of zero real part of
18100         result when imaginary part of argument is infinite using sine and
18101         cosine.
18102         * math/s_ctanf.c (__ctanf): Likewise.
18103         * math/s_ctanl.c (__ctanl): Likewise.
18104         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
18105         of result when real part of argument is infinite using sine and
18106         cosine.
18107         * math/s_ctanhf.c (__ctanhf): Likewise.
18108         * math/s_ctanhl.c (__ctanhl): Likewise.
18109         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
18110         (ctanh_test_data): Add more tests of ctanh.
18112 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18114         [BZ #15384]
18115         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
18116         bit-mask as in subtraction.
18117         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
18118         Likewise.
18119         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18120         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18121         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
18123         [BZ #18951]
18124         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
18125         underflow exception for small results.
18126         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18127         Likewise.
18128         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18129         Likewise.
18130         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18131         Likewise.
18132         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18133         Likewise.
18134         * math/auto-libm-test-in: Add more tests of tgamma.
18135         * math/auto-libm-test-out: Regenerated.
18137 2015-09-17  Andreas Schwab  <schwab@suse.de>
18139         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
18141 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18143         [BZ #18977]
18144         * math/bits/mathcalls.h
18145         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
18146         not declare.
18147         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
18148         Likewise.
18149         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
18150         Likewise.
18151         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
18152         Likewise.
18153         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
18154         Likewise.
18155         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
18156         Likewise.
18157         * conform/data/math.h-data
18158         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
18159         function.
18160         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
18161         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
18162         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
18163         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
18164         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
18165         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
18166         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
18167         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
18168         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
18169         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
18170         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
18172         [BZ #6803]
18173         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
18174         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
18175         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
18176         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
18177         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
18178         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
18179         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
18180         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
18181         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18182         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
18183         Likewise.
18184         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18185         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
18186         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
18187         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
18188         long_double_symbol calls.
18189         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
18190         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
18191         strong alias of __ldexpl.
18192         (scalbnl): Define using long_double_symbol.
18193         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
18194         Remove alias.
18195         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
18196         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
18197         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
18198         (scalbln_test_data): Add more errno expectations.
18200 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
18202         Cache the host port like we cache the task port.  This way we do not
18203         need to call the kernel just to get the port.  Furthermore, we no
18204         longer increase the reference count on every invocation of
18205         `mach_host_self'.
18207         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
18208         Protect declarations against the macro expansion.
18209         * mach/mach_init.c (__mach_host_self_): New variable.
18210         (mach_init): Initialize `__mach_host_self_'.
18211         * mach/mach_init.h (__mach_host_self_): New declaration.
18212         (__mach_host_self, mach_host_self): New macros.
18213         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
18214         Release reference.
18216 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18218         [BZ #4404]
18219         * po/de.po: Update from Translation Project.
18221         [BZ #16415]
18222         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
18223         (__expm1l): Remove code to handle positive infinity and overflow.
18224         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
18225         variable.
18226         (__expm1l): Remove code to handle positive infinity and overflow.
18228 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
18229             Paul Pluzhnikov  <ppluzhnikov@google.com>
18231         [BZ #18872]
18232         * stdio-common/Makefile (tst-printf-bz18872): New test.
18233         (tst-printf-bz18872-mem.out): Likewise.
18234         * stdio-common/tst-printf-bz18872.sh: Generate new test.
18235         * stdio-common/vfprintf.c: Fix memory leaks.
18237 2015-09-16  Andreas Schwab  <schwab@suse.de>
18239         [BZ #17244]
18240         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
18241         Remove extra va_start/va_end calls.
18243         [BZ #17243]
18244         * posix/execl.c (execl): Add missing va_end.
18245         * posix/execle.c (execle): Likewise.
18246         * posix/execlp.c (execlp): Likewise.
18248 2015-09-15  Roland McGrath  <roland@hack.frob.com>
18250         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
18251         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
18253 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
18255         [BZ #18967]
18256         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
18257         undefine around includes of <bits/mathcalls.h>.
18258         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
18259         not declare function.
18260         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
18261         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
18262         (scalb): Likewise.
18263         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
18264         not define macro.
18265         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
18266         variable.
18267         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18268         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18269         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18271         [BZ #18857]
18272         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
18273         return non-finite argument without doing ordered comparisons on
18274         it.
18276         [BZ #16296]
18277         * math/fenv.h (fegetround): Use __attribute_pure__.
18278         * include/fenv.h (__fegetround): Likewise.
18280         [BZ #18595]
18281         * math/s_ctan.c (__ctan): Force underflow exception for results
18282         whose real or imaginary part has small absolute value.
18283         * math/s_ctanf.c (__ctanf): Likewise.
18284         * math/s_ctanh.c (__ctanh): Likewise.
18285         * math/s_ctanhf.c (__ctanhf): Likewise.
18286         * math/s_ctanhl.c (__ctanhl): Likewise.
18287         * math/s_ctanl.c (__ctanl): Likewise.
18288         * math/auto-libm-test-in: Do not allow missing underflow for ctan
18289         and ctanh.  Add more tests of ctan and ctanh.
18291         [BZ #15918]
18292         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
18293         handling of cases where one argument is an infinity.
18295         [BZ #18875]
18296         [BZ #18966]
18297         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
18298         (MO): New macro.
18299         (__ieee754_exp10): For small results, force underflow exception
18300         and remove excess range and precision from return value.
18301         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
18302         (MO): New macro.
18303         (__ieee754_exp10f): For small results, force underflow exception
18304         and remove excess range and precision from return value.
18305         * math/auto-libm-test-in: Add more tests of exp10.
18306         * math/auto-libm-test-out: Regenerated.
18308 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
18310         [BZ #18875]
18311         [BZ #18961]
18312         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
18313         (MO): New macro.
18314         (__ieee754_exp): For small results, force underflow exception and
18315         remove excess range and precision from return value.
18316         (__exp_finite): Likewise.
18317         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
18318         (MO): New macro.
18319         (__ieee754_expf): For small results, force underflow exception and
18320         remove excess range and precision from return value.
18321         (__expf_finite): Likewise.
18322         * math/auto-libm-test-in: Add more tests of exp.
18323         * math/auto-libm-test-out: Regenerated.
18325         [BZ #16521]
18326         [BZ #18875]
18327         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
18328         small results.
18329         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
18330         (MO): New macro.
18331         (__ieee754_exp2): For small results, force underflow exception and
18332         remove excess range and precision from return value.
18333         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
18334         (MO): New macro.
18335         (__ieee754_exp2f): For small results, force underflow exception
18336         and remove excess range and precision from return value.
18337         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
18338         (MO): New macro.
18339         (__ieee754_exp2l): Force underflow exception for small results.
18340         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18341         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18342         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
18343         (MO): New macro.
18344         (__ieee754_exp2l): Force underflow exception for small results.
18345         * math/auto-libm-test-in: Add more tests or exp2.
18346         * math/auto-libm-test-out: Regenerated.
18348 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
18350         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
18352         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
18353         /dev/null.
18355 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18357         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18358         io fs process)): Drop spurious backslash.
18360 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18362         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
18363         Use sysinfo system call instead of parsing /proc/meminfo.
18364         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
18365         Likewise.
18367 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
18369         [BZ #16985]
18370         * programs/localedef.c (main): Display argv[remaining] when
18371         output_path is NULL.
18373 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18375         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18376         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
18377         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
18378         tanh.
18379         * math/auto-libm-test-out: Regenerated.
18380         * sysdeps/i386/fpu/libm-test-ulps: Update.
18381         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18382         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18385 2015-09-11  Roland McGrath  <roland@hack.frob.com>
18387         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
18388         Use 'override' keyword to freeze the value here, preventing
18389         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
18391 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18393         [BZ #14912]
18394         * sysdeps/aarch64/bits/atomic.h: Move to ...
18395         * sysdeps/aarch64/atomic-machine.h: ...here.
18396         (_AARCH64_BITS_ATOMIC_H): Rename macro to
18397         _AARCH64_ATOMIC_MACHINE_H.
18398         * sysdeps/alpha/bits/atomic.h: Move to ...
18399         * sysdeps/alpha/atomic-machine.h: ...here.
18400         * sysdeps/arm/bits/atomic.h: Move to ...
18401         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
18402         * bits/atomic.h: Move to ...
18403         * sysdeps/generic/atomic-machine.h: ...here.
18404         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18405         * sysdeps/i386/bits/atomic.h: Move to ...
18406         * sysdeps/i386/atomic-machine.h: ...here.
18407         * sysdeps/ia64/bits/atomic.h: Move to ...
18408         * sysdeps/ia64/atomic-machine.h: ...here.
18409         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18410         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18411         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18412         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18413         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18414         * sysdeps/microblaze/bits/atomic.h: Move to ...
18415         * sysdeps/microblaze/atomic-machine.h: ...here.
18416         * sysdeps/mips/bits/atomic.h: Move to ...
18417         * sysdeps/mips/atomic-machine.h: ...here.
18418         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
18419         * sysdeps/powerpc/bits/atomic.h: Move to ...
18420         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
18421         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
18422         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
18423         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
18424         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
18425         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
18426         <atomic-machine.h> instead of <bits/atomic.h>.
18427         * sysdeps/s390/bits/atomic.h: Move to ...
18428         * sysdeps/s390/atomic-machine.h: ...here.
18429         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
18430         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
18431         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18432         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
18433         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
18434         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
18435         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
18436         * sysdeps/tile/bits/atomic.h: Move to ...
18437         * sysdeps/tile/atomic-machine.h: ...here.
18438         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
18439         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
18440         <sysdeps/tile/atomic-machine.h> instead of
18441         <sysdeps/tile/bits/atomic.h>.
18442         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18443         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
18444         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
18445         <sysdeps/tile/atomic-machine.h> instead of
18446         <sysdeps/tile/bits/atomic.h>.
18447         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18448         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
18449         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
18450         <sysdeps/arm/atomic-machine.h> instead of
18451         <sysdeps/arm/bits/atomic.h>.
18452         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
18453         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
18454         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18455         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
18456         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
18457         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18458         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
18459         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
18460         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
18461         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
18462         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
18463         * sysdeps/x86_64/bits/atomic.h: Move to ...
18464         * sysdeps/x86_64/atomic-machine.h: ...here.
18465         * include/atomic.h: Include <atomic-machine.h> instead of
18466         <bits/atomic.h>.
18468         * sysdeps/mips/mips32/libm-test-ulps: Update.
18469         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18471         [BZ #18952]
18472         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
18473         not convert non-integer negative arguments to int to determine the
18474         value of signgam.
18475         * math/auto-libm-test-in: Add more tests of lgamma.
18476         * math/auto-libm-test-out: Regenerated.
18478         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
18479         cosh, csqrt, erfc, expm1 and lgamma.
18480         * math/auto-libm-test-out: Regenerated.
18481         * sysdeps/i386/fpu/libm-test-ulps: Update.
18482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18484 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
18486         [BZ #2542]
18487         [BZ #2543]
18488         [BZ #2558]
18489         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
18490         __lgamma_neg for arguments from -28.0 to -2.0.
18491         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
18492         __lgamma_negf for arguments from -15.0 to -2.0.
18493         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18494         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
18495         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
18496         Call __lgamma_negl for arguments from -33.0 to -2.0.
18497         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
18498         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18499         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18500         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
18501         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
18502         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18503         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
18504         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
18505         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
18506         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18507         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
18508         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
18509         (__lgamma_neg): Likewise.
18510         (__lgamma_negl): Likewise.
18511         (__lgamma_product): Likewise.
18512         (__lgamma_productl): Likewise.
18513         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
18514         * math/auto-libm-test-in: Add more tests of lgamma.
18515         * math/auto-libm-test-out: Regenerated.
18516         * sysdeps/i386/fpu/libm-test-ulps: Update.
18517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18519 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
18521         [BZ #18675]
18522         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
18524 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
18526         [BZ #14912]
18527         * bits/libc-lock.h: Move to ...
18528         * sysdeps/generic/libc-lock.h: ...here.
18529         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18530         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
18531         * sysdeps/mach/hurd/libc-lock.h: ...here.
18532         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18533         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
18534         * sysdeps/mach/bits/libc-lock.h: Move to ...
18535         * sysdeps/mach/libc-lock.h: ...here.
18536         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18537         * sysdeps/nptl/bits/libc-lock.h: Move to ...
18538         * sysdeps/nptl/libc-lock.h: ...here.
18539         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18540         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
18541         * sysdeps/nptl/libc-lockP.h: ...here.
18542         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
18543         * crypt/crypt_util.c: Include <libc-lock.h> instead of
18544         <bits/libc-lock.h>.
18545         * dirent/scandir-tail.c: Likewise.
18546         * dlfcn/dlerror.c: Likewise.
18547         * elf/dl-close.c: Likewise.
18548         * elf/dl-iteratephdr.c: Likewise.
18549         * elf/dl-lookup.c: Likewise.
18550         * elf/dl-open.c: Likewise.
18551         * elf/dl-support.c: Likewise.
18552         * elf/dl-writev.h: Likewise.
18553         * elf/rtld.c: Likewise.
18554         * grp/fgetgrent.c: Likewise.
18555         * gshadow/fgetsgent.c: Likewise.
18556         * gshadow/sgetsgent.c: Likewise.
18557         * iconv/gconv_conf.c: Likewise.
18558         * iconv/gconv_db.c: Likewise.
18559         * iconv/gconv_dl.c: Likewise.
18560         * iconv/gconv_int.h: Likewise.
18561         * iconv/gconv_trans.c: Likewise.
18562         * include/link.h: Likewise.
18563         * inet/getnameinfo.c: Likewise.
18564         * inet/getnetgrent.c: Likewise.
18565         * inet/getnetgrent_r.c: Likewise.
18566         * intl/bindtextdom.c: Likewise.
18567         * intl/dcigettext.c: Likewise.
18568         * intl/finddomain.c: Likewise.
18569         * intl/gettextP.h: Likewise.
18570         * intl/loadmsgcat.c: Likewise.
18571         * intl/localealias.c: Likewise.
18572         * intl/textdomain.c: Likewise.
18573         * libidn/idn-stub.c: Likewise.
18574         * libio/libioP.h: Likewise.
18575         * locale/duplocale.c: Likewise.
18576         * locale/freelocale.c: Likewise.
18577         * locale/newlocale.c: Likewise.
18578         * locale/setlocale.c: Likewise.
18579         * login/getutent_r.c: Likewise.
18580         * login/getutid_r.c: Likewise.
18581         * login/getutline_r.c: Likewise.
18582         * login/utmp-private.h: Likewise.
18583         * login/utmpname.c: Likewise.
18584         * malloc/mtrace.c: Likewise.
18585         * misc/efgcvt.c: Likewise.
18586         * misc/error.c: Likewise.
18587         * misc/fstab.c: Likewise.
18588         * misc/getpass.c: Likewise.
18589         * misc/mntent.c: Likewise.
18590         * misc/syslog.c: Likewise.
18591         * nis/nis_call.c: Likewise.
18592         * nis/nis_callback.c: Likewise.
18593         * nis/nss-default.c: Likewise.
18594         * nis/nss_compat/compat-grp.c: Likewise.
18595         * nis/nss_compat/compat-initgroups.c: Likewise.
18596         * nis/nss_compat/compat-pwd.c: Likewise.
18597         * nis/nss_compat/compat-spwd.c: Likewise.
18598         * nis/nss_nis/nis-alias.c: Likewise.
18599         * nis/nss_nis/nis-ethers.c: Likewise.
18600         * nis/nss_nis/nis-grp.c: Likewise.
18601         * nis/nss_nis/nis-hosts.c: Likewise.
18602         * nis/nss_nis/nis-network.c: Likewise.
18603         * nis/nss_nis/nis-proto.c: Likewise.
18604         * nis/nss_nis/nis-pwd.c: Likewise.
18605         * nis/nss_nis/nis-rpc.c: Likewise.
18606         * nis/nss_nis/nis-service.c: Likewise.
18607         * nis/nss_nis/nis-spwd.c: Likewise.
18608         * nis/nss_nisplus/nisplus-alias.c: Likewise.
18609         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
18610         * nis/nss_nisplus/nisplus-grp.c: Likewise.
18611         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
18612         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
18613         * nis/nss_nisplus/nisplus-network.c: Likewise.
18614         * nis/nss_nisplus/nisplus-proto.c: Likewise.
18615         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
18616         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
18617         * nis/nss_nisplus/nisplus-service.c: Likewise.
18618         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
18619         * nis/ypclnt.c: Likewise.
18620         * nptl/libc_pthread_init.c: Likewise.
18621         * nss/getXXbyYY.c: Likewise.
18622         * nss/getXXent.c: Likewise.
18623         * nss/getXXent_r.c: Likewise.
18624         * nss/nss_db/db-XXX.c: Likewise.
18625         * nss/nss_db/db-netgrp.c: Likewise.
18626         * nss/nss_db/nss_db.h: Likewise.
18627         * nss/nss_files/files-XXX.c: Likewise.
18628         * nss/nss_files/files-alias.c: Likewise.
18629         * nss/nsswitch.c: Likewise.
18630         * posix/regex_internal.h: Likewise.
18631         * posix/wordexp.c: Likewise.
18632         * pwd/fgetpwent.c: Likewise.
18633         * resolv/res_hconf.c: Likewise.
18634         * resolv/res_libc.c: Likewise.
18635         * shadow/fgetspent.c: Likewise.
18636         * shadow/lckpwdf.c: Likewise.
18637         * shadow/sgetspent.c: Likewise.
18638         * socket/opensock.c: Likewise.
18639         * stdio-common/reg-modifier.c: Likewise.
18640         * stdio-common/reg-printf.c: Likewise.
18641         * stdio-common/reg-type.c: Likewise.
18642         * stdio-common/vfprintf.c: Likewise.
18643         * stdio-common/vfscanf.c: Likewise.
18644         * stdlib/abort.c: Likewise.
18645         * stdlib/cxa_atexit.c: Likewise.
18646         * stdlib/fmtmsg.c: Likewise.
18647         * stdlib/random.c: Likewise.
18648         * stdlib/setenv.c: Likewise.
18649         * string/strsignal.c: Likewise.
18650         * sunrpc/auth_none.c: Likewise.
18651         * sunrpc/bindrsvprt.c: Likewise.
18652         * sunrpc/create_xid.c: Likewise.
18653         * sunrpc/key_call.c: Likewise.
18654         * sunrpc/rpc_thread.c: Likewise.
18655         * sysdeps/arm/backtrace.c: Likewise.
18656         * sysdeps/generic/ldsodefs.h: Likewise.
18657         * sysdeps/generic/stdio-lock.h: Likewise.
18658         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
18659         * sysdeps/i386/backtrace.c: Likewise.
18660         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18661         * sysdeps/m68k/backtrace.c: Likewise.
18662         * sysdeps/mach/hurd/cthreads.c: Likewise.
18663         * sysdeps/mach/hurd/dirstream.h: Likewise.
18664         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18665         * sysdeps/nptl/malloc-machine.h: Likewise.
18666         * sysdeps/nptl/stdio-lock.h: Likewise.
18667         * sysdeps/posix/dirstream.h: Likewise.
18668         * sysdeps/posix/getaddrinfo.c: Likewise.
18669         * sysdeps/posix/system.c: Likewise.
18670         * sysdeps/pthread/aio_suspend.c: Likewise.
18671         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18672         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18673         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18674         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18675         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
18676         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
18677         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
18678         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18679         * sysdeps/unix/sysv/linux/system.c: Likewise.
18680         * sysdeps/x86_64/backtrace.c: Likewise.
18681         * time/alt_digit.c: Likewise.
18682         * time/era.c: Likewise.
18683         * time/tzset.c: Likewise.
18684         * wcsmbs/wcsmbsload.c: Likewise.
18685         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
18686         instead of <bits/libc-lock.h> in comment.
18688 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
18690         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
18691         Only use .set mips2 if the current ISA is below mips2.
18692         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
18693         Likewise.
18694         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
18695         mips32r2 if the current ISA is below mips32r2.
18696         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
18697         (TLS_IE): Updated to use the TLD_RDHWR macro.
18698         (TLS_LE): Likewise.
18699         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
18700         __ASSEMBLER__ condition.
18702 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18704         Fix parallel build of before-compile targets.
18706         * sysdeps/mach/Makefile ($(patsubst
18707         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
18708         mach-before-compile target.
18709         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18710         io fs process)): Move rule to dedicated hurd-before-compile target.
18712 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18714         Fix rules generating headers in hurd/ and mach/ when initial make call
18715         has subdir= explicitly set.
18717         * sysdeps/mach/Makefile ($(patsubst
18718         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
18719         calling $(MAKE).
18720         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18721         io fs process)): Force subdir to hurd when calling $(MAKE).
18722         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
18723         subdir to mach when calling $(MAKE).
18725 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
18727         Check sysheaders when looking for Mach and Hurd headers
18729         * sysdeps/mach/configure.ac: Add sysheaders check.
18730         * sysdeps/mach/configure: Regenerate.
18731         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
18732         * sysdeps/mach/hurd/configure: Regenerate.
18734 2015-09-04  Roland McGrath  <roland@hack.frob.com>
18736         [BZ #18921]
18737         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
18738         Fix inverted sense of test of 'o_directory_works' value.
18739         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
18740         Bernhard Voelker <mail@bernhard-voelker.de>.
18742 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18744         [BZ #14912]
18745         * bits/linkmap.h: Move to ...
18746         * sysdeps/generic/linkmap.h: ...here.
18747         * sysdeps/aarch64/bits/linkmap.h: Move to ...
18748         * sysdeps/aarch64/linkmap.h: ...here.
18749         * sysdeps/arm/bits/linkmap.h: Move to ...
18750         * sysdeps/arm/linkmap.h: ...here.
18751         * sysdeps/hppa/bits/linkmap.h: Move to ...
18752         * sysdeps/hppa/linkmap.h: ...here.
18753         * sysdeps/ia64/bits/linkmap.h: Move to ...
18754         * sysdeps/ia64/linkmap.h: ...here.
18755         * sysdeps/mips/bits/linkmap.h: Move to ...
18756         * sysdeps/mips/linkmap.h: ...here.
18757         * sysdeps/s390/bits/linkmap.h: Move to ...
18758         * sysdeps/s390/linkmap.h: ...here.
18759         * sysdeps/sh/bits/linkmap.h: Move to ...
18760         * sysdeps/sh/linkmap.h: ...here.
18761         * sysdeps/x86/bits/linkmap.h: Move to ...
18762         * sysdeps/x86/linkmap.h: ...here.
18763         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
18765 2015-09-04  Andreas Schwab  <schwab@suse.de>
18767         [BZ #18635]
18768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18769         (__makecontext): Terminate FDE before return label.
18770         (__novec_makecontext): Likewise.
18772 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18774         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18775         first member of struct sv in syscall macro.
18777 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18779         [BZ #14912]
18780         * bits/stdio-lock.h: Move to ...
18781         * sysdeps/generic/stdio-lock.h: ...here.
18782         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18783         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18784         * sysdeps/nptl/stdio-lock.h: ...here.
18785         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18786         * include/libio.h: Include <stdio-lock.h> instead of
18787         <bits/stdio-lock.h>.
18788         * sysdeps/nptl/fork.c: Likewise.
18789         * sysdeps/pthread/flockfile.c: Likewise.
18790         * sysdeps/pthread/ftrylockfile.c: Likewise.
18791         * sysdeps/pthread/funlockfile.c: Likewise.
18793         [BZ #14912]
18794         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18795         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18796         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18797         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18798         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18799         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18800         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18802 2015-09-03  Roland McGrath  <roland@hack.frob.com>
18804         * elf/Makefile (test-xfail-tst-protected1a): New variable.
18805         (test-xfail-tst-protected1b): New variable.
18807 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
18809         [BZ #14912]
18810         * bits/libc-tsd.h: Move to ...
18811         * sysdeps/generic/libc-tsd.h: ...here.
18812         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18813         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18814         * sysdeps/mach/hurd/libc-tsd.h: ...here.
18815         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18816         * include/ctype.h: Include <libc-tsd.h> instead of
18817         <bits/libc-tsd.h>.
18818         * include/rpc/rpc.h: Likewise.
18819         * locale/localeinfo.h: Likewise.
18820         * sunrpc/rpc_thread.c: Likewise.
18821         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18822         * sysdeps/nptl/malloc-machine.h: Likewise.
18824         * Makefile (headers): Remove bits/libc-lock.h.
18825         * libio/Makefile (headers): Remove bits/stdio-lock.h.
18827         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18828         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18829         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18830         <bits/stdio-lock.h>.
18831         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18832         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18834 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18836         [BZ #18757]
18837         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
18838         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
18839         BZ #18757.
18841 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18843         * malloc/mtrace.pl: Filter out NULL entries.
18845 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
18847         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
18848         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
18849         macro.
18851         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
18852         (TCP_CC_INFO): Likewise.
18853         (TCP_SAVE_SYN): Likewise.
18854         (TCP_SAVED_SYN): Likewise.
18856 2015-08-31  Brett Neumeier <brett@neumeier.us>
18858         [BZ #18870]
18859         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
18861 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
18863         [BZ #18873]
18864         Fix broken overflow check in posix_fallocate
18865         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18866         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18867         Fix parenthesization typo.
18869 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18871         [BZ #18887]
18872         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18873         tst-mntent-blank-passno.
18874         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18875         * misc/tst-mntent-blank-corrupt.c: New test.
18876         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18877         * misc/tst-mntent.c (do_test): ... here.
18879 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
18881         [BZ #4404]
18882         * po/de.po: Fix SIGALRM typo.
18884 2015-08-28  James Perkins  <james@loowit.net>
18886         * time/tst-strptime2.c (tests): Replace short list of test
18887         strings for strptime %z specifier with code which exhaustively
18888         tests every combination of sign and 0 to 5 digits. Tests for
18889         rejection of invalid strings.
18891 2015-08-28  James Perkins  <james@loowit.net>
18893         [BZ #16141]
18894         * time/strptime_l.c (__strptime_internal): Fix %z minutes
18895         calculation, removing incorrect decimal time rounding, so that
18896         all minute values result in a valid seconds value.
18897         * time/strptime_l.c (__strptime_internal): Extend %z time zone
18898         offset range limits to UTC-99:59 through UTC+99:59 to parse
18899         current and historical use cases.
18900         * time/tst-strptime2.c (tests): Modify and add tests for the
18901         strptime %z input field descriptor, specifically conversion of
18902         minutes to seconds and validating an offset range of -9959 to
18903         +9959.
18905 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18906             Dmitry V. Levin  <ldv@altlinux.org>
18908         [BZ #18877]
18909         * posix/Makefile (tests): Add tst-mmap-offset.
18910         * posix/tst-mmap.c: New file.
18911         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
18912         offset calculation for negative values.
18914 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18916         * sysdeps/i386/init-arch.h: New file.
18917         * sysdeps/i386/i586/init-arch.h: Likewise.
18918         * sysdeps/i386/i686/init-arch.h: Likewise.
18919         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
18920         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
18921         * sysdeps/x86/cpu-features.h (bit_I586): New.
18922         (bit_I686): Likewise.
18923         (bit_CX8): Likewise.
18924         (bit_CMOV): Likewise.
18925         (index_CX8): Likewise.
18926         (index_CMOV): Likewise.
18927         (index_I586): Likewise.
18928         (index_I686): Likewise.
18929         (reg_CX8): Likewise.
18930         (reg_CMOV): Likewise.
18931         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
18932         available at compile-time.
18933         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
18934         available at compile-time.
18935         * sysdeps/x86/init-arch.h (USE_I586): New macro.
18936         (USE_I686): Likewise.
18938 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18940         * sysdeps/i386/bcopy.S: New file.
18941         * sysdeps/i386/bzero.S: Likewise.
18942         * sysdeps/i386/memcpy.S: Likewise.
18943         * sysdeps/i386/memmove.S: Likewise.
18944         * sysdeps/i386/mempcpy.S: Likewise.
18945         * sysdeps/i386/memset.S: Likewise.
18946         * sysdeps/i386/bzero.c: Removed.
18947         * sysdeps/i386/memset.c: Likewise.
18948         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
18949         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
18950         * sysdeps/i386/i586/memset_chk.S: Likewise.
18951         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
18952         * sysdeps/i386/memcpy_chk.S: Here.
18953         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
18954         * sysdeps/i386/memmove_chk.S: Here.
18955         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
18956         * sysdeps/i386/mempcpy_chk.S: Likewise.
18957         * sysdeps/i386/i686/memset_chk.S: Moved to ...
18958         * sysdeps/i386/memset_chk.S: Likewise.
18960 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
18962         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
18963         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
18964         file, move DIAG_POP_NEEDS_COMMENT to end of file.
18965         * soft-fp/fmadf4.c: Ditto.
18966         * soft-fp/fmatf4.c: Ditto.
18968 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18970         * sysdeps/i386/i586/Implies: Removed.
18971         * sysdeps/i386/i686/Implies: Likewise.
18973 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18975         * sysdeps/i386/i486/strlen.S: Moved to ...
18976         * sysdeps/i386/strlen.S: Here.
18978 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18980         * sysdeps/i386/i486/strcat.S: Moved to ...
18981         * sysdeps/i386/strcat.S: Here.
18983 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18985         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
18986         * sysdeps/i386/pthread_spin_trylock.S: Here.
18987         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
18988         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
18990 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18992         * sysdeps/i386/i486/string-inlines.c: Moved to ...
18993         * sysdeps/i386/string-inlines.c: Here.
18995 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18997         * sysdeps/i386/i486/htonl.S: Moved ...
18998         * sysdeps/i386/htonl.S: here.
19000 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19002         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
19003         * sysdeps/i386/bits/atomic.h: Here.
19005 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19007         * sysdeps/i386/i486/Versions: Removed.
19009 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19011         [BZ #2898]
19012         * misc/mktemp.c: Add mkdtemp to the link_warning message.
19013         Based on patch by Aurelien Jarno.
19015 2015-08-26  Stan Shebs  <stanshebs@google.com>
19017         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
19018         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19020 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19022         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
19023         * sysdeps/powerpc/dl-procinfo.c:
19024         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
19025         feature so it shows when LD_SHOW_AUXV=1.
19027 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19029         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19030         (__arch_compare_and_exchange_val_32_acq): Remove and use common
19031         definition.  ISA 2.07B no longer requires full sync.
19033 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
19035         [BZ #18863]
19036         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
19037         (si_call_addr): Define.
19038         (si_syscall): Define.
19039         (si_arch): Define.
19041 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
19043         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
19044         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
19045         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
19046         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19047         (__memset_zero_constant_len_parameter): New.
19048         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
19049         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19050         (__memset_zero_constant_len_parameter): Don't define if
19051         __memset_chk or USE_AS_BZERO are defined.
19053         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
19054         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
19055         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
19057         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
19058         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
19059         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
19060         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
19061         comments.
19062         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
19063         -mno-mmx for $(all-rtld-routines).
19064         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
19065         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
19066         i386.
19068 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19070         * sysdeps/generic/unwind.h
19071         (_Unwind_Word): Use __mode__(__unwind_word__)
19072         instead of __mode__(__word__).
19073         (_Unwind_Sword): Likewise.
19075         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19076         (MAX_NEEDED_INPUT): New define.
19077         (MAX_NEEDED_OUTPUT): New define.
19079         * NEWS: New item for IBM z13 string optimizations.
19081         * sysdeps/s390/multiarch/memrchr-c.c: New File.
19082         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
19083         * sysdeps/s390/multiarch/memrchr.c: Likewise.
19084         * sysdeps/s390/multiarch/Makefile
19085         (sysdep_routines): Add memrchr functions.
19086         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19087         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
19089         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
19090         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
19091         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
19092         * sysdeps/s390/multiarch/Makefile
19093         (sysdep_routines): Add wmemcmp functions.
19094         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19095         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
19096         * benchtests/bench-wmemcmp.c: New File.
19097         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
19099         * sysdeps/s390/multiarch/wmemset-c.c: New File.
19100         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
19101         * sysdeps/s390/multiarch/wmemset.c: Likewise.
19102         * sysdeps/s390/multiarch/Makefile
19103         (sysdep_routines): Add wmemset functions.
19104         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19105         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
19106         * wcsmbs/wmemset.c: Use WMEMSET if defined.
19107         * string/test-memset.c: Add wmemset support.
19108         * wcsmbs/test-wmemset.c: New File.
19109         * wcsmbs/Makefile (strop-tests): Add wmemset.
19110         * benchtests/bench-memset.c: Add wmemset support.
19111         * benchtests/bench-wmemset.c: New File.
19112         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
19114         * sysdeps/s390/multiarch/memccpy-c.c: New File.
19115         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
19116         * sysdeps/s390/multiarch/memccpy.c: Likewise.
19117         * sysdeps/s390/multiarch/Makefile
19118         (sysdep_routines): Add memccpy functions.
19119         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19120         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
19121         * string/memccpy.c: Use MEMCCPY if defined.
19123         * sysdeps/s390/multiarch/memchr-vx.S: New File.
19124         * sysdeps/s390/multiarch/memchr.c: Likewise.
19125         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
19126         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
19127         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
19128         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
19129         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
19130         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
19131         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
19132         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
19133         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
19134         and rawmemchr functions.
19135         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19136         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
19137         and wmemchr.
19138         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
19139         * string/test-memchr.c: Add wmemchr support.
19140         * wcsmbs/test-wmemchr.c: New File.
19141         * wcsmbs/Makefile (strop-tests): Add wmemchr.
19142         * benchtests/bench-memchr.c: Add wmemchr support.
19143         * benchtests/bench-wmemchr.c: New File.
19144         * benchtests/Makefile (wcsmbs-bench): wmemchr.
19146         * sysdeps/s390/multiarch/strcspn-c.c: New File.
19147         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
19148         * sysdeps/s390/multiarch/strcspn.c: Likewise.
19149         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
19150         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
19151         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
19152         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
19153         wcscspn functions.
19154         * sysdeps/s390/multiarch/ifunc-impl-list.c
19155         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
19156         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
19157         * string/test-strcspn.c: Add wcscspn support.
19158         * wcsmbs/test-wcscspn.c: New File.
19159         * wcsmbs/Makefile (strop-tests): Add wcscspn.
19160         * benchtests/bench-strcspn.c: Add wcscspn support.
19161         * benchtests/bench-wcscspn.c: New File.
19162         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
19164         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
19165         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
19166         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
19167         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
19168         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
19169         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
19170         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
19171         wcspbrk functions.
19172         * sysdeps/s390/multiarch/ifunc-impl-list.c
19173         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
19174         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
19175         * string/test-strpbrk.c: Add wcspbrk support.
19176         * wcsmbs/test-wcspbrk.c: New File.
19177         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
19178         * benchtests/bench-strpbrk.c: Add wcspbrk support.
19179         * benchtests/bench-wcspbrk.c: New File.
19180         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
19182         * sysdeps/s390/multiarch/strspn-c.c: New File.
19183         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
19184         * sysdeps/s390/multiarch/strspn.c: Likewise.
19185         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
19186         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
19187         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
19188         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
19189         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
19190         wcsspn functions.
19191         * sysdeps/s390/multiarch/ifunc-impl-list.c
19192         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
19193         * string/test-strspn.c: Add wcsspn support.
19194         * wcsmbs/test-wcsspn.c: New File.
19195         * wcsmbs/Makefile (strop-tests): Add wcsspn.
19196         * benchtests/bench-strspn.c: Add wcsspn support.
19197         * benchtests/bench-wcsspn.c: New File.
19198         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
19200         * sysdeps/s390/multiarch/strrchr-c.c: New File.
19201         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
19202         * sysdeps/s390/multiarch/strrchr.c: Likewise.
19203         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
19204         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
19205         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
19206         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
19207         wcsrchr functions.
19208         * sysdeps/s390/multiarch/ifunc-impl-list.c
19209         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
19210         * benchtests/bench-wcsrchr.c: New File.
19211         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
19213         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
19214         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
19215         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
19216         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
19217         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
19218         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
19219         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
19220         wcschrnul functions.
19221         * sysdeps/s390/multiarch/ifunc-impl-list.c
19222         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
19223         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
19224         * string/test-strchr.c: Add wcschrnul support.
19225         * wcsmbs/test-wcschrnul.c: New File.
19226         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
19227         * benchtests/bench-strchr.c: Add wcschrnul support.
19228         * benchtests/bench-wcschrnul.c: New File.
19229         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
19231         * sysdeps/s390/multiarch/strchr-c.c: New File.
19232         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
19233         * sysdeps/s390/multiarch/strchr.c: Likewise.
19234         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
19235         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
19236         * sysdeps/s390/multiarch/wcschr.c: Likewise.
19237         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
19238         wcschr functions.
19239         * sysdeps/s390/multiarch/ifunc-impl-list.c
19240         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
19241         * string/strchr.c (STRCHR): Define and use macro.
19242         * benchtests/bench-wcschr.c: New File.
19243         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
19245         * sysdeps/s390/multiarch/strncmp-c.c: New File.
19246         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
19247         * sysdeps/s390/multiarch/strncmp.c: Likewise.
19248         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
19249         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
19250         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
19251         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
19252         wcsncmp functions.
19253         * sysdeps/s390/multiarch/ifunc-impl-list.c
19254         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
19255         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
19256         * benchtests/bench-strncmp.c: Add wcsncmp support.
19257         * benchtests/bench-wcsncmp.c: New File.
19258         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
19260         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
19261         * sysdeps/s390/multiarch/strcmp.c: Likewise.
19262         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
19263         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
19264         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
19265         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
19266         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
19267         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
19268         wcscmp functions.
19269         * sysdeps/s390/multiarch/ifunc-impl-list.c
19270         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
19271         * string/strcmp.c (STRCMP): Define and use macro.
19272         * benchtests/bench-wcscmp.c: New File.
19273         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
19274         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
19275         instead of _HAVE_STRING_ARCH_memchr.
19277         * sysdeps/s390/multiarch/strncat-c.c: New File.
19278         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
19279         * sysdeps/s390/multiarch/strncat.c: Likewise.
19280         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
19281         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
19282         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
19283         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
19284         wcsncat functions.
19285         * sysdeps/s390/multiarch/ifunc-impl-list.c
19286         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
19287         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
19288         * string/test-strncat.c: Add wcsncat support.
19289         * wcsmbs/test-wcsncat.c: New File.
19290         * wcsmbs/Makefile (strop-tests): Add wcsncat.
19291         * benchtests/bench-strncat.c: Add wcsncat support.
19292         * benchtests/bench-wcsncat.c: New File.
19293         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
19295         * sysdeps/s390/multiarch/strcat-c.c: New File.
19296         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
19297         * sysdeps/s390/multiarch/strcat.c: Likewise.
19298         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
19299         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
19300         * sysdeps/s390/multiarch/wcscat.c: Likewise.
19301         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
19302         wcscat functions.
19303         * sysdeps/s390/multiarch/ifunc-impl-list.c
19304         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
19305         * string/strcat.c (STRCAT): Define and use macro.
19306         * wcsmbs/wcscat.c: Use WCSCAT if defined.
19307         * string/test-strcat.c: Add wcscat support.
19308         * wcsmbs/test-wcscat.c: New File.
19309         * wcsmbs/Makefile (strop-tests): Add wcscat.
19310         * benchtests/bench-strcat.c: Add wcscat support.
19311         * benchtests/bench-wcscat.c: New File.
19312         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
19314         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
19315         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
19316         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
19317         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
19318         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
19319         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
19320         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
19321         wcpncpy functions.
19322         * sysdeps/s390/multiarch/ifunc-impl-list.c
19323         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
19324         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
19325         * string/test-stpncpy.c: Add wcpncpy support.
19326         * wcsmbs/test-wcpncpy.c: New File.
19327         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
19328         * benchtests/bench-stpncpy.c: Add wcpncpy support.
19329         * benchtests/bench-wcpncpy.c: New File.
19330         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
19332         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
19333         * sysdeps/s390/multiarch/strncpy.c: Likewise.
19334         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
19335         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
19336         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
19337         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
19338         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
19339         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
19340         wcsncpy functions.
19341         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
19342         * sysdeps/s390/multiarch/ifunc-impl-list.c
19343         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
19344         * string/test-strncpy.c: Add wcsncpy support.
19345         * wcsmbs/test-wcsncpy.c: New File.
19346         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
19347         * benchtests/bench-strncpy.c: Add wcsncpy support.
19348         * benchtests/bench-wcsncpy.c: New File.
19349         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
19351         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
19352         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
19353         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
19354         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
19355         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
19356         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
19357         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
19358         wcpcpy functions.
19359         * string/stpcpy.c: Use STPCPY if defined.
19360         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
19361         * sysdeps/s390/multiarch/ifunc-impl-list.c
19362         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
19363         * string/test-stpcpy.c: Add wcpcpy support.
19364         * wcsmbs/test-wcpcpy.c: New File.
19365         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
19366         * benchtests/bench-stpcpy.c: Add wcpcpy support.
19367         * benchtests/bench-wcpcpy.c: New File.
19368         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
19370         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
19371         * sysdeps/s390/multiarch/strcpy.c: Likewise.
19372         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
19373         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
19374         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
19375         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
19376         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
19377         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
19378         wcscpy functions.
19379         * sysdeps/s390/multiarch/ifunc-impl-list.c
19380         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
19381         * benchtests/bench-wcscpy.c: New File.
19382         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
19384         * sysdeps/s390/multiarch/strnlen-c.c: New File.
19385         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
19386         * sysdeps/s390/multiarch/strnlen.c: Likewise.
19387         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
19388         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
19389         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
19390         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
19391         wcsnlen functions.
19392         * sysdeps/s390/multiarch/ifunc-impl-list.c
19393         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19394         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19395         * string/test-strnlen.c: Add wcsnlen support.
19396         * wcsmbs/test-wcsnlen.c: New File.
19397         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19398         * benchtests/bench-strnlen.c: Add wcsnlen support.
19399         * benchtests/bench-wcsnlen.c: New File.
19400         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19402         * sysdeps/s390/multiarch/Makefile: New File.
19403         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19404         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19405         * sysdeps/s390/multiarch/strlen.c: Likewise.
19406         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19407         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19408         * sysdeps/s390/multiarch/wcslen.c: Likewise.
19409         * string/strlen.c (STRLEN): Define and use macro.
19410         * sysdeps/s390/multiarch/ifunc-impl-list.c
19411         (IFUNC_VX_IMPL): New macro function.
19412         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19413         * benchtests/Makefile (wcsmbs-bench): New variable.
19414         (string-bench-all): Added wcsmbs-bench.
19415         * benchtests/bench-wcslen.c: New File.
19417         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
19418         s390_vx_libc_ifunc2): New macro function.
19420         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
19421         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
19422         assembler support.
19423         * sysdeps/s390/configure: Regenerated.
19425         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
19426         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19428         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
19429         * sysdeps/s390/dl-procinfo.h: Add vector capability.
19430         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
19432         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
19433         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
19434         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
19435         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
19436         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
19437         (memcmp, bcmp): Use __memcmp_default as alias source.
19438         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
19439         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
19440         Rename to __memcmp_default.
19441         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19442         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
19443         (memcpy): Use __memcpy_default as alias source.
19444         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
19445         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
19446         Rename to __memcpy_default.
19447         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
19448         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
19449         (memset): Use __memset_default as alias source.
19450         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
19451         * sysdeps/s390/s390-32/memset.S (__memset_g5):
19452         Rename to __memset_default.
19453         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
19454         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
19455         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
19456         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
19457         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
19458         (memcmp, bcmp): Use __memcmp_default as alias source.
19459         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
19460         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
19461         Rename to __memcmp_default.
19462         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
19463         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
19464         (memcpy): Use __memcpy_default as alias source.
19465         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
19466         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
19467         Rename to __memcpy_default.
19468         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
19469         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
19470         (memset): Use __memset_default as alias source.
19471         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
19472         * sysdeps/s390/s390-64/memset.S (__memset_z900):
19473         Rename to __memset_default.
19474         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
19475         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
19477         [BZ #18610]
19478         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
19479         __ieee_instruction_pointer to __unused.
19480         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
19481         __ieee_instruction_pointer.
19482         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
19483         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
19484         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19485         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19486         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
19487         Mark dxc-field as reserved.
19489 2015-08-25  Roland McGrath  <roland@hack.frob.com>
19491         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
19492         if the weak reference is not null.
19494 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19496         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
19498         [BZ #11214]
19499         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
19501 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19503         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
19504         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
19505         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
19506         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
19507         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
19508         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
19509         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19510         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
19511         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
19512         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
19513         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
19514         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
19515         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
19516         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
19517         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
19518         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
19519         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
19520         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
19522 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19524         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
19525         register other than r0 for tabort, it has special meaning.
19526         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
19527         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
19528         transaction before starting syscall.
19530 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19532         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
19534 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19536         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
19538         * sysdeps/x86_64/rtld-memcmp.c: Removed.
19539         * sysdeps/x86_64/rtld-memset.S: Likewise.
19540         * sysdeps/x86_64/rtld-strchr.S: Likewise.
19541         * sysdeps/x86_64/rtld-strlen.S: Likewise.
19542         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
19543         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19545         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
19547 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
19549         * debug/strcpy_chk.c: Improve performance.
19550         * debug/stpcpy_chk.c: Likewise.
19551         * sysdeps/x86_64/strcpy_chk.S: Remove.
19552         * sysdeps/x86_64/stpcpy_chk.S: Remove.
19554         [BZ #18240]
19555         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
19557 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19559         [BZ #15128]
19560         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19561         ifuncmain8.
19562         (modules-names): Add ifuncmod8.
19563         ($(objpfx)ifuncmain8): New rule.
19564         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
19565         <cpuid.h>.
19566         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
19567         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
19568         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
19569         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
19570         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
19571         * sysdeps/x86_64/dl-trampoline.h: Likewise.
19572         * sysdeps/x86_64/ifuncmain8.c: New file.
19573         * sysdeps/x86_64/ifuncmod8.c: Likewise.
19574         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
19575         Removed.
19576         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
19577         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
19578         Change rtld_savespace_sse to __glibc_unused2.
19579         (RTLD_CHECK_FOREIGN_CALL): Removed.
19580         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
19581         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
19582         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
19584 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19586         * sysdeps/aarch64/bzero.S (__bzero): Remove.
19588 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19590         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
19591         Unconditionally set __fpcr to avoid uninialized warning.
19592         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
19594 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19596         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
19597         is corrupt.
19599         * malloc/arena.c (arena_get2): Drop unused argument.
19600         (arena_lock): Adjust.
19601         (arena_get_retry): Likewise.
19603 2015-08-24  Andreas Schwab  <schwab@suse.de>
19605         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19606         Don't define.
19607         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19608         (__ASSUME_IPC64): Don't undef.
19609         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
19610         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19611         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19612         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
19613         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
19614         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
19615         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
19616         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
19617         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
19618         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
19619         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
19620         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
19621         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
19622         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
19623         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
19624         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
19625         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
19626         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
19627         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
19628         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
19629         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
19631 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
19633         * manual/Makefile (install): Only build manual when perl is available.
19635 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19637         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
19638         '#undef memcpy' by '#undef memchr'.
19640 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19642         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
19643         memchr not point to the internal __GI_memchr implementation.
19645 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19647         * timezone/Makefile (CFLAGS-zdump.c): Remove
19648         -Wno-strict-prototypes.
19649         (CFLAGS-zic.c): Likewise.
19650         (CFLAGS-ialloc.c): Likewise.
19651         (CFLAGS-scheck.c): Likewise.
19653         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
19654         -Wno-error=undef.
19656 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19658         * i386/i686/multiarch/strcasestr-c.c: Removed.
19659         * x86_64/multiarch/strcasestr.c: Likewise.
19660         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19661         Remove strcasestr.
19663 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19665         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
19667         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
19668         variables for high and low parts before possibly modifying them.
19670 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19672         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
19673         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
19674         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
19675         of "multiarch/init-arch.h".
19676         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
19677         * sysdeps/x86/init-arch.h: This.
19679 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19681         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
19682         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
19684 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
19686         [BZ #17787]
19687         * manual/macros.texi: Add twoexp macro.
19688         * manual/filesys.texi: Fix exponents.
19689         * manual/llio.texi: Likewise.
19690         * manual/stdio.texi: Likewise.
19692 2015-08-20  Florian Weimer  <fweimer@redhat.com>
19694         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
19695         incorrect use.
19697 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19699         [BZ #18370]
19700         * math/s_csqrt.c (__csqrt): Force underflow exception for results
19701         whose real or imaginary part has small absolute value.
19702         * math/s_csqrtf.c (__csqrtf): Likewise.
19703         * math/s_csqrtl.c (__csqrtl): Likewise.
19704         * math/auto-libm-test-in: Add more tests of csqrt.
19705         * math/auto-libm-test-out: Regenerated.
19706         * sysdeps/i386/fpu/libm-test-ulps: Update.
19708 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19710         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
19711         __ppc_set_ppr_very_low): New functions.
19712         * manual/platform.texi: Add documentation about
19713         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
19715 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
19717         * string/stpncpy.c (stpncpy): Improve performance using
19718         __strnlen/memcpy/memset.
19720 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19722         [BZ #18796]
19723         * scripts/test-installation.pl: Don't add -lmvec to build options if
19724         libmvec wasn't built.
19726 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19728         [BZ #14341]
19729         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
19730         case when there is a gap between DT_REL and DT_JMPREL sections.
19731         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
19732         (LDFLAGS-tst-split-dynreloc): New.
19733         (tst-split-dynreloc-ENV): Likewise.
19734         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
19735         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
19737 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19739         [BZ #18822]
19740         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
19741         attribute_hidden.
19742         (__xstat64_conv): Likewise.
19743         (__xstat32_conv): Likewise.
19745 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19747         [BZ #18822]
19748         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19749         Don't load %ebx when calling __setcontext.  Call __setcontext
19750         with HIDDEN_JUMPTARGET.
19751         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
19752         libc_hidden_def.
19754 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19756         * sysdeps/i386/i686/Makefile
19757         [$(subdir) == string] (sysdep_routines): Moved to ...
19758         * sysdeps/i386/Makefile: Here.
19759         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
19760         * sysdeps/i386/cacheinfo.c: Here.
19761         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
19762         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
19763         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
19764         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19766 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19768         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19769         __i586__ is defined.
19770         (HAS_I686): Defined to 1 if __i686__ is defined.
19772 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19774         * elf/Makefile [$(have-z-execstack) = yes]
19775         (CPPFLAGS-tst-execstack.c): New variable.
19777         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19778         conditional to [defined UTMPX || _HAVE_UT_TYPE].
19779         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19780         UTMPX || _HAVE_UT_TV].
19781         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19782         UTMPX || _HAVE_UT_TV - 0].
19784 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
19786         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19787         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19788         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19790 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19792         * sysdeps/powerpc/dl-procinfo.c:
19793         (_dl_powerpc_cap_flags): Added missing strings for some
19794         hwcap features.
19795         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19797 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
19799         Port the 0x7efe...feff pattern to GCC 6.
19800         See Steve Ellcey's bug report in:
19801         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19802         * string/memrchr.c (MEMRCHR):
19803         * string/rawmemchr.c (RAWMEMCHR):
19804         * string/strchr.c (strchr):
19805         * string/strchrnul.c (STRCHRNUL):
19806         Rewrite code to avoid issues with signed shift overflow.
19808 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19810         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19811         whether cpuid is available only if HAS_CPUID is 0.
19812         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19813         (HAS_I586): Likewise.
19814         (HAS_I686): Likewise.
19816 2015-08-18  Zack Weinberg  <zackw@panix.com>
19818         * misc/Versions (libc): Add GLIBC_2.23.
19820 2015-08-18  Alan Modra  <amodra@gmail.com>
19822         [BZ #18421]
19823         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19824         .Lp__global.
19825         (_start): Load %dp via .Lp__global.
19826         [!SHARED]: Use .section .rodata.
19828 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19830         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19831         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19833 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19835         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19836         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
19838 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19840         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
19841         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
19843 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19845         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
19846         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
19848 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19850         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
19851         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
19853 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19855         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
19856         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
19858 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19860         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
19862 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19864         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19865         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
19866         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19867         (__ASSUME_LWS_CAS): Delete.
19869 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19871         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19872         * sysdeps/hppa/configure: Regenerated.
19873         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19874         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19875         * sysdeps/hppa/nptl/tls.h: Likewise.
19877 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
19879         [BZ #18823]
19880         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19881         for scaling up small arguments.
19882         * math/s_csqrtf.c (__csqrtf): Likewise.
19883         * math/s_csqrtl.c (__csqrtl): Likewise.
19884         * math/auto-libm-test-in: Add more tests of csqrt.
19885         * math/auto-libm-test-out: Regenerated.
19887 2015-08-17  Andreas Schwab  <schwab@suse.de>
19889         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19890         version set GLIBC_2.19.
19892 2015-08-16  Zack Weinberg  <zackw@panix.com>
19894         [BZ #18681]
19895         * misc/regexp.h: This interface is no longer supported.
19896         Remove all contents, leaving only an #error directive.
19897         * misc/regexp.c (loc1, loc2, locs, step, advance):
19898         Demote to compatibility symbols.
19900 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
19902         [BZ #18084]
19903         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
19904         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
19905         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19906         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
19907         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
19908         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
19909         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
19910         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
19911         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19913 2015-08-15  Zack Weinberg  <zackw@panix.com>
19915         [BZ #18795]
19916         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
19917         buffer length is known to be too large, not if it's known to be
19918         small enough.
19919         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
19920         overflow at runtime, involving a length parameter, twice: once
19921         with a compile-time constant length parameter, once without.
19923 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
19925         [BZ #18824]
19926         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
19927         scaling x * y up instead of down.
19928         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19929         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19930         * math/auto-libm-test-in: Add more tests of fma.
19931         * math/auto-libm-test-out: Regenerated.
19933 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19935         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19937 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19939         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
19940         unnecessary movq.
19941         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
19942         Likewise.
19944 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
19946         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19947         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
19948         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
19949         and tgamma.
19950         * math/auto-libm-test-out: Regenerated.
19951         * sysdeps/i386/fpu/libm-test-ulps: Update.
19952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19954         [BZ #16520]
19955         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
19956         (__tanh): Force underflow exception for arguments with small
19957         absolute value.
19958         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
19959         (__tanhf): Force underflow exception for arguments with small
19960         absolute value.
19961         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
19962         (__tanhl): Force underflow exception for arguments with small
19963         absolute value.
19964         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
19965         (__tanhl): Force underflow exception for arguments with small
19966         absolute value.
19967         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
19968         (__tanhl): Force underflow exception for arguments with small
19969         absolute value.
19970         * math/auto-libm-test-in: Add more tests of tanh.
19971         * math/auto-libm-test-out: Regenerated.
19972         * sysdeps/i386/fpu/libm-test-ulps: Update.
19974 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19976         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
19977         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
19979 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19981         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
19982         <cpuid.h>.
19984 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19986         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
19987         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
19989 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19991         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
19992         Remove $(objpfx)init-arch.o.
19993         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
19994         init-arch.
19995         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
19996         (INIT_ARCH_EXT): Defined as empty.
19997         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
19998         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
19999         __init_cpu_features call.  Replace HAS_XXX with
20000         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20001         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
20002         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
20003         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
20004         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
20005         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20006         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
20007         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
20008         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20009         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
20010         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
20011         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20012         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
20013         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
20014         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20015         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
20016         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
20017         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20018         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20019         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
20020         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
20021         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20022         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
20023         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
20024         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20025         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
20026         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
20027         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20028         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
20029         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
20030         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20031         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
20032         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
20033         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20034         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
20035         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
20037 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20039         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
20040         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20041         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20042         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20043         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
20044         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
20045         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
20046         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
20047         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
20048         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
20049         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
20050         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
20051         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20052         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20053         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20054         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20055         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20056         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20057         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20058         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20059         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20060         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20061         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20062         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20063         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20064         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20065         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20066         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20067         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20068         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20069         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20070         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20071         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20072         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20073         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20074         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20075         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20076         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20077         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20078         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20079         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20080         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20081         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20083 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20085         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
20086         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20087         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20088         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20089         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20090         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
20091         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20092         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
20093         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20094         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20095         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20096         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
20097         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
20098         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
20099         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
20100         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
20101         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
20102         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
20103         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
20104         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
20105         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
20106         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
20107         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
20108         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20109         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20110         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
20111         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
20112         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
20113         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20114         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20115         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20116         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20117         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20118         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20119         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20120         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20121         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20122         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20123         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20124         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20125         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20126         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20127         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20129 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20131         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
20132         (dl_platform_init): Call init_cpu_features.
20133         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
20134         * sysdeps/i386/i686/cacheinfo.c
20135         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
20136         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
20137         * sysdeps/i386/i686/multiarch/Versions: Removed.
20138         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
20139         Removed.
20140         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
20141         * sysdeps/unix/sysv/linux/x86/Makefile
20142         (libpthread-sysdep_routines): Remove init-arch.
20143         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
20144         <sysdeps/x86_64/dl-procinfo.c> instead of
20145         sysdeps/generic/dl-procinfo.c>.
20146         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
20147         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
20148         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
20149         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
20150         [$(subdir) == elf] (tests-static): Add
20151         tst-get-cpu-features-static.
20152         * sysdeps/x86/Versions: New file.
20153         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
20154         * sysdeps/x86/cpu-features.c: Likewise.
20155         * sysdeps/x86/cpu-features.h: Likewise.
20156         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
20157         * sysdeps/x86/libc-start.c: Likewise.
20158         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20159         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
20160         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
20161         * sysdeps/x86_64/dl-procinfo.c: Likewise.
20162         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
20163         Assume USE_MULTIARCH is defined and don't check it.
20164         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
20165         (is_amd): Likewise.
20166         (max_cpuid): Likewise.
20167         (intel_check_word): Likewise.
20168         (__cache_sysconf): Don't call __init_cpu_features.
20169         (__x86_preferred_memory_instruction): Removed.
20170         (init_cacheinfo): Don't call __init_cpu_features. Replace
20171         __cpu_features with GLRO(dl_x86_cpu_features).
20172         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
20173         (dl_platform_init): Call init_cpu_features.
20174         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
20175         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
20176         * sysdeps/x86_64/multiarch/Versions: Removed.
20177         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
20178         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
20179         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
20180         Removed.
20181         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
20183 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20185         [BZ #18820]
20186         * libio/Makefile (test-fmemopen-mem): New test.
20187         * libio/test-fmemopen.c (do_bz18820): New test.
20188         * libio/fmemopen.c (__fmemopen): Fix memory leak.
20189         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
20191 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20193         [BZ #16734]
20194         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
20195         (FREE_BUF): Delete.
20196         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
20197         * libio/genops.c (_IO_setb): Use malloc and free directly.
20198         (_IO_default_doallocate, _IO_default_finish): Likewise.
20199         ( _IO_unbuffer_all): Likewise.
20200         ( libc_freeres_fn): Likewise.
20201         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20202         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20203         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
20204         (_IO_wdefault_doallocate): Likewise.
20206 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20208         [BZ #18086]
20209         * sysdeps/posix/nice.c (nice): Restore old errno.
20210         * posix/tst-nice.c (do_test): Add test for BZ #18086.
20212 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
20214         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
20216 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20218         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
20219         __bcopy and add a weak_alias to bcopy.
20220         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
20221         for static build.
20223         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
20224         cleanup macro usage.
20225         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
20226         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
20227         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20228         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
20229         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20230         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
20231         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
20232         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20233         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20234         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
20235         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20236         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
20237         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20238         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
20239         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20240         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
20241         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
20242         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
20243         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20245         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
20246         libc_hidden_def.
20247         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
20249         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
20250         (sysdep_routines): Add strstr-ppc64.
20251         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
20253 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
20255         [BZ #18778]
20256         * elf/Makefile (tests): Add Add tst-nodelete2.
20257         (modules-names): Add tst-nodelete2mod.
20258         (tst-nodelete2mod.so-no-z-defs): New.
20259         ($(objpfx)tst-nodelete2): Likewise.
20260         ($(objpfx)tst-nodelete2.out): Likewise.
20261         (LDFLAGS-tst-nodelete2): Likewise.
20262         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
20263         out of loop through all loaded libraries.
20264         * elf/tst-nodelete2.c: New file.
20265         * elf/tst-nodelete2mod.c: Likewise.
20266         * elf/tst-znodelete-zlib.cc: Delete.
20268 2015-08-11  Andreas Schwab  <schwab@suse.de>
20270         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
20271         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
20272         (__openat64_nocancel): Likewise.
20274 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
20276         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
20277         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
20278         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
20279         * math/auto-libm-test-out: Regenerated.
20280         * sysdeps/i386/fpu/libm-test-ulps: Update.
20281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20283 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20285         [BZ #18790]
20286         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
20287         threshold for returning +/- 1.
20288         * math/auto-libm-test-in: Add more tests of tanh.
20289         * math/auto-libm-test-out: Regenerated.
20290         * sysdeps/i386/fpu/libm-test-ulps: Update.
20292 2015-08-10  Andreas Schwab  <schwab@suse.de>
20294         [BZ #18781]
20295         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
20296         MORE_OFLAGS to oflag.
20297         * io/test-lfs.c (do_test): Test openat64.
20299 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20301         [BZ #18789]
20302         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
20303         smaller threshold for returning the argument.
20304         * math/auto-libm-test-in: Add more tests of sinh.
20305         * math/auto-libm-test-out: Regenerated.
20306         * sysdeps/i386/fpu/libm-test-ulps: Update.
20308 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20310         [BZ #18674]
20311         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
20312         break.
20314 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
20316         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
20317         (generated): Don't add $(addprefix z.,$(tzfiles)).
20319 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20321         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
20322         * scripts/sysd-rules.awk: Likewise.
20324 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20326         * iconvdata/tst-tables.sh: Change echo -n to printf.
20327         * nss/db-Makefile: Likewise.
20328         * posix/tst-getconf.sh: Likewise.
20329         * stdio-common/tst-unbputc.sh: Likewise.
20331 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20333         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
20334         MADV_*_PAGES defines behind this feature check.
20336 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
20338         [BZ #18480]
20339         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
20340         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
20341         Define.
20342         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
20343         LOAD_REGS_5, LOAD_REGS_6): Update.
20344         (INTERNAL_SYSCALL): Update using new LOAD defines.
20345         (INTERNAL_SYSCALL_NCS): Likewise.
20346         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
20348 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20350         [BZ #16734]
20351         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
20353 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20355         [BZ #17905]
20356         * catgets/Makefile (tst-catgets-mem): New test.
20357         * catgets/catgets.c (catopen): Don't use unbounded alloca.
20358         * catgets/open_catalog.c (__open_catalog): Likewise.
20359         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
20361 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
20363         [BZ #18787]
20364         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
20365         clobber registers.
20366         (atomic_compare_and_exchange_val_acq): Use register asms to assign
20367         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
20368         Cast return to __typeof (oldval).
20370 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
20372         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
20373         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
20374         and delete sys/syscall.h include.
20376 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
20378         [BZ #16517]
20379         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20380         (tan): Force underflow exception for arguments with small absolute
20381         value.
20382         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
20383         (__kernel_tanf): Force underflow exception for arguments with
20384         small absolute value.
20385         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
20386         (__kernel_tanl): Force underflow exception for arguments with
20387         small absolute value.
20388         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
20389         (__kernel_tanl): Force underflow exception for arguments with
20390         small absolute value.
20391         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
20392         (__kernel_tanl): Force underflow exception for arguments with
20393         small absolute value.
20394         * math/auto-libm-test-in: Add more tests of tan.
20395         * math/auto-libm-test-out: Regenerated.
20397 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20399         Fix sysdeps/i386/fpu/s_scalbn.S build
20401         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20403 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
20405         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20407 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20409         Fix gcrt0.o compilation
20411         When static-start-installed-name is different from
20412         start-installed-name, we must not use the shared objects.
20414         * csu/Makefile
20415         (extra-objs): Add gmon-start.o when building shared library and
20416         $(static-start-installed-name) is different from
20417         $(start-installed-name).
20418         $(objpfx)g$(static-start-installed-name): When building shared
20419         library and $(static-start-installed-name) is different from
20420         $(static-start-installed-name), revert to non-shared rule,
20421         i.e. using $(objpfx)% and gmon-start.o.
20423 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
20425         [BZ #16519]
20426         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
20427         (__ieee754_sinh): Force underflow exception for arguments with
20428         small absolute value.
20429         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
20430         (__ieee754_sinhf): Force underflow exception for arguments with
20431         small absolute value.
20432         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
20433         (__ieee754_sinhl): Force underflow exception for arguments with
20434         small absolute value.
20435         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
20436         (__ieee754_sinhl): Force underflow exception for arguments with
20437         small absolute value.
20438         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
20439         (__ieee754_sinhl): Force underflow exception for arguments with
20440         small absolute value.
20441         * math/auto-libm-test-in: Add more tests of sinh.
20442         * math/auto-libm-test-out: Regenerated.
20443         * sysdeps/i386/fpu/libm-test-ulps: Update.
20445 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20447         * libio/oldfileops.c: Include unistd.h.
20449 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
20451         * stdlib/isomac.c: Include ctype.h.
20453 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
20455         * dirent/tst-seekdir.c (main): Converted to ...
20456         (do_test): ... this.
20457         (TEST_FUNCTION): New macro.
20458         Include test-skeleton.c.
20459         * elf/tst-dlmodcount.c (main): Converted to ...
20460         (do_test): ... this.
20461         (TEST_FUNCTION): New macro.
20462         Include test-skeleton.c.
20463         * elf/tst-order-main.c (main): Converted to ...
20464         (do_test): ... this.
20465         (TEST_FUNCTION): New macro.
20466         Include test-skeleton.c.
20467         * elf/tst-pie2.c (main): Converted to ...
20468         (do_test): ... this.
20469         (TEST_FUNCTION): New macro.
20470         Include test-skeleton.c.
20471         * inet/tst-ether_aton.c (main): Converted to ...
20472         (do_test): ... this.
20473         (TEST_FUNCTION): New macro.
20474         Include test-skeleton.c.
20475         * misc/tst-mntent.c (main): Converted to ...
20476         (do_test): ... this.
20477         (TEST_FUNCTION): New macro.
20478         Include test-skeleton.c.
20479         * misc/tst-tsearch.c (main): Converted to ...
20480         (do_test): ... this.
20481         (TEST_FUNCTION): New macro.
20482         Include test-skeleton.c.
20483         * posix/tst-regexloc.c (main): Converted to ...
20484         (do_test): ... this.
20485         (TEST_FUNCTION): New macro.
20486         Include test-skeleton.c.
20487         * resolv/tst-aton.c (main): Converted to ...
20488         (do_test): ... this.
20489         (TEST_FUNCTION): New macro.
20490         Include test-skeleton.c.
20491         * stdio-common/test-fwrite.c (main): Converted to ...
20492         (do_test): ... this.
20493         (TEST_FUNCTION): New macro.
20494         Include test-skeleton.c.
20495         * stdio-common/tst-ferror.c (main): Converted to ...
20496         (do_test): ... this.
20497         (TEST_FUNCTION): New macro.
20498         Include test-skeleton.c.
20499         * stdio-common/tst-printf.c (main): Converted to ...
20500         (do_test): ... this.
20501         (TEST_FUNCTION): New macro.
20502         Include test-skeleton.c.
20503         * stdio-common/tst-printfsz.c (main): Converted to ...
20504         (do_test): ... this.
20505         (TEST_FUNCTION): New macro.
20506         Include test-skeleton.c.
20507         * stdlib/tst-strtod.c (main): Converted to ...
20508         (do_test): ... this.
20509         (TEST_FUNCTION): New macro.
20510         Include test-skeleton.c.
20511         * string/tst-strlen.c (main): Converted to ...
20512         (do_test): ... this.
20513         (TEST_FUNCTION): New macro.
20514         Include test-skeleton.c.
20515         * string/tst-svc.c (main): Converted to ...
20516         (do_test): ... this.
20517         (TEST_FUNCTION): New macro.
20518         Include test-skeleton.c.
20519         * time/tst-strptime.c (main): Converted to ...
20520         (do_test): ... this.
20521         (TEST_FUNCTION): New macro.
20522         Include test-skeleton.c.
20523         * timezone/tst-timezone.c (main): Converted to ...
20524         (do_test): ... this.
20525         (TEST_FUNCTION): New macro.
20526         Include test-skeleton.c.
20528 2015-08-05  Zack Weinberg  <zackw@panix.com>
20530         * misc/regexp.h: Update comments.
20532 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
20534         [BZ #18635]
20535         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
20536         before return label.
20538 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20540         [BZ #18661]
20541         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
20542         when calling __errno_location.
20543         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
20544         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
20546 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20548         [BZ #18661]
20549         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
20550         (__lll_timedwait_tid): Align stack to 16 bytes when calling
20551         __gettimeofday.
20553 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20555         [BZ #18661]
20556         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20557         (__start_context): Don't use pop to restore %rdi so that stack
20558         is aligned to 16 bytes when calling __setcontext.
20560 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20562         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
20563         only for libc.
20564         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20566 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20568         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
20569         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
20570         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
20572 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20574         * string/memccpy.c (memccpy):
20575         Improve performance by using memchr/memcpy/__mempcpy.
20577 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20579         * string/strncpy.c (strncpy):
20580         Improve performance by using __strnlen/memcpy.
20582 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20584         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20585         Optimize to avoid an unnecessary FPCR read.
20587 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20589         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20590         Optimize to reduce FPCR/FPSR accesses.
20592 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20594         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
20595         dead->data[category] != NULL.
20597 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
20599         [BZ #18647]
20600         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
20601         and |x| close to 1, use absolute value of x when computing log.
20602         * math/auto-libm-test-in: Add more tests of pow.
20603         * math/auto-libm-test-out: Regenerated.
20605 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20607         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
20608         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
20609         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
20611 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
20613         [BZ #18525]
20614         * locales/km_KH: Remove timezone definition.
20615         * locales/lo_LA: Likewise.
20616         * locales/my_MM: Likewise.
20617         * locales/nan_TW@latin: Likewise.
20618         * locales/th_TH: Likewise.
20619         * locales/uk_UA: Likewise.
20621 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20623         [BZ #18265]
20624         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
20625         (wcsncat): Likewise.
20626         (wcscmp): Likewise.
20627         (wcsncmp): Likewise.
20629 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20631         * test-skeleton.c (usage): New function.
20632         (main): Call usage when opt is '?'.
20634 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20636         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
20637         before first use.
20639 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20641         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
20642         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
20643         in there too.
20645 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
20647         * version.h (RELEASE): Set to "development".
20648         (VERSION): Set to "2.22.90"
20650         * version.h (RELEASE): Set to "stable".
20651         (VERSION): Set to "2.22"
20652         * include/features.h (__GLIBC_MINOR__): Set to 22.
20654 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
20656         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
20657         Restructure macro to avoid "value computed is not used" warning.
20658         (atomic_compare_and_exchange_val_acq): Likewise.
20660 2015-08-04  Andreas Schwab  <schwab@suse.de>
20662         [BZ #18635]
20663         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
20664         ret.
20665         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
20667 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
20669         * po/pl.po: Updated translation.
20670         * po/uk.po: Likewise.
20671         * po/fi.po: Likewise.
20672         * po/ko.po: Likewise.
20673         * po/ru.po: Likewise.
20674         * po/vi.po: Likewise.
20676 2015-07-31  Zack Weinberg  <zackw@panix.com>
20678         [BZ #18681]
20679         * regexp.h: Add unconditional #warning stating that this header
20680         will be removed soon.  Revise banner comment to match.
20681         (compile): Consistently use ERROR instead of RETURN to report
20682         errors (partial fix for bz#18681).
20683         * regexp.c: Don't include regexp.h. Remove some unnecessary
20684         declarations.
20686 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
20688         * po/libc.pot: Regenerated.
20690 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20692         [BZ #18740]
20693         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
20694         float-vlen4-arch-ext-cflags): Removed.
20695         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
20696         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
20698 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20700         [BZ #14113]
20701         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
20702         aligned to __aligned__.
20703         (pthread_cond_t, pthread_rwlock_t): Likewise.
20705 2015-07-30  Torvald Riegel  <triegel@redhat.com>
20707         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
20709 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20711         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
20712         (struct sigaction): Change sa_flags from a long to an int, and add
20713         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
20715 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20717         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
20718         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
20719         sysdeps/generic/sysdep.h include.
20720         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
20721         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
20722         sysdeps/hppa/sysdep.h.
20723         (ENTRY, PSEUDO): Undefine before defining.
20725 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20727         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
20728         from scratch to use INTERNAL_SYSCALL.
20730 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
20732         [BZ #18078]
20733         * scripts/check-localplt.awk: Support alternate relocations.
20734         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
20735         sections.
20736         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
20737         malloc entries with + REL R_386_GLOB_DAT.
20738         * sysdeps/x86_64/localplt.data: New file.
20740 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
20742         [BZ #18731]
20743         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
20744         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20745         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20747 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20749         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
20751 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20753         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
20754         directly in terms of __sync_fetch_and_add and delete (int) cast.
20756 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20758         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20759         the -D_ASM_IA64_CURRENT_H flag.
20761 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20763         [BZ #18641]
20764         * pwd/pwd.h (putpwent): Delete __nonnull markings.
20766 2015-07-27  Andreas Schwab  <schwab@suse.de>
20768         * conform/conformtest.pl (checknamespace): Filter out string
20769         literals while tokenizing.
20771 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20773         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20774         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20775         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20777 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20779         * nptl/tst-join7mod.c: Add #include <string.h>.
20781 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20783         * sysdeps/nios2/libm-test-ulps: Update.
20785 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20787         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20788         Fix order of arguments to the rt_sigprocmask syscall.
20789         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20790         Likewise.
20792 2015-07-24  Roland McGrath  <roland@hack.frob.com>
20794         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20796 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20798         [BZ #18457]
20799         * nptl/Makefile (tests): New test case tst-join7.
20800         (modules-names): New test case module tst-join7mod.
20801         * nptl/tst-join7.c: New file.
20802         * nptl/tst-join7mod.c: New file.
20803         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20804         all translation units in libc.so, libpthread.so and rtld.
20806 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20810 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20812         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20813         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20814         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20815         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20816         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20817         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20818         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20819         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20820         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20821         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20822         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20823         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20824         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20825         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20826         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20827         implementation.
20829 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20831         [BZ #17711]
20832         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20833         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20834         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20835         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20836         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
20837         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20839 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20841         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
20842         instead of just saying load lock in the comments.
20844 2015-07-23  Roland McGrath  <roland@hack.frob.com>
20846         * sysdeps/unix/Subdirs: Moved ...
20847         * sysdeps/posix/Subdirs: ... here.
20848         * login/pty.h (struct termios, struct winsize): Add forward decls.
20849         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
20850         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
20851         * sysdeps/arm/nacl/libc.abilist: Updated.
20852         * sysdeps/nacl/libutil.abilist: New file.
20854         * bits/signum.h: Update comments to mention 1003.1-2013 too.
20855         (SIGWINCH): New macro.
20857         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
20858         * sysdeps/arm/nacl/libc.abilist: Add it.
20860 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20862         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
20864 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20866         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20867         Swap __glibc_reserved0 and sa_flags order.
20869 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20871         [BZ #18657]
20872         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20873         are pending TLS destructor calls.
20874         * include/link.h (struct link_map): Add concurrency note for
20875         L_TLS_DTOR_COUNT.
20876         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20877         Don't touch the link map flag.  Atomically increment
20878         l_tls_dtor_count.
20879         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20880         Avoid taking the load lock and don't touch the link map flag.
20881         * stdlib/tst-tls-atexit-nodelete.c: New test case.
20882         * stdlib/Makefile (tests): Use it.
20883         * stdlib/tst-tls-atexit.c (do_test): dlopen
20884         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
20885         to allow tst-tls-atexit-nodelete test case to use it.
20887 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20889         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20890         to bits/types.h.
20891         (msgqnum_t): New typedef.
20892         (msglen_t): Likewise.
20893         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
20894         and msg_qbytes type to msglen_t.
20896 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20898         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
20899         pad0 to __glibc_reserved0.
20900         (struct stat64): Likewise.
20902 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20904         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20905         Change sa_flags from a long to an int and add __glibc_reserved0 before
20906         it for padding.
20908 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20910         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
20911         anonymous by deleting "siginfo" name.
20913 2015-07-21  Roland McGrath  <roland@hack.frob.com>
20915         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
20916         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
20917         rather than __nacl_irt_filename.
20918         * sysdeps/nacl/xstat.c (__xstat): Likewise.
20920         * NEWS: New item for arm-nacl port.
20921         * sysdeps/arm/nacl/libc.abilist: New file.
20922         * sysdeps/nacl/ld.abilist: New file.
20923         * sysdeps/nacl/libBrokenLocale.abilist: New file.
20924         * sysdeps/nacl/libanl.abilist: New file.
20925         * sysdeps/nacl/libcrypt.abilist: New file.
20926         * sysdeps/nacl/libdl.abilist: New file.
20927         * sysdeps/nacl/libm.abilist: New file.
20928         * sysdeps/nacl/libpthread.abilist: New file.
20929         * sysdeps/nacl/libresolv.abilist: New file.
20930         * sysdeps/nacl/librt.abilist: New file.
20932 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
20934         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
20935         __startcontext to initialize the new context.
20936         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
20937         up CFI directive to forbid further backtracing.
20939 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
20941         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
20942         reference.
20943         * charmaps/ANSI_X3.4-1968: Likewise.
20944         * charmaps/BS_4730: Likewise.
20945         * charmaps/BS_VIEWDATA: Likewise.
20946         * charmaps/CP1250: Likewise.
20947         * charmaps/CP1251: Likewise.
20948         * charmaps/CP1252: Likewise.
20949         * charmaps/CP1253: Likewise.
20950         * charmaps/CP1254: Likewise.
20951         * charmaps/CP1255: Likewise.
20952         * charmaps/CP1256: Likewise.
20953         * charmaps/CSN_369103: Likewise.
20954         * charmaps/EBCDIC-DK-NO: Likewise.
20955         * charmaps/GB_1988-80: Likewise.
20956         * charmaps/GREEK-CCITT: Likewise.
20957         * charmaps/GREEK7: Likewise.
20958         * charmaps/INIS-8: Likewise.
20959         * charmaps/ISIRI-3342: Likewise.
20960         * charmaps/ISO_2033-1983: Likewise.
20961         * charmaps/ISO_5427-EXT: Likewise.
20962         * locales/POSIX: Likewise.
20963         * locales/ar_SA: Likewise.
20964         * locales/be_BY: Likewise.
20965         * locales/be_BY@latin: Likewise.
20966         * locales/ca_ES: Likewise.
20967         * locales/cs_CZ: Likewise.
20968         * locales/da_DK: Likewise.
20969         * locales/de_BE: Likewise.
20970         * locales/de_CH: Likewise.
20971         * locales/de_LU: Likewise.
20972         * locales/en_AU: Likewise.
20973         * locales/en_BW: Likewise.
20974         * locales/en_CA: Likewise.
20975         * locales/en_DK: Likewise.
20976         * locales/en_GB: Likewise.
20977         * locales/en_IE: Likewise.
20978         * locales/en_NZ: Likewise.
20979         * locales/en_ZA: Likewise.
20980         * locales/en_ZW: Likewise.
20981         * locales/es_AR: Likewise.
20982         * locales/es_BO: Likewise.
20983         * locales/es_CL: Likewise.
20984         * locales/es_CO: Likewise.
20985         * locales/es_DO: Likewise.
20986         * locales/es_EC: Likewise.
20987         * locales/es_ES: Likewise.
20988         * locales/es_HN: Likewise.
20989         * locales/es_MX: Likewise.
20990         * locales/es_PA: Likewise.
20991         * locales/es_PE: Likewise.
20992         * locales/es_PY: Likewise.
20993         * locales/es_SV: Likewise.
20994         * locales/es_US: Likewise.
20995         * locales/es_UY: Likewise.
20996         * locales/es_VE: Likewise.
20997         * locales/et_EE: Likewise.
20998         * locales/fa_IR: Likewise.
20999         * locales/fo_FO: Likewise.
21000         * locales/fr_CA: Likewise.
21001         * locales/fr_CH: Likewise.
21002         * locales/gv_GB: Likewise.
21003         * locales/he_IL: Likewise.
21004         * locales/hr_HR: Likewise.
21005         * locales/id_ID: Likewise.
21006         * locales/is_IS: Likewise.
21007         * locales/it_CH: Likewise.
21008         * locales/iw_IL: Likewise.
21009         * locales/kl_GL: Likewise.
21010         * locales/ko_KR: Likewise.
21011         * locales/kw_GB: Likewise.
21012         * locales/lg_UG: Likewise.
21013         * locales/lt_LT: Likewise.
21014         * locales/lv_LV: Likewise.
21015         * locales/mi_NZ: Likewise.
21016         * locales/nhn_MX: Likewise.
21017         * locales/nl_BE: Likewise.
21018         * locales/pl_PL: Likewise.
21019         * locales/sk_SK: Likewise.
21020         * locales/sl_SI: Likewise.
21021         * locales/sv_FI: Likewise.
21022         * locales/tl_PH: Likewise.
21023         * locales/tr_TR: Likewise.
21024         * locales/vi_VN: Likewise.
21026 2015-07-21  Khem Raj  <raj.khem@gmail.com>
21028         [BZ #17475]
21029         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
21030         of tu_IN and bh_IN.
21032 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
21034         [BZ #18694]
21035         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
21036         bits/wordsize.h.
21037         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
21039 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21041         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
21042         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
21043         (spawn_thread): New function.
21044         (load): Rename to reg_dtor_and_close.  Move dlopen to...
21045         (do_test): ... here.  Use IS_LOADED to test for its
21046         availability.
21048 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
21050         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21052 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
21054         [BZ #18696]
21055         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
21056         si_addr_bnd.
21057         (si_lower): New.
21058         (si_upper): Likewise.
21060 2015-07-16  David S. Miller  <davem@davemloft.net>
21062         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
21064 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21066         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
21067         buffer.
21068         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
21069         fail output information.
21071 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
21074         and strstr-ppc64..
21075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21076         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
21077         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
21078         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
21079         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
21081 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21083         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21084         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21085         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21086         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21088 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21090         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
21091         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
21092         rtld_hidden_proto.
21093         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
21095 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21097         * tst-nodelete-opened.c (do_test): Add comment to clarify how
21098         the test can fail.
21100         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
21102         [BZ #18676]
21103         * elf/tst-nodelete-opened.c: New test case.
21104         * elf/tst-nodelete-opened-lib.c: New test case module.
21105         * elf/Makefile (tests, modules-names): Use them.
21106         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
21107         early.
21109 2015-07-15  David S. Miller  <davem@davemloft.net>
21111         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
21112         futex-intenal.h
21113         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
21114         * sysdeps/sparc/sparc64/Makefile: Likewise.
21115         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21116         Remove space from macro define.
21117         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
21119 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
21121         [BZ #17475]
21122         * locale/iso-639.def: Update Bhili and Tulu language codes as
21123         per iso639-3.
21125 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
21127         * elf/tst-leaks1.c (main): Converted to ...
21128         (do_test): ... this.
21129         (TEST_FUNCTION): New macro.
21130         Include test-skeleton.c.
21131         * localedata/tst-langinfo.c (main): Converted to ...
21132         (do_test): ... this.
21133         (TEST_FUNCTION): New macro.
21134         Include test-skeleton.c.
21135         * math/test-fpucw.c (main): Converted to ...
21136         (do_test): ... this.
21137         (TEST_FUNCTION): New macro.
21138         Include test-skeleton.c.
21139         * math/test-tgmath.c (main): Converted to ...
21140         (do_test): ... this.
21141         (TEST_FUNCTION): New macro.
21142         Include test-skeleton.c.
21143         * math/test-tgmath2.c (main): Converted to ...
21144         (do_test): ... this.
21145         (TEST_FUNCTION): New macro.
21146         Include test-skeleton.c.
21147         * setjmp/tst-setjmp.c (main): Converted to ...
21148         (do_test): ... this.
21149         (TEST_FUNCTION): New macro.
21150         Include test-skeleton.c.
21151         * stdio-common/tst-sscanf.c (main): Converted to ...
21152         (do_test): ... this.
21153         (TEST_FUNCTION): New macro.
21154         Include test-skeleton.c.
21155         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
21156         (do_test): ... this.
21157         (TEST_FUNCTION): New macro.
21158         Include test-skeleton.c.
21160         * elf/tst-audit9.c (main): Converted to ...
21161         (do_test): ... this.
21162         (TEST_FUNCTION): New macro.
21163         Include test-skeleton.c.
21165 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
21167         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
21169 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21171         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
21172         New variable.
21174 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21176         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21178 2015-07-14  Roland McGrath  <roland@hack.frob.com>
21180         * sysdeps/generic/dl-fileid.h: New file.
21181         * sysdeps/posix/dl-fileid.h: New file.
21182         * sysdeps/nacl/dl-fileid.h: New file.
21183         * include/link.h: Include <dl-fileid.h>.
21184         (struct link_map): Replace l_dev and l_ino with l_file_id.
21185         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
21186         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
21187         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
21189 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21191         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
21193 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21195         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
21196         Add iff $CXX is set.
21197         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
21198         Likewise.
21199         (tst-nodelete-zmodiff): Likewise.
21200         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
21202 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21204         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
21206 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21208         * sysdeps/aarch64/fpu/math_private.h
21209         (define math_opt_barrier): Add AArch64 version.
21210         (math_force_eval): Likewise.
21212 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21214         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
21216 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
21218         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
21219         %ld with %jd and cast to intmax_t.
21220         (do_test_length_zero): Likewise.
21222 2015-07-10  Roland McGrath  <roland@hack.frob.com>
21224         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
21226 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
21228         * sysdeps/tile/libm-test-ulps: Regenerated.
21230         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
21231         Comment out the whole function, not just its body.
21233 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21235         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
21236         locks.
21238         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
21240 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21242         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
21243         (sem_assume_only_signals_cause_futex_EINTR): Remove.
21245 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21247         * sysdeps/nptl/futex-internal.h: New file.
21248         * sysdeps/nacl/futex-internal.h: New file.
21249         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
21250         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
21251         error checking.
21252         (setxid_unmark_thread): Likewise.
21253         (__nptl_setxid): Likewise.
21254         (__wait_lookup_done): Likewise.
21255         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
21256         * nptl/nptl-init.c (sighandler_setxid): Likewise.
21257         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21258         * nptl/pthread_once.c (clear_once_control): Likewise.
21259         (__pthread_once_slow): Likewise.
21260         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21261         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
21262         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
21263         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21264         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
21265         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
21266         Likewise.
21267         (__pthread_rwlock_rdlock): Likewise.
21268         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21269         Likewise.
21270         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21271         Likewise.
21272         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21273         Likewise.
21274         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
21275         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
21276         Likewise.
21277         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
21278         __ASSUME_PRIVATE_FUTEX check.
21279         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
21280         Check that shared futexes are supported.
21281         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
21282         wrappers with error checking.
21283         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
21284         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
21285         * nptl/pthread_barrierattr_setpshared.c
21286         (pthread_barrierattr_setpshared): Check that shared futexes are
21287         supported.
21288         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
21289         Likewise.
21290         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
21291         Likewise.
21292         * nptl/sem_init.c (futex_private_if_supported): Remove.
21293         (__new_sem_init): Adapt and check that shared futexes are supported.
21294         * nptl/sem_open.c (sem_open): Likewise.
21295         * nptl/sem_post.c (futex_wake): Remove.
21296         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
21297         (do_futex_wait): Use futex wrappers with error checking.
21298         * nptl/sem_wait.c: Include lowlevellock.h.
21299         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
21300         Use futex_supports_pshared.
21301         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
21302         Use futex wrappers with error checking.
21303         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
21304         Likewise.
21305         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
21306         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
21307         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
21308         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
21309         (futex_wake): Likewise.
21310         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
21311         (do_futex_wait): Use futex wrappers with error checking.
21312         (__new_sem_wait_slow): Update EINTR handling.
21313         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
21315 2015-07-09  Martin Sebor  <msebor@redhat.com>
21317         [BZ #18435]
21318         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21319         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
21320         * nptl/Makefile (test-xfail-tst-once5): Define.
21322 2015-07-09  Roland McGrath  <roland@hack.frob.com>
21324         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
21325         * elf/dl-minimal.c: For readability, reorder some definitions and
21326         introduce more page breaks.  Include <stdio.h>.
21327         (__libc_fatal): New function.
21329         * include/unistd.h: Add rtld_hidden_proto for _exit.
21330         * posix/_exit.c: Add rtld_hidden_def.
21331         * sysdeps/mach/hurd/_exit.c: Likewise.
21332         * sysdeps/nacl/_exit.c: Likewise.
21333         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
21334         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
21336 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
21338         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
21339         bndmov encoding with zero displacement.
21341 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21342             H.J. Lu  <hongjiu.lu@intel.com>
21344         [BZ #18134]
21345         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
21346         * sysdeps/i386/configure: Regenerated.
21347         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21348         (_dl_runtime_profile): Save and restore Intel MPX return bound
21349         registers when calling _dl_call_pltexit.  Add
21350         PRESERVE_BND_REGS_PREFIX before return.
21351         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
21352         (LRV_BND1_OFFSET): Likewise.
21353         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
21354         lrv_bnd1.
21355         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
21356         typo in bndmov encoding.
21357         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
21358         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
21359         branch instructions to preserve bounds.
21361 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
21364         [GLIBC_2.22]: Add fmemopen.
21366 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21368         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
21369         returns an error, also try to use host port from __mach_host_self for
21370         the __vm_wire call.
21371         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
21373 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21375         [BZ #18400]
21376         [BZ #18648]
21377         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
21378         Fix pr_uid and pr_gid members.
21379         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
21380         definition to elf_greg_t.
21382 2015-07-08  Roland McGrath  <roland@hack.frob.com>
21384         [BZ #18383]
21385         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
21386         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
21387         * sysdeps/arm/configure: Regenerated.
21388         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
21389         (test-xfail-tst-tlsalign-static): Variable removed.
21391         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
21392         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
21393         rather than explicit 'ln -s'.
21395         * resolv/rpc/netdb.h: New file.
21396         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21398 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21400         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21401         length buffers.
21402         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21403         test-skeleton.c.
21405         [BZ #6544]
21406         [BZ #11216]
21407         [BZ #12836]
21408         [BZ #13151]
21409         [BZ #13152]
21410         [BZ #14292]
21411         * include/stdio.h (fmemopen): Remove hidden prototype.
21412         (__fmemopen): Add new hidden prototype.
21413         * libio/Makefile: Add oldfmemopen object.
21414         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21415         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21416         compliance.
21417         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21418         symbol compatibility.
21419         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
21420         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
21421         fmemopen.
21422         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
21423         on append and read mode.
21424         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
21425         fmemopen.
21426         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
21427         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
21428         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
21429         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
21430         Likewise.
21431         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
21432         [GLIBC_2.22]: Likewise.
21433         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
21434         Likewise.
21435         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
21436         Likewise.
21437         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
21438         [GLIBC_2.22]: Likewise.
21439         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
21440         [GLIBC_2.22]: Likewise.
21441         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
21442         [GLIBC_2.22]: Likewise.
21443         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
21444         [GLIBC_2.22]: Likewise.
21445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
21446         [GLIBC_2.22]: Likewise.
21447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
21448         [GLIBC_2.22]: Likewise.
21449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
21450         [GLIBC_2.22]: Likewise.
21451         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
21452         Likewise.
21453         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
21454         Likewise.
21455         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
21456         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
21457         [GLIBC_2.22]: Likewise.
21458         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
21459         [GLIBC_2.22]: Likewise.
21460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
21461         [GLIBC_2.22]: Likewise.
21462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
21463         [GLIBC_2.22]: Likewise.
21464         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
21465         Likewise.
21466         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
21467         Likewise.
21468         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
21469         Likewise.
21470         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
21471         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
21473 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21475         [BZ #18643]
21476         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
21477         IPV6_PATHMTU, and IPV6_DONTFRAG.
21479 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
21481         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
21482         and _IO_UNBUFFERED.
21483         * libio/oldfileops.c: Likewise.
21484         * libio/wfileops.c: Likewise.
21486 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21488         * nscd/selinux.c: Delete selinux/flask.h include.
21490 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21492         [BZ #18641]
21493         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
21494         (putpwent): Likewise.
21495         (getpwnam): Likewise.
21496         (getpwent_r): Likewise.
21497         (getpwuid_r): Likewise.
21498         (getpwnam_r): Likewise.
21499         (fgetpwent_r): Likewise.
21501 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21503         [BZ #18557]
21504         * inet/rcmd.c (__validuser2_sa): Check user first to
21505         short-circuit host check.
21507 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
21508             Mikhail Ilin  <m.ilin@samsung.com>
21510         [BZ #17833]
21511         * elf/Makefile (tests): Add tst-nodelete.
21512         (modules-names): Add tst-nodelete-uniquemod.
21513         (tst-nodelete-uniquemod.so-no-z-defs): New.
21514         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
21515         (tst-nodelete-zmod.so-no-z-defs): Likewise.
21516         ($(objpfx)tst-nodelete): Likewise.
21517         ($(objpfx)tst-nodelete.out): Likewise.
21518         (LDFLAGS-tst-nodelete): Likewise.
21519         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
21520         * elf/dl-close.c (_dl_close_worker): Add a parameter to
21521         implement forced object deletion.
21522         (_dl_close): Pass false to _dl_close_worker.
21523         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
21524         * elf/tst-nodelete.cc: New file.
21525         * elf/tst-nodeletelib.cc: Likewise.
21526         * elf/tst-znodeletelib.cc: Likewise.
21527         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
21529 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21531         [BZ #18508]
21532         * stdlib/Makefile ($(objpfx)tst-makecontext3):
21533         Depend on $(libdl).
21534         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
21535         is not called infinitely times.
21536         (backtrace_helper): New function.
21537         (trace_arg): New struct.
21538         (st1): Enlarge stack size.
21539         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21540         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
21541         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21542         Likewise.
21544 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21546         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21548 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21550         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
21551         Include sys/types.h instead of bits/types.h.
21552         Remove inclusion of bits/wordsize.h.
21554 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21556         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
21557         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
21558         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
21559         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
21560         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
21561         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
21563 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21565         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
21566         link-defines.sym.
21567         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21568         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
21569         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
21570         and LR_SIZE.
21571         * sysdeps/i386/link-defines.sym: New file.
21573 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21575         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
21576         (modules-names): Add tst-auditmod3a tst-auditmod3b.
21577         ($(objpfx)tst-audit3): New rule.
21578         ($(objpfx)tst-audit3.out): Likewise.
21579         * sysdeps/i386/tst-audit3.c: New file.
21580         * sysdeps/i386/tst-audit3.h: Likewise.
21581         * sysdeps/i386/tst-auditmod3a.c: Likewise.
21582         * sysdeps/i386/tst-auditmod3b.c: Likewise.
21584 2015-07-07  Torvald Riegel  <triegel@redhat.com>
21586         [BZ #18633]
21587         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
21588         pointer in C code.
21589         (__strcat_c): Likewise.
21590         (__strcat_g): Likewise.
21592 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
21594         [BZ #18592]
21595         * misc/sbrk.c: Set errno to ENOMEM on overflow.
21597 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21599         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
21600         New function.  (__ieee754_sqrtf): New function.
21601         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
21602         New function.
21603         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
21604         New function.
21606 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21608         * sysdeps/ieee754/support.c: Remove unused file.
21610 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21612         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
21613         registers instead of d ones so the layout is kernel abi compatible.
21614         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
21615         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
21616         Likewise.
21618 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21620         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21622 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21624         [BZ #18619]
21625         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
21626         and return argument in case of subnormal argument.
21628 2015-07-01  Martin Sebor  <msebor@redhat.com>
21630         [BZ #18435]
21631         * nptl/Makefile: Add tst-once5.cc.
21632         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21633         Remove macro redefinitions.
21634         * nptl/tst-once5.cc: New test.
21636 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21638         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21640         * sysdeps/arm/libm-test-ulps: Regenerated.
21642         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21643         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21645 2015-06-30  Torvald Riegel  <triegel@redhat.com>
21647         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
21648         lll_lock_wait_private and lll_futex_wake probes.
21650         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21651         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
21652         Likewise.
21653         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
21654         atomic_spin_nop.
21655         * sysdeps/x86_64/bits/atomic.h: Likewise.
21656         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
21657         to atomic_spin_nop and move ...
21658         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21659         ... here and ...
21660         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
21661         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
21662         atomic_spin_nop instead of BUSY_WAIT_NOP.
21663         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
21664         Likewise.
21665         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
21666         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21667         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
21668         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
21669         instead of atomic_delay.
21671 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
21673         [BZ #18613]
21674         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
21675         X_ADJ not X when adjusting exponent.
21676         (__ieee754_gamma_r): Do intermediate computations in
21677         round-to-nearest then adjust overflowing and underflowing results
21678         as needed.
21679         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
21680         of X_ADJ not X when adjusting exponent.
21681         (__ieee754_gammaf_r): Do intermediate computations in
21682         round-to-nearest then adjust overflowing and underflowing results
21683         as needed.
21684         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
21685         log of X_ADJ not X when adjusting exponent.
21686         (__ieee754_gammal_r): Do intermediate computations in
21687         round-to-nearest then adjust overflowing and underflowing results
21688         as needed.  Use 1.0L not 1.0f as numerator of division.
21689         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
21690         log of X_ADJ not X when adjusting exponent.
21691         (__ieee754_gammal_r): Do intermediate computations in
21692         round-to-nearest then adjust overflowing and underflowing results
21693         as needed.  Use 1.0L not 1.0f as numerator of division.
21694         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
21695         of X_ADJ not X when adjusting exponent.
21696         (__ieee754_gammal_r): Do intermediate computations in
21697         round-to-nearest then adjust overflowing and underflowing results
21698         as needed.  Use 1.0L not 1.0f as numerator of division.
21699         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
21700         to auto-libm-test-in.
21701         (tgamma_test): Use ALL_RM_TEST.
21702         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
21703         tests of tgamma with spurious-overflow.
21704         * math/auto-libm-test-out: Regenerated.
21705         * math/gen-libm-have-vector-test.sh: Do not check for START.
21706         * sysdeps/i386/fpu/libm-test-ulps: Update.
21707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21709         [BZ #18612]
21710         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
21711         arguments, just return 0.5 times the argument, with underflow
21712         forced as needed.
21713         * math/auto-libm-test-in: Add more tests of j1.
21714         * math/auto-libm-test-out: Regenerated.
21716         [BZ #16559]
21717         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
21718         (__ieee754_j1): Force underflow exception for small results.
21719         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21720         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
21721         (__ieee754_j1f): Force underflow exception for small results.
21722         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21723         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21724         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21725         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
21726         (__ieee754_j1l): Force underflow exception for small results.
21727         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21728         * math/auto-libm-test-in: Add more tests of j1 and jn.
21729         * math/auto-libm-test-out: Regenerated.
21731         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
21732         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
21733         (PF_MPLS): Likewise.
21734         (AF_IB): Likewise.
21735         (AF_MPLS): Likewise.
21736         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
21737         value and macro.
21738         (MS_RMT_MASK): Include MS_LAZYTIME.
21740 2015-06-26  Mel Gorman  <mgorman@suse.de>
21742         [BZ #18502]
21743         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
21744         already minimal.
21746 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
21748         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21749         (DT_MIPS_NUM): Update.
21750         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
21751         DT_MIPS_RLD_MAP_REL.
21753 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
21755         [BZ #16559]
21756         [BZ #18602]
21757         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
21758         round-to-nearest internally then recompute results that
21759         underflowed to zero in the original rounding mode.
21760         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21761         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21762         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21763         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21764         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
21765         * sysdeps/i386/fpu/libm-test-ulps: Update.
21766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21768 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21770         * NEWS: Fixed description of link with vector math library.
21772 2015-06-25  Andreas Schwab  <schwab@suse.de>
21774         [BZ #18549]
21775         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21776         * libio/test-fmemopen.c (do_test): Add test for it.
21778 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21780         [BZ #17841]
21781         * Makeconfig (no-pie-ldflag): New.
21782         (+link): Set to $(+link-pie) if default to PIE.
21783         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21784         * config.make.in (build-pie-default): New.
21785         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
21786         is default.  AC_SUBST.
21787         * configure: Regenerated.
21788         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21790 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21792         * nptl/descr.h (struct pthread): Change type of field setxid_futex
21793         to 'unsigned int'.
21795         * resolv/gai_misc.h (struct waitlist): Change type of field
21796         counterp to 'volatile unsigned int *'.
21797         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21798         FUTEXADDR and OLDVAL.
21799         * resolv/getaddrinfo_a.c (getaddrinfo_a):
21800         Give local variable TOTAL type 'volatile unsigned int'.
21801         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21802         * resolv/gai_suspend.c (gai_suspend):
21803         Give local variable CNTR type 'unsigned int'.
21805         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21806         counterp to 'volatile unsigned int *'.
21807         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21808         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21809         (aio_suspend): Give local variable CNTR type 'unsigned int'.
21810         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21811         Give local variable TOTAL type 'volatile unsigned int'.
21812         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21814 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21816         [BZ #18383]
21817         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21818         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
21819         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21820         comment for i386/x86-64.
21821         (test-xfail-tst-tlsalign-extern-static): Removed.
21823 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21825         * math/test-double.h: New file.
21826         * math/test-float.h: Likewise.
21827         * math/test-ldouble.h: Likewise.
21828         * math/test-math-inline.h: Likewise.
21829         * math/test-math-no-inline.h: Likewise.
21830         * math/test-math-scalar.h: Likewise.
21831         * math/test-math-vector.h: Likewise.
21832         * math/test-vec-loop.h: Remove file.  Contents moved into
21833         test-math-vector.h.
21834         * math/libm-test.inc (MATHCONST): Do not document macro.
21835         * math/test-double.c: Include test-double.h, test-math-no-inline.h
21836         and test-math-scalar.h.
21837         (FUNC): Remove macro.
21838         (FUNC_TEST): Likewise.
21839         (FLOAT): Likewise.
21840         (MATHCONST): Likewise.
21841         (PRINTF_EXPR): Likewise.
21842         (PRINTF_XEXPR): Likewise.
21843         (PRINTF_NEXPR): Likewise.
21844         (TEST_DOUBLE): Likewise.
21845         (TEST_MATHVEC): Likewise.
21846         (__NO_MATH_INLINES): Likewise.
21847         * math/test-float.c: Include test-float.h, test-math-no-inline.h
21848         and test-math-scalar.h.
21849         (FUNC): Remove macro.
21850         (FUNC_TEST): Likewise.
21851         (FLOAT): Likewise.
21852         (MATHCONST): Likewise.
21853         (PRINTF_EXPR): Likewise.
21854         (PRINTF_XEXPR): Likewise.
21855         (PRINTF_NEXPR): Likewise.
21856         (TEST_FLOAT): Likewise.
21857         (TEST_MATHVEC): Likewise.
21858         (__NO_MATH_INLINES): Likewise.
21859         * math/test-idouble.c: Include test-double.h, test-math-inline.h
21860         and test-math-scalar.h.
21861         (FUNC): Remove macro.
21862         (FUNC_TEST): Likewise.
21863         (FLOAT): Likewise.
21864         (MATHCONST): Likewise.
21865         (PRINTF_EXPR): Likewise.
21866         (PRINTF_XEXPR): Likewise.
21867         (PRINTF_NEXPR): Likewise.
21868         (TEST_DOUBLE): Likewise.
21869         (TEST_MATHVEC): Likewise.
21870         (TEST_INLINE): Likewise.
21871         (__NO_MATH_INLINES): Likewise.
21872         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21873         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         (TEST_INLINE): Likewise.
21884         (__NO_MATH_INLINES): Likewise.
21885         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21886         and test-math-scalar.h.
21887         (FUNC): Remove macro.
21888         (FUNC_TEST): Likewise.
21889         (FLOAT): Likewise.
21890         (MATHCONST): Likewise.
21891         (PRINTF_EXPR): Likewise.
21892         (PRINTF_XEXPR): Likewise.
21893         (PRINTF_NEXPR): Likewise.
21894         (TEST_LDOUBLE): Likewise.
21895         (TEST_MATHVEC): Likewise.
21896         (TEST_INLINE): Likewise.
21897         (__NO_MATH_INLINES): Likewise.
21898         * math/test-ldouble.c: Include test-ldouble.h,
21899         test-math-no-inline.h and test-math-scalar.h.
21900         (FUNC): Remove macro.
21901         (FUNC_TEST): Likewise.
21902         (FLOAT): Likewise.
21903         (MATHCONST): Likewise.
21904         (PRINTF_EXPR): Likewise.
21905         (PRINTF_XEXPR): Likewise.
21906         (PRINTF_NEXPR): Likewise.
21907         (TEST_LDOUBLE): Likewise.
21908         (TEST_MATHVEC): Likewise.
21909         (__NO_MATH_INLINES): Likewise.
21910         * math/test-double-vlen2.h: Include test-double.h,
21911         test-math-no-inline.h and test-math-vector.h.
21912         (FLOAT): Remove macro.
21913         (FUNC): Likewise.
21914         (MATHCONST): Likewise.
21915         (PRINTF_EXPR): Likewise.
21916         (PRINTF_XEXPR): Likewise.
21917         (PRINTF_NEXPR): Likewise.
21918         (TEST_DOUBLE): Likewise.
21919         (TEST_MATHVEC): Likewise.
21920         (__NO_MATH_INLINES): Likewise.
21921         (CNCT): Likewise.
21922         (CONCAT): Likewise.
21923         (WRAPPER_NAME): Likewise.
21924         (WRAPPER_DECL): Likewise.
21925         (WRAPPER_DECL_ff): Likewise.
21926         (WRAPPER_DECL_fFF): Likewise.
21927         (VECTOR_WRAPPER): Likewise.
21928         (VECTOR_WRAPPER_ff): Likewise.
21929         (VECTOR_WRAPPER_fFF): Likewise.
21930         (VEC_LEN): New macro.
21931         * math/test-double-vlen4.h: Include test-double.h,
21932         test-math-no-inline.h and test-math-vector.h.
21933         (FLOAT): Remove macro.
21934         (FUNC): Likewise.
21935         (MATHCONST): Likewise.
21936         (PRINTF_EXPR): Likewise.
21937         (PRINTF_XEXPR): Likewise.
21938         (PRINTF_NEXPR): Likewise.
21939         (TEST_DOUBLE): Likewise.
21940         (TEST_MATHVEC): Likewise.
21941         (__NO_MATH_INLINES): Likewise.
21942         (CNCT): Likewise.
21943         (CONCAT): Likewise.
21944         (WRAPPER_NAME): Likewise.
21945         (WRAPPER_DECL): Likewise.
21946         (WRAPPER_DECL_ff): Likewise.
21947         (WRAPPER_DECL_fFF): Likewise.
21948         (VECTOR_WRAPPER): Likewise.
21949         (VECTOR_WRAPPER_ff): Likewise.
21950         (VECTOR_WRAPPER_fFF): Likewise.
21951         (VEC_LEN): New macro.
21952         * math/test-double-vlen8.h: Include test-double.h,
21953         test-math-no-inline.h and test-math-vector.h.
21954         (FLOAT): Remove macro.
21955         (FUNC): Likewise.
21956         (MATHCONST): Likewise.
21957         (PRINTF_EXPR): Likewise.
21958         (PRINTF_XEXPR): Likewise.
21959         (PRINTF_NEXPR): Likewise.
21960         (TEST_DOUBLE): Likewise.
21961         (TEST_MATHVEC): Likewise.
21962         (__NO_MATH_INLINES): Likewise.
21963         (CNCT): Likewise.
21964         (CONCAT): Likewise.
21965         (WRAPPER_NAME): Likewise.
21966         (WRAPPER_DECL): Likewise.
21967         (WRAPPER_DECL_ff): Likewise.
21968         (WRAPPER_DECL_fFF): Likewise.
21969         (VECTOR_WRAPPER): Likewise.
21970         (VECTOR_WRAPPER_ff): Likewise.
21971         (VECTOR_WRAPPER_fFF): Likewise.
21972         (VEC_LEN): New macro.
21973         * math/test-float-vlen4.h: Include test-float.h,
21974         test-math-no-inline.h and test-math-vector.h.
21975         (FLOAT): Remove macro.
21976         (FUNC): Likewise.
21977         (MATHCONST): Likewise.
21978         (PRINTF_EXPR): Likewise.
21979         (PRINTF_XEXPR): Likewise.
21980         (PRINTF_NEXPR): Likewise.
21981         (TEST_FLOAT): Likewise.
21982         (TEST_MATHVEC): Likewise.
21983         (__NO_MATH_INLINES): Likewise.
21984         (CNCT): Likewise.
21985         (CONCAT): Likewise.
21986         (WRAPPER_NAME): Likewise.
21987         (WRAPPER_DECL): Likewise.
21988         (WRAPPER_DECL_ff): Likewise.
21989         (WRAPPER_DECL_fFF): Likewise.
21990         (VECTOR_WRAPPER): Likewise.
21991         (VECTOR_WRAPPER_ff): Likewise.
21992         (VECTOR_WRAPPER_fFF): Likewise.
21993         (VEC_LEN): New macro.
21994         * math/test-float-vlen8.h: Include test-float.h,
21995         test-math-no-inline.h and test-math-vector.h.
21996         (FLOAT): Remove macro.
21997         (FUNC): Likewise.
21998         (MATHCONST): Likewise.
21999         (PRINTF_EXPR): Likewise.
22000         (PRINTF_XEXPR): Likewise.
22001         (PRINTF_NEXPR): Likewise.
22002         (TEST_FLOAT): Likewise.
22003         (TEST_MATHVEC): Likewise.
22004         (__NO_MATH_INLINES): Likewise.
22005         (CNCT): Likewise.
22006         (CONCAT): Likewise.
22007         (WRAPPER_NAME): Likewise.
22008         (WRAPPER_DECL): Likewise.
22009         (WRAPPER_DECL_ff): Likewise.
22010         (WRAPPER_DECL_fFF): Likewise.
22011         (VECTOR_WRAPPER): Likewise.
22012         (VECTOR_WRAPPER_ff): Likewise.
22013         (VECTOR_WRAPPER_fFF): Likewise.
22014         (VEC_LEN): New macro.
22015         * math/test-float-vlen16.h: Include test-float.h,
22016         test-math-no-inline.h and test-math-vector.h.
22017         (FLOAT): Remove macro.
22018         (FUNC): Likewise.
22019         (MATHCONST): Likewise.
22020         (PRINTF_EXPR): Likewise.
22021         (PRINTF_XEXPR): Likewise.
22022         (PRINTF_NEXPR): Likewise.
22023         (TEST_FLOAT): Likewise.
22024         (TEST_MATHVEC): Likewise.
22025         (__NO_MATH_INLINES): Likewise.
22026         (CNCT): Likewise.
22027         (CONCAT): Likewise.
22028         (WRAPPER_NAME): Likewise.
22029         (WRAPPER_DECL): Likewise.
22030         (WRAPPER_DECL_ff): Likewise.
22031         (WRAPPER_DECL_fFF): Likewise.
22032         (VECTOR_WRAPPER): Likewise.
22033         (VECTOR_WRAPPER_ff): Likewise.
22034         (VECTOR_WRAPPER_fFF): Likewise.
22035         (VEC_LEN): New macro.
22036         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
22037         test-vec-loop.h.
22038         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22039         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22040         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22041         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22042         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22043         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22044         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22046 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22048         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
22049         (__getlogin_r): ... this.
22051 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22053         [BZ #18594]
22054         * math/s_ccosh.c (__ccosh): Compare with least normal value
22055         instead of comparing class with FP_SUBNORMAL.
22056         * math/s_ccoshf.c (__ccoshf): Likewise.
22057         * math/s_ccoshl.c (__ccoshl): Likewise.
22058         * math/s_cexp.c (__cexp): Likewise.
22059         * math/s_cexpf.c (__cexpf): Likewise.
22060         * math/s_cexpl.c (__cexpl): Likewise.
22061         * math/s_csin.c (__csin): Likewise.
22062         * math/s_csinf.c (__csinf): Likewise.
22063         * math/s_csinh.c (__csinh): Likewise.
22064         * math/s_csinhf.c (__csinhf): Likewise.
22065         * math/s_csinhl.c (__csinhl): Likewise.
22066         * math/s_csinl.c (__csinl): Likewise.
22067         * math/s_ctan.c (__ctan): Likewise.
22068         * math/s_ctanf.c (__ctanf): Likewise.
22069         * math/s_ctanh.c (__ctanh): Likewise.
22070         * math/s_ctanhf.c (__ctanhf): Likewise.
22071         * math/s_ctanhl.c (__ctanhl): Likewise.
22072         * math/s_ctanl.c (__ctanl): Likewise.
22073         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
22074         csin, csinh, ctan and ctanh.
22075         * math/auto-libm-test-out: Regenerated.
22076         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
22077         * sysdeps/i386/fpu/libm-test-ulps: Update.
22078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22080 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22082         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
22083         return value is wrong, print the expected value too.
22085 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
22087         [BZ #18585]
22088         * elf/readlib.c (is_gdb_python_file): New.
22089         (process_file): Don't issue errors on filenames with -gdb.py
22090         suffix.
22092 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22094         * math/auto-libm-test-in: Add more tests of csin and csinh.
22095         * math/auto-libm-test-out: Regenerated.
22096         * math/libm-test.inc (csin_test_data): Remove tests moved to
22097         auto-libm-test-in.
22098         (csinh_test_data): Likewise.
22100         [BZ #18593]
22101         * math/s_csin.c (__csin): Negate before rather than after possibly
22102         overflowing multiplication.
22103         * math/s_csinf.c (__csinf): Likewise.
22104         * math/s_csinh.c (__csinh): Likewise.
22105         * math/s_csinhf.c (__csinhf): Likewise.
22106         * math/s_csinhl.c (__csinhl): Likewise.
22107         * math/s_csinl.c (__csinl): Likewise.
22108         * math/auto-libm-test-in: Add some tests of csin and csinh.
22109         * math/auto-libm-test-out: Regenerated.
22110         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
22111         (csinh_test_data): Likewise.
22112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22114         [BZ #18586]
22115         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
22116         underflow exception for small results.
22118 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22120         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22121         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
22122         variable and included header.
22123         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
22124         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
22125         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
22126         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
22127         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
22128         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
22129         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
22130         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
22131         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
22132         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
22133         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
22134         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
22135         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
22136         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
22137         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
22138         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
22140 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22142         [BZ #16526]
22143         [BZ #16538]
22144         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
22145         (__sin): Force underflow exception for arguments with small
22146         absolute value.
22147         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
22148         (__kernel_sinf): Force underflow exception for arguments with
22149         small absolute value.
22150         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
22151         (__kernel_sincosl): Force underflow exception for arguments with
22152         small absolute value.
22153         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
22154         (__kernel_sinl): Force underflow exception for arguments with
22155         small absolute value.
22156         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
22157         (__kernel_sincosl): Force underflow exception for arguments with
22158         small absolute value.
22159         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
22160         (__kernel_sinl): Force underflow exception for arguments with
22161         small absolute value.
22162         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
22163         (__kernel_sinl): Force underflow exception for arguments with
22164         small absolute value.
22165         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
22166         (__kernel_sinf): Force underflow exception for arguments with
22167         small absolute value.
22168         * math/auto-libm-test-in: Add more tests of sin and sincos.
22169         * math/auto-libm-test-out: Regenerated.
22171         [BZ #18245]
22172         [BZ #18583]
22173         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
22174         (__kernel_standard_l): Use feholdexcept and fesetenv around
22175         conversion to double instead of special-casing overflow and
22176         underflow.
22177         * math/libm-test.inc (fmod_test_data): Add more tests.
22178         (remainder_test_data): Likewise.
22179         (sqrt_test_data): Likewise.
22181 2015-06-23  Torvald Riegel  <triegel@redhat.com>
22183         [BZ #17403]
22184         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
22185         atomic_read_barrier, atomic_write_barrier): Define.
22186         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
22187         atomic_read_barrier, atomic_write_barrier): Define.
22189 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22191         * math/Makefile [$(PERL) != no]
22192         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
22193         dependency on libm-test.stmp below the inclusion of Rules.
22195 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
22197         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22198         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
22199         and included header.
22200         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
22201         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
22202         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
22203         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
22204         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
22205         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
22206         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
22207         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
22208         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
22209         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
22210         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
22211         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
22212         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
22213         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
22214         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
22215         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
22216         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
22217         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
22218         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
22220 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22222         [BZ #18371]
22223         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
22224         intermediate but not final result might underflow.
22225         * math/s_csqrtf.c (__csqrtf): Likewise.
22226         * math/s_csqrtl.c (__csqrtl): Likewise.
22227         * math/auto-libm-test-in: Add more tests of csqrt.
22228         * math/auto-libm-test-out: Regenerated.
22229         * sysdeps/i386/fpu/libm-test-ulps: Update.
22231         [BZ #18219]
22232         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
22233         threshold on absolute value of exponent for which scaling is used.
22234         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22235         * math/auto-libm-test-in: Add more tests of exp2.
22236         * math/auto-libm-test-out: Regenerated.
22238 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
22240         [BZ #17977]
22241         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
22242         when initializing interface list, based on the bug analysis
22243         and the patch proposed by Eric Newton.
22244         * resolv/tst-res_hconf_reorder.c: New test.
22245         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
22246         tst-res_hconf_reorder.
22247         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
22248         and $(shared-thread-library).
22249         (tst-res_hconf_reorder-ENV): New variable.
22251         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
22252         in comment.
22254 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
22256         [BZ #16353]
22257         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
22258         (__expm1): Force underflow exception for arguments with small
22259         absolute value.
22260         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
22261         (__expm1f): Force underflow exception for arguments with small
22262         absolute value.
22263         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
22264         (__expm1): Force underflow exception for arguments with small
22265         absolute value.
22266         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
22267         (__expm1f): Force underflow exception for arguments with small
22268         absolute value.
22269         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22270         Check for small arguments before calling __expm1.
22271         * math/auto-libm-test-in: Do not mark underflow exceptions as
22272         possibly missing for bug 16353.
22273         * math/auto-libm-test-out: Regenerated.
22275 2015-06-22  Andreas Schwab  <schwab@suse.de>
22277         [BZ #18513]
22278         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
22279         PTR queries.
22281 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
22283         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
22285         * string/strcoll_l.c: Remove unused struct element idxnow.
22287 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
22289         [BZ #18569]
22290         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
22291         underflow and return argument in case of subnormal argument.
22292         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22293         Likewise.
22294         * math/auto-libm-test-in: Add more tests of expm1.
22295         * math/auto-libm-test-out: Regenerated.
22297         [BZ #16361]
22298         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22299         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22300         tiny results.
22301         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22302         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22303         tiny results.
22304         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
22305         mark underflow exceptions as possibly missing for bug 16361.
22306         * math/auto-libm-test-out: Regenerated.
22308 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
22310         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
22311         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
22312         Remove variable.
22313         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22314         (test-xfail-XOPEN2K8/utmpx.h/conform).
22316         * conform/conformtest.pl ($xerrors): New variable.
22317         (note_error): New function.
22318         (compiletest): New argument $xfail.  Use not_error.
22319         (runtest): Likewise.
22320         (top level): Handle xfail- lines.  Update calls to compiletest and
22321         runtest.  Handle xfail- and optional- in headers listed with
22322         allow-header.
22323         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
22324         (O_EXEC): Likewise.
22325         (O_SEARCH): Likewise.
22326         * conform/data/stropts.h-data (ioctl): Likewise.
22327         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
22328         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
22329         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
22330         (msghdr.msg_controllen): Likewise.
22331         (cmsghdr.cmsg_len): Likewise.
22332         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
22333         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
22334         variable.
22335         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22336         (test-xfail-XPG4/stropts.h/conform): Likewise.
22337         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22338         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22339         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22340         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22341         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22342         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22343         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22344         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22345         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22346         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22347         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22348         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22349         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22350         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22351         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22352         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22353         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22354         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22355         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22357 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22359         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
22360         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
22361         definitions for proper unfolding of __MATHDECL_VEC.
22363 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22365         * benchtests/bench-strcoll.c:
22366         Include string.h.
22367         (main): Remove unused variable res.
22369 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22371         * timezone/Makefile (%/UTC %/Universal):
22372         Generate test-result files for UTC and Universal.
22374 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22376         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22378 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
22380         [BZ #16350]
22381         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
22382         for arguments with small absolute value.
22383         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
22384         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
22385         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
22386         (__asinh): Force underflow exception for arguments with small
22387         absolute value.
22388         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
22389         (__asinhf): Force underflow exception for arguments with small
22390         absolute value.
22391         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
22392         (__asinhl): Force underflow exception for arguments with small
22393         absolute value.
22394         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22395         (__asinhl): Force underflow exception for arguments with small
22396         absolute value.
22397         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22398         (__asinhl): Force underflow exception for arguments with small
22399         absolute value.
22400         * math/auto-libm-test-in: Do not mark underflow exceptions as
22401         possibly missing for bug 16350.
22402         * math/auto-libm-test-out: Regenerated.
22404         * include/bits/ipc.h: Remove file.
22405         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22406         variable.
22407         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22408         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22409         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22410         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22411         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22412         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22413         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22414         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22415         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22417         * math/auto-libm-test-in: Remove spurious underflow allowance for
22418         tests of cexp.
22419         * math/auto-libm-test-out: Regenerated.
22421         [BZ #18558]
22422         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22423         unconditional definition.
22424         (MCAST_BLOCK_SOURCE): Likewise.
22425         (MCAST_UNBLOCK_SOURCE): Likewise.
22426         (MCAST_LEAVE_GROUP): Likewise.
22427         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22428         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22429         (MCAST_MSFILTER): Likewise.
22430         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
22431         Remove variable.
22432         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22433         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22434         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22435         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22436         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22438 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22440         * NEWS: Mention addition of x86_64 vector sincosf.
22441         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
22442         * math/test-float-vlen4.h: Likewise.
22443         * math/test-float-vlen8.h: Likewise.
22444         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22445         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
22446         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22447         * sysdeps/x86_64/fpu/Versions: New versions added.
22448         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22449         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22450         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22451         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
22452         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22453         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
22454         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22455         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
22456         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22457         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
22458         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
22459         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
22460         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
22461         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
22462         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
22463         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
22464         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
22465         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22466         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22467         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22468         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22469         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22470         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22471         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22473         * NEWS: Mention addition of x86_64 vector sincos.
22474         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
22475         * math/math.h (__MATHDECL_VEC): New macro.
22476         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
22477         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
22478         declaration under condition.
22479         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
22480         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
22481         TEST_VEC_LOOP change.
22482         * math/test-double-vlen4.h: Likewise.
22483         * math/test-double-vlen8.h: Likewise.
22484         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
22485         * math/test-float-vlen4.h: Likewise.
22486         * math/test-float-vlen8.h: Likewise.
22487         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22488         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
22489         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22490         * sysdeps/x86_64/fpu/Versions: New versions added.
22491         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22492         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22493         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22494         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
22495         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
22496         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
22497         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
22498         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
22499         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
22500         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
22501         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
22502         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
22503         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
22504         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
22505         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
22506         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
22507         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
22508         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22509         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22510         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22511         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22512         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22513         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22514         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22516         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22517         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22518         redirections for powf.
22519         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22520         * sysdeps/x86_64/fpu/Versions: New versions added.
22521         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22522         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22523         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22524         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
22525         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
22526         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
22527         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
22528         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
22529         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
22530         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
22531         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
22532         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
22533         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
22534         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
22535         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
22536         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
22537         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
22538         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22539         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22540         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22541         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22542         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22543         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22544         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22545         * math/test-float-vlen16.h: Fixed 2 argument macro.
22546         * math/test-float-vlen4.h: Likewise.
22547         * math/test-float-vlen8.h: Likewise.
22548         * NEWS: Mention addition of x86_64 vector powf.
22550 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
22552         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22553         and redefine.
22554         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22555         and redefine.
22556         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
22557         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22558         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22560         [BZ #18553]
22561         * resource/getpriority.c (getpriority): Rename to __getpriority
22562         and define as weak alias of __getpriority.
22563         * resource/setpriority.c (setpriority): Rename to __setpriority
22564         and define as weak alias of __setpriority.
22565         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
22566         __getpriority and define as weak alias of __getpriority.
22567         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
22568         __setpriority and define as weak alias of __setpriority.
22569         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
22570         strong name.
22571         (setpriority): Use __setpriority as strong name.
22572         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
22573         __getpriority and define as weak alias of __getpriority.
22574         * include/sys/resource.h (__getpriority): Declare.  Use
22575         libc_hidden_proto.
22576         (__setpriority): Likewise.
22577         (getpriority): Don't use libc_hidden_proto.
22578         (setpriority): Likewise.
22579         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
22580         getpriority.  Call __setpriority instead of setpriority.
22581         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
22582         Remove variable.
22584         [BZ #18547]
22585         * misc/getttyent.c (getttynam): Rename to __getttynam and define
22586         as weak alias of __getttynam.  Use prototype function definition.
22587         Call __setttyent, __getttyent and __endttyent instead of
22588         setttyent, getttyent and endttyent.
22589         (getttyent): Rename to __getttyent and define as weak alias of
22590         __getttyent.  Call __setttyent instead of setttyent.  Call
22591         __fgets_unlocked instead of fgets_unlocked.
22592         (setttyent): Rename to __setttyent and define as weak alias of
22593         __setttyent.
22594         (endttyent): Rename to __endttyent and define as weak alias of
22595         __endttyent.
22596         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
22597         (__setttyent): Likewise.
22598         (__endttyent): Likewise.
22599         (getttyent): Don't use libc_hidden_proto.
22600         (setttyent): Likewise.
22601         (endttyent): Likewise.
22602         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22603         __endttyent instead of setttyent, getttyent and endttyent.
22604         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
22605         Remove variable.
22607         [BZ #18546]
22608         * socket/recv.c (__recv): Use libc_hidden_def.
22609         * socket/socket.c (__socket): Likewise.
22610         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22611         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22612         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
22613         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
22614         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
22615         libc_hidden_def.
22616         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
22617         libc_hidden_weak.
22618         * include/sys/socket.h (__socket): Do not use attribute_hidden.
22619         Use libc_hidden_proto.
22620         (__recv): Likewise.
22621         * socket/Versions (libc): Export __recv and __socket at version
22622         GLIBC_PRIVATE.
22623         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
22624         instead of recv.
22625         (init_mq_netlink): Call __socket instead of socket.
22626         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
22627         Remove variable.
22629         [BZ #18545]
22630         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
22631         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
22632         hidden_weak.
22633         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
22634         define as alias of __mq_timedsend.  Use hidden_weak.
22635         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
22636         __mq_timedsend as strong name.
22637         (mq_timedreceive): Use __mq_timedreceive as strong name.
22638         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
22639         (__mq_timedreceive): Likewise.
22640         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
22641         __mq_timedreceive instead of mq_timedreceive.
22642         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
22643         instead of mq_timedsend.
22644         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
22645         Remove variable.
22647         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
22648         hidden_def and hidden_weak instead of libc_hidden_def and
22649         libc_hidden_weak.
22650         (top level): Refer to hidden_def in comment.
22651         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
22652         macro.  Use it instead of libc_hidden_def.
22653         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
22654         specify __GI_* name explicitly.
22655         (mq_timedreceive): Likewise.
22656         (mq_setattr): Likewise.
22658         [BZ #18544]
22659         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
22660         __pthread_barrier_init and define as weak alias of
22661         __pthread_barrier_init.
22662         * sysdeps/sparc/nptl/pthread_barrier_init.c
22663         (pthread_barrier_init): Likewise.
22664         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
22665         __pthread_barrier_wait and define as weak alias of
22666         __pthread_barrier_wait.
22667         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22668         (pthread_barrier_wait): Likewise.
22669         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22670         (pthread_barrier_wait): Likewise.
22671         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
22672         (pthread_barrier_wait): Likewise.
22673         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
22674         (pthread_barrier_wait): Likewise.
22675         * nptl/Versions (libpthread): Export __pthread_barrier_init and
22676         __pthread_barrier_wait at version GLIBC_PRIVATE.
22677         * include/pthread.h (__pthread_barrier_init): Declare.
22678         (__pthread_barrier_wait): Likewise.
22679         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
22680         Call __pthread_barrier_wait instead of pthread_barrier_wait.
22681         (helper_thread): Likewise.
22682         (init_mq_netlink): Call __pthread_barrier_init instead of
22683         pthread_barrier_init.
22685         [BZ #18542]
22686         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
22687         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
22688         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
22689         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
22690         vswscanf.
22691         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
22692         Remove variable.
22694         [BZ #18540]
22695         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
22696         strong alias of _IO_fflush.  Use libc_hidden_def.
22697         * libio/iofflush_u.c (fflush_unlocked): Rename to
22698         __fflush_unlocked and define as weak alias of __fflush_unlocked.
22699         Use libc_hidden_weak.
22700         * include/stdio.h (__fflush_unlocked): Declare.  Use
22701         libc_hidden_proto.
22702         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
22703         fflush_unlocked.
22704         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
22705         Remove variable.
22707         [BZ #18539]
22708         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
22709         define as weak alias of __addseverity.
22710         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
22711         Remove variable.
22712         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22713         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22714         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22716         [BZ #18536]
22717         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
22718         (__tfind): Likewise.
22719         (__tdelete): Likewise.
22720         (__twalk): Likewise.
22721         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
22722         __twalk to GLIBC_PRIVATE.
22723         * include/search.h (__tsearch): Use libc_hidden_proto.
22724         (__tfind): Likewise.
22725         (__tdelete): Likewise.
22726         (__twalk): Likewise.
22727         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
22728         Call __tdelete instead of tdelete.
22729         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
22730         tfind.  Call __tsearch instead of tsearch.
22731         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
22732         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
22733         Remove variable.
22734         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22736         [BZ #18534]
22737         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
22738         (dprintf): Define as a weak alias of __dprintf, not a strong
22739         alias.
22740         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
22741         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
22742         dprintf.
22743         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
22744         Remove variable.
22745         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22746         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22748         [BZ #18533]
22749         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
22750         not a strong alias.
22751         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22752         Remove variable.
22754         [BZ #18532]
22755         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
22756         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
22757         (in6addr_loopback): Rename to __in6addr_loopback and define as
22758         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
22759         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
22760         libc_hidden_proto.
22761         (__in6addr_any): Likewise.
22762         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
22763         in6addr_any.
22764         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
22765         variable.
22766         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22768 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22770         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22771         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22772         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22773         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22774         redirections for pow.
22775         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22776         * sysdeps/x86_64/fpu/Versions: New versions added.
22777         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22778         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22779         build of SSE, AVX2 and AVX512 IFUNC versions.
22780         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22781         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22782         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22783         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22784         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22785         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22786         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22787         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22788         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22789         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22790         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22791         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22792         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22793         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22794         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22795         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22796         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22797         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22798         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22799         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22800         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22801         * NEWS: Mention addition of x86_64 vector pow.
22803         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22804         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22805         redirections for expf.
22806         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22807         * sysdeps/x86_64/fpu/Versions: New versions added.
22808         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22809         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22810         build of SSE, AVX2 and AVX512 IFUNC versions.
22811         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22812         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22813         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22814         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22815         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22816         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22817         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22818         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22819         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22820         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22821         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22822         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22823         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22824         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22825         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22826         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22827         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22828         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22829         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22830         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22831         * NEWS: Mention addition of x86_64 vector expf.
22833         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22834         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22835         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22836         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22837         redirections for exp.
22838         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22839         * sysdeps/x86_64/fpu/Versions: New versions added.
22840         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22841         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22842         build of SSE, AVX2 and AVX512 IFUNC versions.
22843         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
22844         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
22845         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
22846         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
22847         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
22848         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
22849         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
22850         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
22851         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
22852         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
22853         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
22854         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
22855         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
22856         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22857         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22858         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22859         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22860         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22861         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22862         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22863         * NEWS: Mention addition of x86_64 vector exp.
22865         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22866         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22867         redirections for logf.
22868         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22869         * sysdeps/x86_64/fpu/Versions: New versions added.
22870         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22871         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22872         build of SSE, AVX2 and AVX512 IFUNC versions.
22873         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22874         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22875         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22876         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22877         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22878         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22879         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22880         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22881         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22882         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22883         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22884         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22885         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22886         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22887         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22888         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22889         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22890         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22891         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22892         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22893         * NEWS: Mention addition of x86_64 vector logf.
22895         * bits/libm-simd-decl-stubs.h: Added stubs for log.
22896         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22897         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22898         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22899         redirections for log.
22900         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22901         * sysdeps/x86_64/fpu/Versions: New versions added.
22902         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22903         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22904         build of SSE, AVX2 and AVX512 IFUNC versions.
22905         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
22906         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
22907         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
22908         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
22909         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
22910         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
22911         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
22912         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
22913         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
22914         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
22915         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
22916         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
22917         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
22918         test.
22919         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22920         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22921         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22922         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22923         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22924         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22925         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22926         * NEWS: Mention addition of x86_64 vector log.
22928 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22930         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
22931         cfi_adjust_cfa_offset argument.
22932         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
22933         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
22935         [BZ #18034]
22936         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
22937         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
22938         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
22939         ordering using ldar.
22940         (_dl_tlsdesc_dynamic): Likewise.
22941         (_dl_tlsdesc_return_lazy): Likewise.
22942         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
22943         relaxed atomics instead of volatile and synchronize with release store.
22944         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
22945         volatile.
22946         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22948 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
22950         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22951         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
22952         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22953         * sysdeps/x86_64/fpu/Versions: New versions added.
22954         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22955         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22956         build of SSE, AVX2 and AVX512 IFUNC versions.
22957         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
22958         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
22959         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
22960         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
22961         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
22962         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
22963         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
22964         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
22965         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
22966         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
22967         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
22968         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
22969         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
22970         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22971         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22972         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22973         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22974         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22975         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22976         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22977         * NEWS: Mention addition of x86_64 vector sinf.
22979 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
22981         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
22982         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
22983         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
22984         Remove variable.
22985         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22986         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22988 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22990         [BZ #18530]
22991         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
22992         strong alias of _IO_fputs.  Use libc_hidden_def.
22993         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
22994         and define as weak alias of __fputs_unlocked.  Use
22995         libc_hidden_weak.
22996         * include/stdio.h (__fputs_unlocked): Declare.  Use
22997         libc_hidden_proto.
22998         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
22999         fputs_unlocked.
23001         [BZ #18529]
23002         * resolv/netdb.h [__USE_POSIX]: Change condition to
23003         [__USE_XOPEN2K].
23004         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
23005         not expect.
23006         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
23007         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
23008         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
23009         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
23010         [XPG4 || UNIX98] (AI_ALL): Likewise.
23011         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
23012         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
23013         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
23014         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
23015         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
23016         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
23017         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
23018         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
23019         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
23020         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
23021         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
23022         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
23023         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
23024         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
23025         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
23026         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23027         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23028         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
23029         [XPG4 || UNIX98] (gai_strerror): Likewise.
23030         [XPG4 || UNIX98] (getaddrinfo): Likewise.
23031         [XPG4 || UNIX98] (getnameinfo): Likewise.
23033         [BZ #18528]
23034         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
23035         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
23036         __USE_XOPEN2K8].
23037         (getgrent): Likewise.
23038         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
23039         expect.
23040         [XPG3 || POSIX2008] (endgrent): Likewise.
23041         [XPG3] (setgrent): Likewise.
23042         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
23043         variable.
23044         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23046         [BZ #18527]
23047         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
23048         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
23049         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
23050         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
23051         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
23052         * include/unistd.h (__getlogin_r): Declare.  Use
23053         libc_hidden_proto.
23054         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
23055         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
23056         variable.
23057         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23058         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23059         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23061 2015-06-12  Martin Sebor  <msebor@redhat.com>
23063         [BZ #18512]
23064         * Makerules (check-install-supported): New target.
23065         (install): Add check-install-supported as a dependency.
23066         * manual/install.texi (Installing the C Library): Document
23067         that overriding prefix and exec_prefix is not supported.
23068         Mention DESTDIR.
23069         * INSTALL: Regenerate from the above.
23071 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23073         [BZ #18519]
23074         * posix/Versions (libc): Export __libc_pread at version
23075         GLIBC_PRIVATE.
23076         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
23077         instead of pread.
23078         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
23079         variable.
23081         [BZ #18522]
23082         * misc/efgcvt_r.c
23083         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
23084         (cvt_symbol): Use weak_alias instead of strong_alias.
23085         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
23086         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
23087         Remove variable.
23088         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23089         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23091         [BZ #18520]
23092         * inet/herrno.c (h_errno): Rename to __h_errno.
23093         (__libc_h_errno): Define as alias of __h_errno not h_errno.
23094         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
23095         to __h_errno instead of h_errno.
23096         * nptl/herrno.c (h_errno): Rename to __h_errno.
23097         (__h_errno_location): Refer to __h_errno not h_errno.
23098         * resolv/Versions (h_errno): Rename to __h_errno.
23099         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
23100         Remove variable.
23101         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23103 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
23105         * configure.ac: More strict check for AVX512 assembler support.
23106         * configure: Regenerated.
23108         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
23109         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
23110         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23111         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
23112         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23113         * sysdeps/x86_64/fpu/Versions: New versions added.
23114         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23115         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23116         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23117         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
23118         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
23119         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
23120         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
23121         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
23122         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
23123         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
23124         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
23125         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
23126         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
23127         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
23128         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
23129         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
23130         test.
23131         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23132         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23133         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23134         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23135         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23136         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23137         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23138         * NEWS: Mention addition of x86_64 vector sin.
23140 2015-06-11  Florian Weimer  <fweimer@redhat.com>
23142         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
23143         comment.
23145 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23147         [BZ #18479]
23148         * nptl/pt-interp.c: New file.
23149         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
23150         Add pt-interp.
23151         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
23152         $(common-objpfx)runtime-linker.h.
23154 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
23156         * Makeconfig (+interp): Remove unused variable.
23157         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
23158         only.  Depend on $(common-objpfx)runtime-linker.h instead of
23159         $(elf-objpfx)runtime-linker.h.
23160         ($(elf-objpfx)runtime-linker.h): Rename to
23161         $(common-objpfx)runtime-linker.h and move ...
23162         * Makerules [$(build-shared) = yes]: ... here.
23163         * elf/interp.c: Include <runtime-linker.h> instead of
23164         <elf/runtime-linker.h>.
23166 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23168         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
23169         (__gettimeofday_syscall): Remove vsyscall fallback.
23170         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
23171         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
23172         Add syscall fallback function.
23173         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
23174         if vDSO is not present.
23175         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
23176         fallback function.
23177         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
23178         present.
23179         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
23180         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23182 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
23184         [BZ #18497]
23185         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
23186         of wcscmp.
23187         (wcscmp): Define as weak alias of WCSCMP.
23188         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
23189         wcscoll.
23190         (USE_HIDDEN_DEF): Define.
23191         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
23192         __wcscoll.  Don't use libc_hidden_weak.
23193         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
23194         wcscmp.
23195         * sysdeps/i386/i686/multiarch/wcscmp-c.c
23196         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
23197         __GI_wcscmp.
23198         (weak_alias): Undefine and redefine.
23199         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
23200         __wcscmp and define as weak alias of __wcscmp.
23201         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
23202         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
23203         (__wcscoll): Likewise.
23204         (wcscmp): Don't use libc_hidden_proto.
23205         (wcscoll): Likewise.
23206         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
23207         wcscoll.
23208         * posix/regexec.c (check_node_accept_bytes): Likewise.
23209         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
23210         variable.
23211         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23212         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23214         [BZ #18507]
23215         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
23216         __fstatvfs and define as weak alias of __fstatvfs.  Use
23217         libc_hidden_weak.
23218         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
23219         and define as weak alias of __statvfs.  Use libc_hidden_weak.
23220         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
23221         Define as alias of __fstatvfs, not fstatvfs.
23222         (fstatvfs64): Likewise.
23223         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
23224         Define as alias of __statvfs, not statvfs.
23225         (statvfs64): Likewise.
23226         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
23227         Remove variable.
23229 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23232         (HAVE_GETCPU_VSYSCALL): Define.
23233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23234         (HAVE_GETCPU_VSYSCALL): Likewise.
23235         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
23236         * sysdeps/unix/sysv/linux/sched_getcpu.c
23237         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
23238         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
23239         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
23240         prototype.
23241         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23242         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
23243         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
23244         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
23245         Define.
23246         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
23247         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23248         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
23249         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23251 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
23253         * sysdeps/x86_64/fpu/Makefile: New file.
23254         * sysdeps/x86_64/fpu/Versions: New file.
23255         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
23256         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
23257         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
23258         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
23259         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
23260         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
23261         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
23262         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
23263         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
23264         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
23265         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
23266         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
23267         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
23268         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23269         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23270         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
23271         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
23272         * sysdeps/x86_64/configure.ac: Options for libmvec build.
23273         * sysdeps/x86_64/configure: Regenerated.
23274         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
23275         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
23276         * manual/install.texi (Configuring and compiling): Document
23277         --disable-mathvec.
23278         * INSTALL: Regenerated.
23279         * NEWS: Mention addition of libmvec and x86_64 vector cos.
23281         * math/Makefile: Added rules for vector tests.
23282         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
23283         declaration under condition.
23284         * math/test-double-vlen2.h: New file.
23285         * math/test-double-vlen4.h: New file.
23286         * math/test-double-vlen8.h: New file.
23287         * math/test-vec-loop.h: Added initialization macro.
23288         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
23289         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
23290         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
23291         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
23292         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
23293         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
23294         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
23295         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
23296         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
23297         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
23298         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
23300         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23301         * sysdeps/x86_64/fpu/Versions: New versions added.
23302         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
23303         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
23304         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
23305         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
23306         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
23307         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
23308         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
23309         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
23310         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
23311         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
23312         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
23313         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
23314         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
23315         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23316         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23317         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23318         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
23319         * NEWS: Mention addition of x86_64 vector cosf.
23321         * math/Makefile: Added CFLAGS for new tests.
23322         * math/test-float-vlen16.h: New file.
23323         * math/test-float-vlen4.h: New file.
23324         * math/test-float-vlen8.h: New file.
23325         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
23326         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
23327         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23328         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
23329         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
23330         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
23331         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
23332         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
23333         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
23334         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
23335         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
23337 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
23339         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
23340         * locale/programs/ld-ctype.c: Likewise.
23342 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
23344         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
23345         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
23346         bit_ZMM16_31_state): New macro.
23347         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23348         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
23350 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
23352         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
23354 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
23356         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
23358 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
23360         [BZ #18498]
23361         * libio/memstream.c (open_memstream): Rename to __open_memstream
23362         and define as weak alias of __open_memstream.
23363         * include/stdio.h (__open_memstream): Declare.  Use
23364         libc_hidden_proto.
23365         (open_memstream): Don't use libc_hidden_proto.
23366         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
23367         open_memstream.
23368         * posix/getopt.c (_getopt_internal_r): Likewise.
23369         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
23370         variable.
23371         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23372         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23373         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23375         [BZ #18496]
23376         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
23377         instead of wcrtomb.
23379         [BZ #18483]
23380         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
23381         [__USE_XOPEN2K8].  Remove redundant #endif.
23382         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
23383         Remove redundant #if.
23384         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
23385         Remove variable.
23386         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23387         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23389         [BZ #18495]
23390         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
23391         (__iswlower): Likewise.
23392         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
23393         (__iswlower): Likewise.
23394         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23395         instead of towlower.
23396         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23397         instead of iswlower.  Call __towupper instead of towupper.
23398         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23399         instead of iswalnum.
23401 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23403         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23404         errors to stderr.
23406 2015-06-05  Florian Weimer  <fweimer@redhat.com>
23408         [BZ #15661]
23409         [BZ #17322]
23410         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23411         Check for overflow properly.  Check for O_APPEND.  Ignore large
23412         file system block sizes.  Add comments about problems.
23413         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23414         * manual/filesys.texi (Storage Allocation): New node.
23416 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23418         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
23419         cancellable syscalls.
23420         (SYS_ify): Add guard to no redefine it.
23421         (INLINE_SYSCALL): Likewise.
23422         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
23423         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
23424         SYSCALL_CANCEL instead.
23425         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
23426         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23427         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23428         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23429         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23430         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
23431         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
23432         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
23433         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23434         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23435         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
23436         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
23437         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
23438         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
23439         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
23440         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23441         Likewise.
23442         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23443         (__libc_pread64): Likewise.
23444         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
23445         (__libc_preadv): Likewise.
23446         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
23447         (__libc_readv64): Likewise.
23448         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23449         (__libc_pwrite): Likewise.
23450         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23451         (__libc_pwrite64): Likewise.
23452         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
23453         (__libc_pwritev): Likewise.
23454         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
23455         (__libc_pwritev64): Likewise.
23456         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
23457         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23458         (sync_file_range): Likewise.
23459         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
23460         Likewise.
23461         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
23462         Likewise.
23463         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23464         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23465         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23466         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23467         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23468         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23469         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23470         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
23471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23472         Likewise.
23473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23474         (__libc_read64): Likewise.
23475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
23476         Likewise.
23477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
23478         Likewise.
23479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
23480         Likewise.
23481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
23482         Likewise.
23483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23484         (__libc_pread64): Likewise.
23485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
23486         Likewise.
23487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23488         (__libc_pwrite64): Likewise.
23489         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
23490         (sync_file_range): Likewise.
23491         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
23492         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23493         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23494         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
23495         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
23496         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23497         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23498         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
23499         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
23500         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23501         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23502         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23503         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23504         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23505         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
23506         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23507         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23508         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23509         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23510         Likewise.
23511         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
23512         Likewise.
23513         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
23514         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
23515         Likewise.
23516         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
23517         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
23518         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
23519         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
23520         Likewise.
23521         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
23522         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
23523         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
23524         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
23525         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
23527 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
23529         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
23530         Include dl-vdso.
23531         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
23532         Use VDSO routines for gettimeofday, clock_gettime if
23533         available.
23534         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
23535         Declare VDSO symbols.
23536         * sysdeps/unix/sysv/linux/arm/sysdep.h:
23537         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
23538         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23539         * sysdeps/unix/sysv/linux/arm/Versions: Add
23540         __vdso_clock_gettime.
23542 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23544         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
23545         be an inline implementation regardless of library is built within.
23546         (open_not_cancel_2): Likewise.
23547         (__read_nocancel): Likewise.
23548         (__write_nocancel): Likewise.
23549         (openat_not_cancel): Likewise.
23550         (openat_not_cancel_3): Likewise.
23551         (openat64_not_cancel): Likewise.
23552         (openat64_not_cancel_3): Likewise.
23553         (__close_nocancel): Likewise.
23554         (pause_not_cancel): Likewise.
23555         (nanosleep_not_cancel): Likewise.
23556         (sigsuspend_not_cancel): Likewise.
23558 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23560         [BZ #14958]
23561         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
23562         wake-up.
23563         (__pthread_rwlock_rdlock_slow): Likewise.
23564         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23565         Likewise.
23566         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23567         Likewise.
23568         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
23569         * nptl/tst-rwlock16.c: New file.
23570         * nptl/Makefile (tests): Add new test.
23572 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23574         [BZ #18324]
23575         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
23576         missing wake-up of readers.
23577         * nptl/tst-rwlock15.c: New file.
23578         * nptl/Makefile (tests): Add new test.
23580 2015-06-03  Roland McGrath  <roland@hack.frob.com>
23582         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
23583         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
23584         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
23585         and __nacl_supply_interface_rtld.
23586         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
23587         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
23588         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
23589         Add __nacl_supply_interface_rtld.
23590         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
23592 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23594         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
23595         isfinite.
23596         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23597         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
23599 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23601         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
23602         __signbit* with standard C99 macros.
23603         * math/e_exp10l.c: Likewise.
23604         * math/e_exp2l.c: Likewise.
23605         * math/e_scalb.c: Likewise.
23606         * math/e_scalbf.c: Likewise.
23607         * math/e_scalbl.c: Likewise.
23608         * math/s_ldexp.c: Likewise.
23609         * math/s_ldexpf.c: Likewise.
23610         * math/s_ldexpl.c: Likewise.
23611         * math/w_atan2.c: Likewise.
23612         * math/w_atan2f.c: Likewise.
23613         * math/w_atan2l.c: Likewise.
23614         * math/w_cosh.c: Likewise.
23615         * math/w_coshf.c: Likewise.
23616         * math/w_coshl.c: Likewise.
23617         * math/w_exp10.c: Likewise.
23618         * math/w_exp10f.c: Likewise.
23619         * math/w_exp10l.c: Likewise.
23620         * math/w_exp2.c: Likewise.
23621         * math/w_exp2f.c: Likewise.
23622         * math/w_exp2l.c: Likewise.
23623         * math/w_fmod.c: Likewise.
23624         * math/w_fmodf.c: Likewise.
23625         * math/w_fmodl.c: Likewise.
23626         * math/w_hypot.c: Likewise.
23627         * math/w_hypotf.c: Likewise.
23628         * math/w_hypotl.c: Likewise.
23629         * math/w_jnl.c: Likewise.
23630         * math/w_lgamma.c: Likewise.
23631         * math/w_lgamma_r.c: Likewise.
23632         * math/w_lgammaf.c: Likewise.
23633         * math/w_lgammaf_r.c: Likewise.
23634         * math/w_lgammal.c: Likewise.
23635         * math/w_lgammal_r.c: Likewise.
23636         * math/w_pow.c: Likewise.
23637         * math/w_powf.c: Likewise.
23638         * math/w_powl.c: Likewise.
23639         * math/w_remainder.c: Likewise.
23640         * math/w_remainderf.c: Likewise.
23641         * math/w_remainderl.c: Likewise.
23642         * math/w_scalb.c: Likewise.
23643         * math/w_scalbf.c: Likewise.
23644         * math/w_scalbl.c: Likewise.
23645         * math/w_scalbln.c: Likewise.
23646         * math/w_scalblnf.c: Likewise.
23647         * math/w_scalblnl.c: Likewise.
23648         * math/w_sinh.c: Likewise.
23649         * math/w_sinhf.c: Likewise.
23650         * math/w_sinhl.c: Likewise.
23651         * math/w_tgamma.c: Likewise.
23652         * math/w_tgammaf.c: Likewise.
23653         * math/w_tgammal.c: Likewise.
23654         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23655         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
23656         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23657         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23658         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23659         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23660         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23661         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23662         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23663         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23664         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23665         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23666         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23667         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23668         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23669         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23670         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23671         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23672         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23673         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23674         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23675         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23676         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23677         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23678         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23679         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23680         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
23681         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23682         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23683         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23684         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
23685         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
23686         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
23687         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
23688         * stdio-common/printf_fp.c: Likewise.
23689         * stdio-common/printf_fphex.c: Likewise.
23690         * stdio-common/printf_size.c: Likewise.
23692 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
23694         [BZ #18470]
23695         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
23696         strnlen.
23697         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
23698         Remove variable.
23699         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23700         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23701         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23702         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23703         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23704         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23705         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23706         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23707         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23708         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23710         [BZ #18468]
23711         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
23712         weak alias of __wmemchr.  Use libc_hidden_weak.
23713         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
23714         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
23715         instead of wmemchr.
23717 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23719         [BZ #18383]
23720         * elf/tst-tlsalign-extern.c: New file.
23721         * elf/tst-tlsalign-extern-static.c: New file.
23722         * elf/tst-tlsalign-vars.c: New file.
23723         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
23724         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
23725         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
23726         ($(objpfx)tst-tlsalign-extern-static): Likewise.
23727         (test-xfail-tst-tlsalign-extern-static): New variable.
23729 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
23731         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
23732         Use variable name _sc_err instead of err.
23733         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
23734         instead of ret.
23735         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
23736         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
23737         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
23738         (INLINE_SYSCALL): Likewise.
23740         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
23741         * include/string.h (__strnlen): Use libc_hidden_proto.
23742         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
23743         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
23744         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
23745         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
23746         (libc_hidden_def): Undefine and redefine.
23747         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
23748         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
23749         __GI_strnlen.
23750         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23751         libc_hidden_def.
23752         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
23754         [BZ #18469]
23755         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
23756         weak alias of __towlower.  Use libc_hidden_weak.
23757         (towupper): Rename to __towupper and define as weak alias of
23758         __towupper.  Use libc_hidden_weak.
23759         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
23760         (__towupper): Likewise.
23761         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
23762         __towlower instead of towlower.
23764 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23766         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23767         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23769 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23771         * sysdeps/aarch64/libm-test-ulps: Update.
23773 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23775         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23776         Define.
23777         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23778         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23779         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23780         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23781         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23782         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23783         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23785 2015-06-01  Martin Sebor  <msebor@redhat.com>
23787         [BZ #18116]
23788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23789         (__setcontext): Use extended four-operand version of mtsf whenever
23790         possible.
23791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23792         (__novec_swapcontext): Likewise.
23794 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23796         * benchtests/scripts/compare_bench.py: New file.
23797         * benchtests/scripts/import_bench.py (mean): New function.
23798         (split_list): Likewise.
23799         (do_for_all_timings): Likewise.
23800         (compress_timings): Likewise.
23802         * benchtests/scripts/import_bench.py: New file.
23803         * benchtests/scripts/validate_benchout.py: Import import_bench
23804         instead of jsonschema.
23805         (validate_bench): Remove function.
23806         (main): Use import_bench.
23808 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
23810         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23811         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23813 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23817 2015-05-28  Roland McGrath  <roland@hack.frob.com>
23819         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23820         set THREAD_SELF->tid to a magic value and futex-wake it.
23821         Pass its address to the thread_exit system call.
23822         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23823         bit is clear.
23824         * sysdeps/nacl/lowlevellock.h: New file.
23825         * sysdeps/nacl/lll_timedwait_tid.c: New file.
23827         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23828         Add TIMEOUT to current time, don't subtract it.
23830 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
23832         [BZ #2981]
23833         [BZ #18422]
23834         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23835         ($(objpfx)tst-audit2.out): Also depend on
23836         $(objpfx)tst-auditmod9b.so.
23837         * elf/tst-audit2.c: Include <dlfcn.h>.
23838         (calloc_called): New.
23839         (calloc): Allow to be called more than once.
23840         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
23842 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
23844         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
23845         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
23847 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
23849         * stdlib/monetary.h: Fix comment.
23851 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
23853         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
23854         Avoid using variables in #defines that might cause shadowing.
23855         (INTERNAL_VSYSCALL_CALL): Likewise.
23857 2015-05-26  Roland McGrath  <roland@hack.frob.com>
23859         * sysdeps/nacl/lll_timedlock_wait.c: New file.
23861         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
23862         * nptl/lll_timedlock_wait.c: ... to this new file.
23863         * nptl/Makefile (libpthread-routines): Add it.
23864         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23865         * nptl/lll_timedwait_tid.c: ... to this new file.
23866         * nptl/Makefile (libpthread-routines): Add it.
23867         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23868         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23869         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23870         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23871         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23872         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23873         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23874         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23875         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23876         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23878 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23880         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23881         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23882         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23883         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23884         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23885         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23886         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23887         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23888         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23889         * sysdeps/unix/sysv/linux/tile/sysdep.h
23890         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23891         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23892         using vDSO syscall macro.
23894 2015-05-26  Andriy Rysin  <arysin@gmail.com>
23896         [BZ #17293]
23897         * uk_UA: Fix sorting order for Ukrainian locale
23899 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
23901         * stdlib/monetary.h: Fix comment.
23903 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23905         [BZ #18234]
23906         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
23907         st_mtim and st_ctim members.
23908         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
23909         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
23910         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
23911         (struct stat64): Likewise.
23912         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
23913         (struct stat64): Likewise.
23914         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
23915         (struct stat64): Likewise.
23917 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23919         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
23920         Define and include sysdep-vdso.h.
23921         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
23922         Likewise.
23923         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
23924         Likewise.
23925         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
23926         Define with VDSO_SYMBOL and use PTR_MANGLE.
23927         (__vdso_clock_gettime): Likewise.
23928         (__vdso_clock_getres): Likewise.
23929         (_libc_vdso_platform_setup): Likewise.
23930         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23931         Likewise.
23932         (_libc_vdso_platform_setup): Likewise.
23933         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
23934         Likewise.
23935         (__vdso_clock_gettime): Likewise.
23936         (__vdso_clock_getres): Likewise.
23937         (__vdso_get_tbfreq): Likewise.
23938         (__vdso_getcpu): Likewise.
23939         (__vdso_time): Likewise.
23940         (__vdso_sigtramp_rt64): Likewise.
23941         (__vdso_signtramp32): Likewise.
23942         (__vdso_sigtramp_rt32): Likewise.
23943         (_libc_vdso_platform_setup): Likewise.
23944         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
23945         Likewise.
23946         (__vdso_clock_gettime): Likewise.
23947         (__vdso_clock_getres): Likewise.
23948         (_libc_vdso_platform_setup): Likewise.
23949         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
23950         Likewise.
23951         (__vdso_clock_gettime): Likewise.
23952         (_libc_vdso_platform_setup): Likewise.
23953         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23954         Likewise.
23955         (__vdso_getcpu): Likewise.
23956         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
23957         Use VDSO_SYMBOL macro to define.
23958         (__vdso_clock_gettime): Likewise.
23959         (__vdso_clock_getres): Likewise.
23960         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
23961         Likewise.
23962         (__vdso_clock_gettime): Likewise.
23963         (__vdso_clock_getres): Likewise.
23964         (__vdso_get_tbfreq): Likewise.
23965         (__vdso_getcpu): Likewise.
23966         (__vdso_time): Likewise.
23967         (__vdso_sigtramp_rt64): Likewise.
23968         (__vdso_signtramp32): Likewise.
23969         (__vdso_sigtramp_rt32): Likewise.
23970         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
23971         Likewise.
23972         (__vdso_clock_gettime): Likewise.
23973         (__vdso_clock_getres): Likewise.
23974         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
23975         Likewise.
23976         (__vdso_clock_gettime): Likewise.
23977         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23978         Likewise.
23979         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
23980         macro.
23981         (INTERNAL_VSYSCALL): Likewise.
23982         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
23983         Remove macro.
23984         (INTERNAL_VSYSCALL): Likewise.
23985         (INTERNAL_VSYSCALL_NCS): Likewise.
23986         (INTERNAL_VSYSCALL_CALL): New macro.
23987         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23988         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
23989         Likewise.
23990         (INTERNAL_VSYSCALL): Likewise.
23991         (INTERNAL_VSYSCALL_NCS): Likewise.
23992         (INTERNAL_VSYSCALL_CALL): New macro.
23993         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23995         (INLINE_VSYSCALL): Remove macro.
23996         (INTERNAL_VSYSCALL): Remove macro.
23997         (INTERNAL_VSYSCALL_NCS): Remove macro.
23998         (INTERNAL_VSYSCALL_CALL): New macro.
23999         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
24000         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
24001         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24002         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
24003         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24005         (INLINE_VSYSCALL): Remove macro.
24006         (INTERNAL_VSYSCALL): Likewise.
24007         (INTERNAL_VSYSCALL_NCS): Likewise.
24008         (INTERNAL_VSYSCALL_CALL): New macro.
24009         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
24010         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
24011         PTR_DEMANGLE on vDSO pointer.
24012         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24013         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
24014         macro.
24015         (INTERNAL_SYSCALL): Likewise.
24016         (INTERNAL_VSYSCALL_NCS): Remove macro.
24017         (INTERNAL_VSYSCALL_CALL): New macro.
24018         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
24019         Remove macro.
24020         (INTERNAL_VSYSCALL): Likewise.
24021         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
24022         sysdep-vdso.h instead of libc-vdso.h.
24023         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
24024         definition.
24025         (INLINE_VSYSCALL): Likewise.
24026         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
24027         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
24028         definition.
24029         (INLINE_VSYSCALL): Likewise.
24030         (INTERNAL_VSYSCALL): Likewise.
24031         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24032         * sysdeps/unix/sysv/linux/timespec_get.c
24033         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24034         (timespec_get): Use ANSI prototype.
24035         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
24036         and definition for Linux.
24038 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24040         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
24041         * include/libc-symbols.h: libmvec_hidden_* macro series added.
24043 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24045         [BZ #2981]
24046         [BZ #18410]
24047         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
24048         for missing DT_PLTRELSZ.
24050 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24052         Remove obsolete aliases that broke 'locale -a'
24053         [BZ #18412]
24054         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
24055         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
24056         breaking some applications that use 'locale -a' output.
24057         Change the encoding of this file from Latin-1 to ASCII to avoid
24058         other potential problems with people grepping this file.
24060 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24062         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
24063         -fasynchronous-unwind-tables.
24064         (CFLAGS-sendto.c): Likewise.
24065         (CFLAGS-sendmsg.c): Likewise.
24066         (CFLAGS-connect.c): Likewise.
24067         (CFLAGS-recvmsg.c): Likewise.
24068         (CFLAGS-recvfrom.c): Likewise.
24069         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
24070         (SOCKETCALL): New macro: non-cancellable socketcall.
24071         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
24072         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
24073         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
24074         * sysdeps/unix/sysv/linux/accept.c: New file.
24075         * sysdeps/unix/sysv/linux/bind.c: Likewise.
24076         * sysdeps/unix/sysv/linux/connect.c: Likewise.
24077         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
24078         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
24079         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
24080         * sysdeps/unix/sysv/linux/listen.c: Likewise.
24081         * sysdeps/unix/sysv/linux/recv.c: Likewise.
24082         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
24083         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
24084         * sysdeps/unix/sysv/linux/send.c: Likewise.
24085         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
24086         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
24087         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
24088         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
24089         * sysdeps/unix/sysv/linux/socket.c: Likewise.
24090         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
24091         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
24092         prototype.
24093         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
24094         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24095         instead of __internal_xxx function.
24096         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
24097         prototype.
24098         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
24099         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24100         instead of __internal_xxx function.
24101         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
24102         prototype.
24103         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
24104         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24105         instead of __internal_xxx function.
24106         * sysdeps/unix/sysv/linux/accept.S: Remove file.
24107         * sysdeps/unix/sysv/linux/bind.S: Likewise.
24108         * sysdeps/unix/sysv/linux/connect.S: Likewise.
24109         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
24110         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
24111         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
24112         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
24113         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
24114         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
24115         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
24116         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
24117         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24118         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
24119         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
24120         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
24121         * sysdeps/unix/sysv/linux/listen.S: Likewise.
24122         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
24123         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
24124         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
24125         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
24126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
24127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
24128         * sysdeps/unix/sysv/linux/recv.S: Likewise.
24129         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
24130         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
24131         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
24132         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24133         * sysdeps/unix/sysv/linux/send.S: Likewise.
24134         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
24135         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
24136         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
24137         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
24138         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
24139         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
24140         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
24141         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
24142         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
24143         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
24144         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
24145         socketcall is implemented in GLIBC.
24147 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24149         * soft-fp/fmadf4.c: Include <libc-internal.h>.
24150         (__fma): Ignore uninitialized warnings around packing.
24151         * soft-fp/fmasf4.c: Include <libc-internal.h>.
24152         (__fmaf): Ignore uninitialized warnings around packing.
24153         * soft-fp/fmatf4.c: Include <libc-internal.h>.
24154         (__fmal): Ignore uninitialized warnings around packing.
24156         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
24157         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24158         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
24159         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24161         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
24162         switch statement into default case.
24163         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
24165         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
24166         a conditional in forcing "inexact".
24167         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24168         Likewise.
24170 2015-05-22  Roland McGrath  <roland@hack.frob.com>
24172         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24173         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
24174         for each INTERNAL_SYSCALL use.
24176 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24178         [BZ #438]
24179         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
24180         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
24181         variable.
24183         [BZ #18444]
24184         * string/basename.c (basename): Rename to __basename and define as
24185         weak alias of __basename.  Use libc_hidden_weak.
24186         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
24187         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
24188         __basename instead of basename.
24189         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
24190         Remove variable.
24191         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24193 2015-05-18  Florian Weimer  <fweimer@redhat.com>
24195         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
24196         (_IO_JUMPS_FILE_plus): New.
24197         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
24198         _IO_CAST_FIELD_ACCESS.
24199         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
24200         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
24201         * libio/freopen.c (freopen): Likewise.
24202         * libio/freopen64.c (freopen64): Likewise.
24203         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
24204         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
24205         * libio/iofwide.c (_IO_fwide): Likewise.
24206         * libio/memstream.c (open_memstream): Likewise.
24207         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24208         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24209         * libio/oldiopopen.c (_IO_old_popen): Likewise.
24211 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
24213         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
24214         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
24215         NADJ.
24216         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
24217         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
24218         NADJ.
24219         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
24220         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
24221         NADJ.
24223         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
24224         (p == 4) case.
24226         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
24227         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
24228         Remove variable.
24229         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24230         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24231         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24233 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24235         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
24236         Adjust jump table label generation macros.
24238 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24240         * stdio-common/vfprintf.c (vfprintf): Move local variables
24241         args_malloced, specs, specs_malloced, and the code after
24242         do_positional to the printf_positional function.
24243         (printf_positional): New function.
24245 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24247         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
24248         function.
24249         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
24250         STEP4_TABLE, process_arg): Move macro definitions
24251         out of the vfprintf function.  (Cosmetic change only.)
24253 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
24255         * benchtests/Makefile (stdio-common-bench): Define.
24256         (benchset): Add stdio-common-bench.
24257         * sprintf-inputs: New file.
24258         * sprintf-source.c: New file.
24260 2015-05-21  Andreas Schwab  <schwab@suse.de>
24262         [BZ #13028]
24263         [BZ #17053]
24264         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
24265         of struct __res_state.
24266         * resolv/res_send.c (__libc_res_nsend): Likewise.
24267         (get_nsaddr): New function.
24268         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
24269         statp directly.
24271 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
24273         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
24274         -D_POSIX_C_SOURCE=199506L.
24276         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
24278         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
24279         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
24280         Do not mention otherwise.
24281         [POSIX] (_XOPEN_VERSION): Do not expect.
24282         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
24283         [POSIX] (_POSIX2_C_BIND): Likewise.
24284         [POSIX] (_POSIX2_VERSION): Likewise.
24285         [POSIX] (_XOPEN_XPG2): Likewise.
24286         [POSIX] (_XOPEN_XPG3): Likewise.
24287         [POSIX] (_XOPEN_XPG4): Likewise.
24288         [POSIX] (_XOPEN_UNIX): Likewise.
24289         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
24290         [POSIX] (_POSIX_BARRIERS): Likewise.
24291         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
24292         [POSIX] (_POSIX_CPUTIME): Likewise.
24293         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24294         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
24295         [POSIX] (_POSIX_SHELL): Likewise.
24296         [POSIX] (_POSIX_SPAWN): Likewise.
24297         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
24298         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24299         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
24300         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
24301         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
24302         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
24303         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
24304         [POSIX] (_XBS5_LP64_OFF64): Likewise.
24305         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
24306         [POSIX] (_POSIX_TIMEOUTS): Likewise.
24307         [POSIX] (_POSIX2_PBS): Likewise.
24308         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
24309         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
24310         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
24311         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
24312         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
24313         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
24314         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
24315         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
24316         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
24317         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
24318         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
24319         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
24320         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
24321         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
24322         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
24323         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
24324         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
24325         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
24326         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
24327         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
24328         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
24329         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
24330         [POSIX] (_SC_2_C_BIND): Likewise.
24331         [POSIX] (_SC_2_C_VERSION): Likewise.
24332         [POSIX] (_SC_2_PBS): Likewise.
24333         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
24334         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
24335         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
24336         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
24337         [POSIX] (_SC_2_PBS_TRACK): Likewise.
24338         [POSIX] (_SC_ATEXIT_MAX): Likewise.
24339         [POSIX] (_SC_BARRIERS): Likewise.
24340         [POSIX] (_SC_BASE): Likewise.
24341         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
24342         [POSIX] (_SC_DEVICE_IO): Likewise.
24343         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
24344         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
24345         [POSIX] (_SC_FD_MGMT): Likewise.
24346         [POSIX] (_SC_FIFO): Likewise.
24347         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
24348         [POSIX] (_SC_FILE_LOCKING): Likewise.
24349         [POSIX] (_SC_FILE_SYSTEM): Likewise.
24350         [POSIX] (_SC_IOV_MAX): Likewise.
24351         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
24352         [POSIX] (_SC_NETWORKING): Likewise.
24353         [POSIX] (_SC_PAGE_SIZE): Likewise.
24354         [POSIX] (_SC_PASS_MAX): Likewise.
24355         [POSIX] (_SC_PIPE): Likewise.
24356         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
24357         [POSIX] (_SC_REGEXP): Likewise.
24358         [POSIX] (_SC_SHELL): Likewise.
24359         [POSIX] (_SC_SIGNALS): Likewise.
24360         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
24361         [POSIX] (_SC_SPIN_LOCKS): Likewise.
24362         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
24363         [POSIX] (_SC_USER_GROUPS): Likewise.
24364         [POSIX] (_SC_USER_GROUPS_R): Likewise.
24365         [POSIX] (_SC_STREAMS): Likewise.
24366         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
24367         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
24368         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
24369         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
24370         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
24371         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
24372         [POSIX] (_PC_FILESIZEBITS): Likewise.
24373         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
24374         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
24375         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
24376         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
24377         [POSIX] (uid_t): Likewise.
24378         [POSIX] (gid_t): Likewise.
24379         [POSIX] (off_t): Likewise.
24380         [POSIX] (pid_t): Likewise.
24381         [POSIX] (cuserid): Allow.
24382         (_SC_2_CHAR_TERM): Require constant.
24383         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
24384         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
24385         variable.
24387 2015-05-20  Roland McGrath  <roland@hack.frob.com>
24389         * sysdeps/nacl/pthread-pids.h: New file.
24390         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
24391         (create_thread): Use __nacl_get_tid to initialize PD->tid.
24393         * nptl/pthread-pids.h: New file.
24394         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24395         * nptl/nptl-init.c: Include <pthread-pids.h>.
24396         (__pthread_initialize_minimal_internal):
24397         Call __pthread_initialize_pids instead of set_tid_address syscall.
24399         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24400         * sysdeps/posix/usleep.c: ... here.
24402 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24404         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24405         call_pselect6 object.
24406         [$(subdir) = io]: Remove call_sync_file_range object.
24407         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24408         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24409         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24410         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24412 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
24414         * math/s_cproj.c: Add include "math_private.h".
24415         * math/s_cprojf.c: Likewise.
24416         * math/s_cprojl.c: Likewise.
24418 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
24420         [BZ #18244]
24421         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
24422         high mantissa bit when testing whether P is a NaN.
24423         * math/libm-test.inc (remainder_test_data): Add more tests.
24424         (remquo_test_data): Likewise.
24426         [BZ #18049]
24427         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
24428         below -32, return the argument, with underflow if subnormal.
24429         * math/auto-libm-test-in: Add more tests of atanh.
24430         * math/auto-libm-test-out: Regenerated.
24432 2015-05-19  Roland McGrath  <roland@hack.frob.com>
24434         [BZ #18434]
24435         * nptl/tst-sem15.c: New file.
24436         * nptl/Makefile (tests): Add it.
24437         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
24438         s/<</>>/ to fix typo in EOVERFLOW check.
24439         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
24441 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24443         * manual/strings.texi (envz_remove): Fix typo in safety
24444         annotations.
24446 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24447             Steve Ellcey  <sellcey@imgtec.com>
24449         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
24450         in order to avoid strict alias warnings.
24451         (iruserok_af): Ditto for ra.
24453 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
24455         [BZ #17581]
24456         * malloc/hooks.c
24457         (magicbyte): Convert to a function and avoid returning 0x01.
24458         (mem2mem_check): Avoid using a length byte equal to the magic byte.
24459         (mem2chunk_check): Fix unsigned comparisons to zero.
24460         Hoist defs of sz and magic.
24462 2015-05-19  Richard Henderson  <rth@redhat.com>
24464         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
24466         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24468 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24470         [BZ #16159]
24471         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
24472         * malloc/arena.c (arena_lock): Check if arena is corrupt.
24473         (reused_arena): Find a non-corrupt arena.
24474         (heap_trim): Pass arena to unlink.
24475         * malloc/hooks.c (malloc_check_get_size): Pass arena to
24476         malloc_printerr.
24477         (top_check): Likewise.
24478         (free_check): Likewise.
24479         (realloc_check): Likewise.
24480         * malloc/malloc.c (malloc_printerr): Add arena argument.
24481         (unlink): Likewise.
24482         (munmap_chunk): Adjust.
24483         (ARENA_CORRUPTION_BIT): New macro.
24484         (arena_is_corrupt): Likewise.
24485         (set_arena_corrupt): Likewise.
24486         (sysmalloc): Use mmap if there are no usable arenas.
24487         (_int_malloc): Likewise.
24488         (__libc_malloc): Don't fail if arena_get returns NULL.
24489         (_mid_memalign): Likewise.
24490         (__libc_calloc): Likewise.
24491         (__libc_realloc): Adjust for additional argument to
24492         malloc_printerr.
24493         (_int_free): Likewise.
24494         (malloc_consolidate): Likewise.
24495         (_int_realloc): Likewise.
24496         (_int_memalign): Don't touch corrupt arenas.
24497         * malloc/tst-malloc-backtrace.c: New test case.
24499         * Makefile (summarize-tests): Fix return value on success.
24501         * manual/string.texi (Envz Functions): Add envz_remove.
24503 2015-05-18  Roland McGrath  <roland@hack.frob.com>
24505         * sysdeps/posix/opendir.c: Include <stdbool.h>.
24506         (invalid_name): New function, broken out of ...
24507         (__opendirat): ... here.  Call it.
24508         (need_isdir_precheck): New function, broken out of ...
24509         (__opendirat): ... here.  Call it.
24510         Use __fxstatat64, not __xstatat64.
24511         (opendir_oflags): New function, broken out of ...
24512         (__opendirat): ... here.  Call it.
24513         (opendir_tail): New function, broken out of ...
24514         (__opendirat): ... here.  Call it.
24515         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
24516         opendir_tail, rather than punting to __opendirat.
24517         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
24519 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24521         * .gitignore: Ignore generated *.pyc.
24523 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
24525         * include/stdio.h: Define __need_wint_t.
24526         * test-skeleton.c: Avoid `for' loop initial declaration.
24527         * nptl/tst-initializers1.c: Use test-skeleton.c.
24529 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24531         [BZ #18418]
24532         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
24534 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24536         [BZ #16352]
24537         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
24538         (__ieee754_atanh): Force underflow exception for results with
24539         small absolute value.
24540         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
24541         (__ieee754_atanhf): Force underflow exception for results with
24542         small absolute value.
24543         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
24544         (__ieee754_atanh): Force underflow exception for results with
24545         small absolute value.
24546         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
24547         (__ieee754_atanhf): Force underflow exception for results with
24548         small absolute value.
24549         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
24550         (__ieee754_atanhl): Force underflow exception for results with
24551         small absolute value.
24552         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
24553         (__ieee754_atanhl): Force underflow exception for results with
24554         small absolute value.
24555         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
24556         (__ieee754_atanhl): Force underflow exception for results with
24557         small absolute value.
24558         * math/auto-libm-test-in: Do not allow missing underflow
24559         exceptions from atanh.
24560         * math/auto-libm-test-out: Regenerated.
24562         [BZ #18221]
24563         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
24564         2**-28 as threshold for returning x or +/- 1/x.
24565         * math/auto-libm-test-in: Add more tests of tan.
24566         * math/auto-libm-test-out: Regenerated.
24568         [BZ #18220]
24569         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24570         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
24571         * math/auto-libm-test-in: Add another test of lgamma.
24572         * math/auto-libm-test-out: Regenerated.
24574 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
24576         * stdio-common/printf_fp.c (___printf_fp): Use abs.
24577         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
24578         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
24579         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
24580         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
24581         (ADD2A): Use fabs.  (SUB2A): Use fabs.
24582         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
24583         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
24584         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
24585         (log1): Use fabs.  (my_log2): Use fabs.
24586         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
24587         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
24588         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
24589         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
24590         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
24591         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
24592         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
24593         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
24594         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
24595         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
24596         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
24598 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24600         [BZ #18217]
24601         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
24602         as threshold for returning 1 - x.
24603         * math/auto-libm-test-in: Add more tests of erfc.
24604         * math/auto-libm-test-out: Regenerated.
24606 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
24608         [BZ #18196]
24609         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
24610         threshold for large arguments.
24611         * math/auto-libm-test-in: Add another test of atan.
24612         * math/auto-libm-test-out: Regenerated.
24614         [BZ #16339]
24615         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
24616         (__log1p): Force underflow exception for results with small
24617         absolute value.
24618         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
24619         (__log1pf): Force underflow exception for results with small
24620         absolute value.
24621         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
24622         (__log1p): Force underflow exception for results with small
24623         absolute value.
24624         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
24625         (__log1pf): Force underflow exception for results with small
24626         absolute value.
24627         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
24628         (__log1pl): Force underflow exception for results with small
24629         absolute value.
24630         * math/auto-libm-test-in: Do not allow missing underflow
24631         exceptions from log1p.
24632         * math/auto-libm-test-out: Regenerated.
24634 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
24635             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24637         [BZ #16704]
24638         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
24640 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
24642         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
24643         (libmvec): New variable.
24644         * configure.ac: Added option for mathvec build.
24645         * configure: Regenerated.
24646         * mathvec/Depend: New file.
24647         * mathvec/Makefile: New file.
24648         * shlib-versions: Added libmvec.
24649         * math/Makefile: Added rule for libm.so installation.
24651         * bits/math-vector.h: New file.
24652         * bits/libm-simd-decl-stubs.h: New header.
24653         * math/Makefile (headers): Added new header
24654         libm-simd-decl-stubs.h.
24655         * math/math.h (__MATHCALL_VEC): New macro.
24657         * math/gen-libm-have-vector-test.sh: Script generates series of macros
24658         for conditions in testing functions.
24659         * math/Makefile: Added call of libm-have-vector-test.sh.
24660         * math/libm-test.inc (HAVE_VECTOR): New macros.
24662         * math/libm-test.inc: START refactored.
24663         * math/test-double.c (TEST_MATHVEC): Add define.
24664         * math/test-float.c: Likewise.
24665         * math/test-idouble.c: Likewise.
24666         * math/test-ifloat.c: Likewise.
24667         * math/test-ildoubl.c: Likewise.
24668         * math/test-ldouble.c: Likewise.
24669         * sysdeps/generic/math-tests-arch.h
24670         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
24671         architecture check.
24673         * math/test-double.c (FUNC_TEST): New macro.
24674         * math/test-float.c: Likewise.
24675         * math/test-idouble.c: Likewise.
24676         * math/test-ifloat.c: Likewise.
24677         * math/test-ildoubl.c: Likewise.
24678         * math/test-ldouble.c: Likewise.
24679         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
24681 2015-05-13  Roland McGrath  <roland@hack.frob.com>
24683         * sysdeps/nacl/fdopendir.c: New file.
24685         * dirent/scandir-tail.c: New file.
24686         * dirent/scandir64-tail.c: New file.
24687         * dirent/Makefile (routines): Add them.
24688         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
24689         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
24690         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
24691         [!SCANDIR] (SCANDIR_TAIL): New macro.
24692         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
24693         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
24694         (SCANDIRAT): Macro removed.
24695         (SCANDIR_TAIL): New macro.
24696         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
24697         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
24698         (SCANDIRAT): Just call __opendirat and __scandir_tail.
24699         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
24700         (READDIR): Macro removed.
24701         (SCANDIR_TAIL): New macro.
24702         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
24703         (SCANDIR_TAIL): New macro.
24705         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
24706         * dirent/scandir-cancel.c: ... to this new file.
24707         * dirent/Makefile (routines): Add it.
24708         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
24709         * sysdeps/unix/sysv/linux/i386/scandir64.c
24710         (SKIP_SCANDIR_CANCEL): Macro removed.
24711         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
24713         * dirent/tst-scandir.c: New file.
24714         * dirent/tst-scandir64.c: New file.
24715         * dirent/Makefile (tests): Add them.
24717 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
24719         [BZ #18409]
24720         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
24722 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24724         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
24725         list.
24727 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
24729         * benchtests/bench-strcoll.c: New benchmark.
24730         * benchtests/Makefile: Generate locales and run benchmark.
24731         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
24732         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
24733         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
24734         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
24735         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
24736         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
24737         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
24738         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
24739         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
24740         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
24741         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
24742         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
24743         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
24744         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
24745         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
24746         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
24747         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
24748         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
24749         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
24750         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
24751         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
24752         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
24753         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
24754         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
24756 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
24758         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
24759         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24761 2015-05-12  Roland McGrath  <roland@hack.frob.com>
24763         * posix/uname-values.h: New file.
24764         * posix/uname.c: Include that instead of <config-name.h>.
24765         * sysdeps/nacl/uname-values.h: New file.
24766         * sysdeps/arm/nacl/uname-values.h: New file.
24768 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
24770         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24771         splitting into fields.
24773 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
24775         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24776         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24777         * locale/localeinfo.h: Add enum collation_encoding_type.
24778         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24779         * programs/ld-collate.c (collate_output): Add encoding type info.
24780         * string/strcoll_l.c (STRDIFF): New function.
24781         * (STRCOLL): Use STRDIFF to skip over equal prefix.
24782         * wcsmbs/wcscoll_l.c: Define STRDIFF.
24784 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
24786         [BZ #18397]
24787         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24788         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
24789         <fpu_control.h> instead of <math/fpu_control.c>.
24790         * sysdeps/mips/mips32/fpu/Makefile: New file.
24792 2015-05-11  Andreas Schwab  <schwab@suse.de>
24794         [BZ #18007]
24795         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24796         nss_endgrent.
24797         (_nss_compat_endgrent): Call nss_endgrent.
24798         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24799         nss_endpwent.
24800         (_nss_compat_endpwent): Call nss_endpwent.
24801         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24802         needent, call nss_setspent only if non-zero.
24803         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24804         (internal_endspent): Don't call nss_endspent.
24805         (_nss_compat_endspent): Call nss_endspent.
24806         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24807         Remove.  All uses removed.
24808         (internal_setent): Remove parameter stayopen, add parameter
24809         stream.  Use it instead of global variable.
24810         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24811         (internal_endent, internal_getent): Add parameter stream.  Use it
24812         instead of global variable.
24813         (CONCAT(_nss_files_end,ENTNAME))
24814         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24815         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
24816         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
24817         uses removed.
24818         (internal_setent, internal_endent): Add parameter stream.  Use it
24819         instead of global variable.
24820         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24821         stream.
24822         (get_next_alias): Add parameter stream.
24823         (_nss_files_getaliasent_r): Pass global stream.
24824         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
24825         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24826         (_nss_files_gethostbyname4_r): Pass local stream to
24827         internal_setent, internal_getent and internal_endent.  Remove
24828         locking.
24830 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24832         * tst-strfmon1.c (tests): Update expected currency symbol.
24834 2015-05-08  Roland McGrath  <roland@hack.frob.com>
24836         * sysdeps/nacl/gethostname.c: New file.
24838 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
24840         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
24841         and sinh.
24842         * math/auto-libm-test-out: Regenerated.
24843         * sysdeps/i386/fpu/libm-test-ulps: Update.
24844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24846 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
24848         [BZ #18125]
24849         * stdlib/tst-setcontext3.c: New file.
24850         * stdlib/tst-setcontext3.sh: New file.
24851         * stdlib/Makefile (tests): Add tst-setcontext3.
24852         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
24853         to verify test program created output file.
24854         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
24855         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
24856         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
24857         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
24859 2015-05-06  Roland McGrath  <roland@hack.frob.com>
24861         [BZ #18383]
24862         * elf/tst-tlsalign.c: New file.
24863         * elf/tst-tlsalign-static.c: New file.
24864         * elf/tst-tlsalign-lib.c: New file.
24865         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24866         (tests-static): Add tst-tlsalign-static.
24867         (modules-names): Add tst-tlsalign-lib.
24868         (test-xfail-tst-tlsalign): New variable.
24869         (test-xfail-tst-tlsalign-static): New variable.
24871         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24872         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24874 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24876         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24877         csqrt, erfc, sin and sincos.
24878         * math/auto-libm-test-out: Regenerated.
24879         * sysdeps/i386/fpu/libm-test-ulps: Update.
24880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24882 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24884         * sysdeps/aarch64/libm-test-ulps: Update.
24886 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
24888         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24889         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24890         * math/auto-libm-test-out: Regenerated.
24891         * sysdeps/i386/fpu/libm-test-ulps: Update.
24892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24894 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24896         [BZ #18265]
24897         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
24898         (wcsncpy): Likewise.
24900 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24902         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24903         Assume __ASSUME_FALLOCATE is always true.
24904         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24905         (__posix_fallocate64_l64): Likweise.
24906         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
24907         (posix_fallocate): Likewise.
24908         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
24909         (__posix_fallocate64_l64): Likewise.
24910         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24911         [!__ASSUME_FALLOCATE]: Add comment.
24913 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24915         * sysdeps/unix/sysv/linux/i386/Makefile
24916         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
24917         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
24918         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
24919         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24920         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24921         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
24922         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
24924 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
24926         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
24927         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
24928         tgamma.
24929         * math/auto-libm-test-out: Regenerated.
24930         * sysdeps/i386/fpu/libm-test-ulps: Update.
24931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24933 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24935         * math/auto-libm-test-in: Add more tests of tgamma.
24936         * math/auto-libm-test-out: Regenerated.
24937         * sysdeps/i386/fpu/libm-test-ulps: Update.
24938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24940         * math/auto-libm-test-in: Add more tests of tanh.
24941         * math/auto-libm-test-out: Regenerated.
24942         * sysdeps/i386/fpu/libm-test-ulps: Update.
24943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24945         * math/auto-libm-test-in: Add more tests of tan.
24946         * math/auto-libm-test-out: Regenerated.
24947         * sysdeps/i386/fpu/libm-test-ulps: Update.
24948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24950         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
24951         * math/auto-libm-test-out: Regenerated.
24952         * sysdeps/i386/fpu/libm-test-ulps: Update.
24953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24955         * math/auto-libm-test-in: Add another test of pow.
24956         * math/auto-libm-test-out: Regenerated.
24957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24959         * math/auto-libm-test-in: Add more tests of lgamma.
24960         * math/auto-libm-test-out: Regenerated.
24961         * sysdeps/i386/fpu/libm-test-ulps: Update.
24962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24964         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
24965         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
24972         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
24973         Elf64_Chdr structs and ELFCOMPRESS constants.
24975 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24977         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
24978         expm1.
24979         * math/auto-libm-test-out: Regenerated.
24980         * sysdeps/i386/fpu/libm-test-ulps: Update.
24981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24983         * math/auto-libm-test-in: Add more tests of erf and erfc.
24984         * math/auto-libm-test-out: Regenerated.
24985         * sysdeps/i386/fpu/libm-test-ulps: Update.
24986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24988 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24990         * config.h.in (HAVE_AARCH64_BE): Add.
24992 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
24994         * math/auto-libm-test-in: Add more tests of csqrt.
24995         * math/auto-libm-test-out: Regenerated.
24996         * sysdeps/i386/fpu/libm-test-ulps: Update.
24997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24999         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25000         * math/auto-libm-test-out: Regenerated.
25001         * sysdeps/i386/fpu/libm-test-ulps: Update.
25002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25004         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
25006 2015-04-29  Roland McGrath  <roland@hack.frob.com>
25008         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
25009         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
25011         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
25012         (euidaccess, eaccess): Define as weak aliases.
25014         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
25015         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
25016         but __suseconds_t is often 'long int' so some sources assume that
25017         type is being used (e.g. they use %ld to print tv_usec).
25019 2015-04-29  Florian Weimer  <fweimer@redhat.com>
25021         [BZ #18007]
25022         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
25023         (CVE-2014-8121)
25024         * nss/tst-nss-getpwent.c: New file.
25025         * nss/Makefile (tests): Add new test.
25027 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
25029         [BZ #18346]
25030         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
25031         exponents less than 48 as cases where high part of mantissa needs
25032         examining to determine whether argument is integral.
25033         * math/libm-test.inc (round_test_data): Add more tests.
25035 2015-04-28  Mark Wielaard  <mjw@redhat.com>
25037         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
25039 2015-04-27  David S. Miller  <davem@davemloft.net>
25041         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
25042         __tls_get_addr.
25043         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25045 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
25047         [BZ#18333]
25048         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
25050 2015-04-27  Florian Weimer  <fweimer@redhat.com>
25052         [BZ#18333]
25053         * time/tzset.c (parse_tzname): Return error on memory allocation
25054         failure.
25055         * test-skeleton.c (struct temp_name_list): Change type of name
25056         member to non-const.
25057         (add_temp_file): Create a copy of the file name.
25058         (delete_temp_files): Deallocate memory.
25059         (create_temp_file): Add comment.
25061 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25063         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
25064         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
25066 2015-04-24  Roland McGrath  <roland@hack.frob.com>
25068         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
25069         * sysdeps/arm/configure: Regenerated.
25071 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25073         [BZ #17715]
25074         * time/tzfile.c (__tzfile_read): Check for large values of
25075         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
25076         * time/tzset.c (__tzstring_len): New function, based on the old
25077         __tzstring function.
25078         (__tzstring): Call __tzstring_len.
25079         (parse_tzname): New helper function extracted from
25080         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
25081         the input string.
25082         (parse_offset): New helper function extracted from
25083         __tzset_parse_tz.  Replace switch with fallthrough with
25084         initialization before sscanf.
25085         (parse_rule): Likewise.
25086         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
25087         new-style function definition.
25088         * timezone/Makefile (tests): Add tst-tzset.
25089         (tst-tzset.out): Dependencies on time zone files.
25090         (tst-tzset-ENV): Set TZDIR.
25091         (testdata/XT%): Copy crafted time zone files.
25092         * timezone/README: Mention crafted time zone files.
25093         * timezone/testdata/XT1, timezone/testdata/XT2,
25094         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
25095         files.
25096         * timezone/tst-tzset.c: New test.
25098 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25100         * Makeconfig (+gccwarn): Remove -Winline.
25102 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25104         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
25106 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25108         * NEWS: Mention sysconf() cache information support for s390.
25109         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
25111 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
25113         * math/k_casinh.c (__kernel_casinh): Use __copysign.
25114         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
25115         (__nearbyint): Likewise.
25116         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
25117         (copysignl): Likewise.
25119 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
25121         [BZ #18287]
25122         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
25123         based on padding.  (CVE-2015-1781)
25125 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25127         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
25128         libc-vdso.h.
25129         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
25130         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
25131         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
25132         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25133         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25134         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
25135         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
25136         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25137         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25138         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
25139         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25140         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25141         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25142         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
25143         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25144         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
25145         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
25146         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
25147         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
25148         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
25149         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
25150         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
25151         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
25153 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
25155         * stdlib/setenv.c (__add_to_environ):
25156         Dump core quickly if setenv (..., NULL, ...) is called.
25157         This time, do it the right way, and pacify GCC with a pragma.
25159 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25161         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
25162         IMAP->l_prev cannot be null, and #if out the code for the contrary
25163         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
25164         believe that NS (&_dl_ns[NSID]) could point outside the array.
25166         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
25167         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
25168         before using NSID as an index.
25170 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
25172         [BZ #17825]
25173         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
25174         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
25175         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25177 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25179         Add preliminary port to Google Native Client on ARM.
25180         * abi-tags (.*-.*-nacl.*): New entry.
25181         * sysdeps/arm/nacl: New directory.
25182         * sysdeps/nacl: New directory.
25184 2015-04-16  David S. Miller  <davem@davemloft.net>
25186         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
25187         lowlevellock-futex.h
25189 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
25191         * sysdeps/tile/configure.ac: New file.
25192         * sysdeps/tile/configure: Regenerated.
25194 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25196         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
25197         conditionals for weak_alias and libc_hidden_weak.
25198         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
25199         libc_hidden_weak and weak_alias.
25200         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
25201         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
25202         and weak_alias for static one.
25204 2015-04-15  David S. Miller  <davem@davemloft.net>
25206         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25208 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25210         [BZ #18206]
25211         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
25212           Use signed comparision instead of substraction to avoid
25213           overflow bug.
25214         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
25215           Take the sign of ret.
25216         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
25217           Do not expect precise return values. Only the sign matters.
25218         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
25219         * wcsmbs/test-wcsncmp.c: New File.
25220         * string/test-strncmp.c: Add wcsncmp support.
25222 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25224         [BZ #6792]
25225         * math/w_log1p.c: New file.
25226         * math/w_log1pf.c: Likewise.
25227         * math/w_log1pl.c: Likewise.
25228         * math/Makefile (libm-calls): Add w_log1p.
25229         * math/s_log1pl.c (log1pl): Remove weak_alias.
25230         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
25231         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
25232         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
25233         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
25234         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
25235         [NO_LONG_DOUBLE] (log1pl): Likewise.
25236         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
25237         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
25238         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
25239         (log1p): Remove long_double_symbol.
25240         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
25241         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
25242         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
25243         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
25244         remove weak_alias for corresponding log1p function.
25245         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
25246         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
25247         * sysdeps/ia64/fpu/w_log1p.c: New file.
25248         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
25249         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
25250         * math/libm-test.inc (log1p_test_data): Add errno expectations.
25252 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
25254         [BZ #18247]
25255         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
25256         decimal exponent by 1.
25257         * stdlib/tst-strtod-round-data: Add more tests.
25258         * stdlib/tst-strtod-round.c (tests): Regenerated.
25260 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
25262         * math/auto-libm-test-in: Add more tests of clog and clog10.
25263         * math/auto-libm-test-out: Regenerated.
25264         * sysdeps/i386/fpu/libm-test-ulps: Update.
25265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25267 2015-04-09  Roland McGrath  <roland@hack.frob.com>
25269         * Makeconfig (module-cppflags): Exclude all .v.i files.
25270         (skip-module-cppflags): Variable removed.
25272         * configure.ac (libc_config_ok): Initialize before reading
25273         preconfigure scripts, not after.
25274         * configure: Regenerated.
25276         * test-skeleton.c (TIMEOUT): Move #define to top level.
25277         (main): Grok environment variable TEST_DIRECT.  If set, print
25278         test expectation details into that file and then behave as if
25279         given --direct.
25281 2015-04-09  Florian Weimer  <fweimer@redhat.com>
25283         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
25284         warning on 32-bit.
25286 2015-04-08  David S. Miller  <davem@davemloft.net>
25288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25290 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25292         * math/auto-libm-test-in: Add more tests of atanh.
25293         * math/auto-libm-test-out: Regenerated.
25294         * sysdeps/i386/fpu/libm-test-ulps: Update.
25295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25297         * math/auto-libm-test-in: Add more tests of atan.
25298         * math/auto-libm-test-out: Regenerated.
25299         * sysdeps/i386/fpu/libm-test-ulps: Update.
25300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25302 2015-04-08  Florian Weimer  <fweimer@redhat.com>
25304         * elf/pldd.c (main): Rewrite to use struct
25305         scratch_buffer instead of extend_alloca.
25306         * elf/pldd-xx.c (find_maps): Likewise.
25307         * grp/initgroups.c: Include <scratch_buffer.h> instead of
25308         <alloca.h>.
25309         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
25310         scratch_buffer instead of extend_alloca.
25311         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
25312         grp/compat-initgroups.c.
25313         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
25314         Rewrite to use struct scratch_buffer instead of extend_alloca.
25315         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
25316         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25318 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25320         * math/auto-libm-test-in: Add more tests of cbrt.
25321         * math/auto-libm-test-out: Regenerated.
25322         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25324         * math/auto-libm-test-in: Add more tests of cabs.
25325         * math/auto-libm-test-out: Regenerated.
25326         * sysdeps/i386/fpu/libm-test-ulps: Update.
25327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25329         [BZ #18210]
25330         [BZ #18211]
25331         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
25332         (__ieee754_atan2): Set FE_TONEAREST mode for internal
25333         computations.
25334         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
25335         clog10.
25336         * math/auto-libm-test-out: Regenerated.
25337         * sysdeps/i386/fpu/libm-test-ulps: Update.
25338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25340         [BZ #18197]
25341         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
25342         (atan): Set FE_TONEAREST mode for internal computations.
25343         * math/auto-libm-test-in: Add more tests of atan.
25344         * math/auto-libm-test-out: Regenerated.
25346 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
25348         [BZ #17930]
25349         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
25351 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25353         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
25355 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25357         * include/scratch_buffer.h: New file.
25358         * malloc/scratch_buffer_grow.c: Likewise.
25359         * malloc/scratch_buffer_grow_preserve.c: Likewise.
25360         * malloc/scratch_buffer_set_array_size.c: Likewise.
25361         * malloc/tst-scratch_buffer.c: Likewise.
25362         * malloc/Makefile (routines): Add scratch_buffer_grow.
25363         (tests): Add test case.
25364         * malloc/Versions (GLIBC_PRIVATE): Export
25365         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
25366         __libc_scratch_buffer_set_array_size.
25368 2015-04-06  Richard Henderson  <rth@redhat.com>
25370         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
25371         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25373         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
25374         unsigned int before printing.
25376 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25378         [BZ #17596]
25379         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
25380         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25382 2015-04-02  Florian Weimer  <fweimer@redhat.com>
25384         * include/libc-internal.h (libc_max_align_t): Define.
25386 2015-04-02  Andreas Schwab  <schwab@suse.de>
25388         [BZ #16850]
25389         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
25391 2015-04-02  Mel Gorman  <mgorman@suse.de>
25393         [BZ #17195]
25394         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25395         as well as the main arena.
25397 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25399         [BZ #18185]
25400         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25401         sharing L2 cache to 2 for Silvermont/Knights Landing.
25403 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25405         [BZ #17711]
25406         * config.make.in (have-protected-data): New.
25407         * configure.ac: Check linker support for protected data symbol.
25408         * configure: Regenerated.
25409         * elf/Makefile (modules-names): Add tst-protected1moda and
25410         tst-protected1modb if $(have-protected-data) is yes.
25411         (tests): Add tst-protected1a and tst-protected1b if
25412         $(have-protected-data) is yes.
25413         ($(objpfx)tst-protected1a): New.
25414         ($(objpfx)tst-protected1b): Likewise.
25415         (tst-protected1modb.so-no-z-defs): Likewise.
25416         * elf/tst-protected1a.c: New file.
25417         * elf/tst-protected1b.c: Likewise.
25418         * elf/tst-protected1mod.h: Likewise.
25419         * elf/tst-protected1moda.c: Likewise.
25420         * elf/tst-protected1modb.c: Likewise.
25422 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25424         [BZ #17711]
25425         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
25426         indicates it is called from do_lookup_x on relocation against
25427         protected data, skip the data definion in the executable from
25428         copy reloc.
25429         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
25430         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
25431         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
25432         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
25433         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
25434         otherwise to 0.
25435         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25436         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
25437         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
25438         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25439         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
25440         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
25442 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
25444         * sysdeps/nptl/pthread.h: Remove duplicate definition of
25445         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
25447 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
25449         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
25450         THREAD_SETMEM_NC.
25451         * sysdeps/x86_64/nptl/tls.h: Ditto.
25453 2015-03-27  Roland McGrath  <roland@hack.frob.com>
25455         * dlfcn/tststatic.c (main): Converted to ...
25456         (do_test): ... this.
25457         (TEST_FUNCTION): New macro.
25458         Include test-skeleton.c.
25460 2015-03-26  Alan Modra  <amodra@gmail.com>
25462         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
25463         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
25464         zero for undefined weak.
25465         (elf_machine_plt_conflict): Similarly.
25467 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25469         * math/auto-libm-test-in: Add more tests of acosh, asinh and
25470         atanh.
25471         * math/auto-libm-test-out: Regenerated.
25472         * sysdeps/i386/fpu/libm-test-ulps: Update.
25473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25475         * math/auto-libm-test-in: Add another test of asin.
25476         * math/auto-libm-test-out: Regenerated.
25477         * sysdeps/i386/fpu/libm-test-ulps: Update.
25478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25480         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
25481         Remove macro.
25482         (LLL_EBX_REG): Likewise.
25483         (LLL_ENTER_KERNEL): Likewise.
25485         * math/auto-libm-test-in: Add more tests of asin.
25486         * math/auto-libm-test-out: Regenerated.
25487         * sysdeps/i386/fpu/libm-test-ulps: Update.
25488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25490         [BZ #18138]
25491         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
25492         libc_do_syscall_args): New structure.
25493         (INTERNAL_SYSCALL_MAIN_0): New macro.
25494         (INTERNAL_SYSCALL_MAIN_1): Likewise.
25495         (INTERNAL_SYSCALL_MAIN_2): Likewise.
25496         (INTERNAL_SYSCALL_MAIN_3): Likewise.
25497         (INTERNAL_SYSCALL_MAIN_4): Likewise.
25498         (INTERNAL_SYSCALL_MAIN_5): Likewise.
25499         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
25500         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
25501         Replace conditional definitions by conditional definitions of ....
25502         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
25503         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
25504         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
25505         (libpthread-sysdep_routines): Add libc-do-syscall.
25506         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
25507         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
25508         to __NR_futex not 240.
25510 2015-03-25  Alan Modra  <amodra@gmail.com>
25512         * NEWS: Advertise TLS optimization.
25513         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
25514         (DT_PPC_NUM): Increment.
25515         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
25516         (CHECK_STATIC_TLS): Use here.
25517         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
25518         TLS descriptors.
25519         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25520         * sysdeps/powerpc/dl-tls.c: New file.
25521         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
25522         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
25523         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
25524         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
25525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
25526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
25527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
25529 2015-03-25  Alan Modra  <amodra@gmail.com>
25531         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
25532         for overlapping .opd entries" to "support...".
25533         * sysdeps/powerpc/powerpc64/configure: Regenerate
25535 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25537         * math/auto-libm-test-in: Add more tests of acos.
25538         * math/auto-libm-test-out: Regenerated.
25539         * sysdeps/i386/fpu/libm-test-ulps: Update.
25540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25542         * math/auto-libm-test-in: Add more tests of expm1.
25543         * math/auto-libm-test-out: Regenerated.
25544         * sysdeps/i386/fpu/libm-test-ulps: Update.
25545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25547 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
25549         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25550         * math/auto-libm-test-out: Regenerated.
25551         * sysdeps/i386/fpu/libm-test-ulps: Update.
25552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25554         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25557         * math/auto-libm-test-in: Add more tests of log2.
25558         * math/auto-libm-test-out: Regenerated.
25559         * sysdeps/i386/fpu/libm-test-ulps: Update.
25560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25562 2015-03-23  Roland McGrath  <roland@hack.frob.com>
25564         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
25565         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
25566         _IO_IS_APPENDING bit in READ_WRITE instead.
25568 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25570         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25571         (__determine_cpumask_size): Replace extend_alloca with a
25572         variable-length array.  Do not treat res == 0 as an error.
25574 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25576         [BZ #18100]
25577         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
25578         and integer overflow.
25579         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
25580         (main): Add integer overflow tests.
25581         * manual/pattern.texi (Calling Wordexp): Document additional use
25582         for WRDE_SYNTAX.
25584 2015-03-23  Alan Modra  <amodra@gmail.com>
25586         * config.h.in: Remove HAVE_ASM_PPC_REL16.
25587         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
25588         and false branch of conditional.
25589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25590         Likewise.
25592 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
25594         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
25595         libc-modules.h
25596         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
25597         unused declaration of _hurd_intr_rpc_msg_in_trap.
25598         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
25599         defined instead of whether it is non-zero.
25600         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
25601         input constraint instead of both input and output constraint.  Use ecx
25602         clobber instead of %ecx.
25603         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
25604         mutex_unlock): Use a statement expression instead of an expression list.
25605         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
25606         type to vm_size_t instead of vm_address_t.
25607         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25608         defined instead of whether it is non-zero.
25609         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
25610         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
25611         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
25612         comparisons with mapaddr.
25613         * nscd/nscd-client.h: Include <time.h>.
25614         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
25615         9th parameter to __vm_region instead of int.
25616         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
25617         * scripts/check-local-headers.sh (exclude): Add device/,
25618         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
25619         cthreads.h.
25621 2015-03-19  Roland McGrath  <roland@hack.frob.com>
25623         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
25624         to account for alignment padding.
25625         * sysdeps/arm/memmove.S: Likewise.
25627 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
25629         * sysdeps/unix/sysv/linux/generic/README: New file.
25631 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
25633         [BZ #18138]
25634         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
25635         (futex_abstimed_wait)
25636         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
25637         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
25638         of lll_futex_timed_wait.
25640 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
25642         [BZ #17542]
25643         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
25645 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
25647         [BZ #17090]
25648         [BZ #17620]
25649         [BZ #17621]
25650         [BZ #17628]
25651         * NEWS: Update.
25652         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
25653         entries with Static TLS too.  Skip entries past the end of the
25654         allocated DTV, from Alan Modra.
25655         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
25656         Static TLS DTV entry set up from...
25657         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
25658         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
25659         * nptl/allocatestack.c (init_one_static_tls): ... and here...
25660         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
25661         for Static TLS.
25662         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
25663         that the slot we find is associated with the given map before
25664         using its generation count.
25665         * nptl_db/db_info.c: Include ldsodefs.h.
25666         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
25667         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
25668         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
25669         (link_map::l_tls_offset): New struct field.
25670         (dtv_t::counter): Likewise.
25671         (rtld_global): New struct.
25672         (_rtld_global): New rtld variable.
25673         (dl_tls_dtv_slotinfo_list): New rtld global field.
25674         (dtv_slotinfo_list): New struct.
25675         (dtv_slotinfo): Likewise.
25676         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
25677         (td_lookup): Rename to...
25678         (td_mod_lookup): ... this.  Use new mod parameter instead of
25679         LIBPTHREAD_SO.
25680         * nptl_db/td_thr_tlsbase.c: Include link.h.
25681         (dtv_slotinfo_list, dtv_slotinfo): New functions.
25682         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
25683         addresses even if the DTV is out of date or missing them.
25684         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
25685         index zero-length arrays.
25686         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
25687         (td_lookup): Make it a macro implemented in terms of...
25688         (td_mod_lookup): ... this declaration.
25689         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
25690         (DB_MAIN_VARIABLE): Likewise.
25692 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25694         [BZ #18134]
25695         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25697 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
25699         * stdlib/setenv.c (__add_to_environ): Revert previous change.
25701 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
25703         [BZ #18128]
25704         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
25705         (atomic_add, atomic_increment_and_test)
25706         (atomic_decrement_and_test): Fix 64-bit arithmetic.
25708 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
25710         * stdlib/setenv.c (__add_to_environ):
25711         Dump core quickly if setenv (..., NULL, ...) is called.
25713 2015-03-13  Roland McGrath  <roland@hack.frob.com>
25715         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
25716         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
25717         all the necessary asm magic in one place.
25718         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
25719         using those.
25721 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
25723         [BZ #14906]
25724         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
25725         traced file mtime. Use consistent log message.
25726         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
25727         (register_traced_file): Call install_watches. Always set mtime.
25728         (invalidate_cache): Iterate over all trace files. Call install_watches.
25729         (inotify_check_files): Don't inline. Handle watching parent
25730         directories and configuration file movement in and out.
25731         (handle_inotify_events): New function.
25732         (main_loop_poll): Call handle_inotify_events.
25733         (main_loop_epoll): Likewise.
25734         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
25735         (struct traced_file): Use array of inotify fds. Add parent directory,
25736         and basename.
25737         (struct database_dyn): Remove unused file_mtime.
25738         (init_traced_file): New inline function.
25739         (define_traced_file): New macro.
25740         * nss/nss_db/db-init.c: Use define_traced_file.
25741         (_nss_db_init): Use init_traced_file.
25742         * nss/nss_files/files-init.c: Use define_traced_file.
25743         (_nss_files_init): Use init_traced_file.
25745 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
25747         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
25748         [_LIBC]: Do not include <stdlib.h>.
25749         [!_LIBC] (abort): Remove declaration.
25750         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
25751         _FP_STATIC_ASSERT instead of conditionally calling abort.
25752         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
25753         (_FP_EXTEND_CNAN): Likewise.
25754         (FP_TRUNC): Likewise.
25755         (__FP_CLZ): Likewise.
25756         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
25758 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
25760         * manual/string.texi (XPG basename): Fix prototype.
25762 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25764         [BZ #18080]
25765         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25766         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25767         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25768         (__setcontext): Likewise.
25769         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25770         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25771         Call rt_sigprocmask syscall one time to set new signal mask
25772         and retrieve the current signal mask instead of two calls.
25773         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25774         (__swapcontext): Likewise.
25775         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25776         * stdlib/tst-setcontext2.c: New file.
25778 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25780         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25782 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
25784         [BZ #18093]
25785         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25786         the wrong size.
25788 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25790         [BZ #18043]
25791         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25793 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25795         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25796         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25797         Remove define.
25798         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25799         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25800         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25801         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25802         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25803         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25804         define.
25805         * nptl_db/td_symbol_list.c (td_lookup): Remove
25806         HAVE_ASM_GLOBAL_DOT_NAME code.
25807         * sysdeps/powerpc/powerpc64/configure.ac: Remove
25808         HAVE_ASM_GLOBAL_DOT_NAME check.
25809         * sysdeps/powerpc/powerpc64/configure: Regenerate.
25810         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25811         (DOT_LABEL): Remove define.
25812         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25813         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25814         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25815         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25816         (__TLS_GET_ADDR): Likewise.
25817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25818         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25820 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
25822         [BZ #18111]
25823         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25824         (_FPU_SETCW): Initialize cw from fpsr before storing.
25825         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25826         (fesetexceptflag): Rewrite using fpu_control.h.
25827         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25829 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
25831         [BZ #18110]
25832         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25833         asms.
25834         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25836 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
25838         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
25839         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
25840         abort.
25841         (_FP_FMA): Likewise.
25842         (_FP_DIV): Likewise.
25844 2015-03-10  Roland McGrath  <roland@hack.frob.com>
25846         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
25847         with 0 in that case.
25848         * Makefile (summarize-tests): New canned sequence, factored out of
25849         commands for targets tests and xtests.  Display summary lines that
25850         don't start with PASS: or XFAIL: rather than ones that do start with
25851         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
25852         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
25853         do start with ERROR: or FAIL:.
25854         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
25855         (except for [$(build-shared) = yes]).
25856         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
25857         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
25858         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
25859         * nptl/Makefile: Revert 2015-03-04 changes.
25860         [$(CXX) empty] (tests-unsupported): New variable.
25861         * debug/Makefile: Likewise.
25863         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
25864         gnulib file.  Replace __attribute with __attribute__ throughout.
25866 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
25868         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25870 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25872         [BZ #18104]
25873         * math/auto-libm-test-in: Add another test of pow.
25874         * math/auto-libm-test-out: Regenerated.
25876 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25878         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25879         $(config-cflags-nofma).
25881 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25883         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25884         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25885         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25886         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25887         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25888         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25889         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25890         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25891         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25892         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25893         Add comment on closing #endif.
25895 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25897         * posix/wordexp.c (CHAR_IN_SET): New macro.
25898         (parse_param): Use it.
25900 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25902         * sysdeps/powerpc/fpu/libm-test-ulps: update.
25904 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25906         [BZ #18043]
25907         * posix/wordexp.c (parse_param): Fix buffer overflow.
25908         * posix/wordexp-test.c (test_case): Add test case.
25910 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25912         [BZ #18042]
25913         * posix/wordexp.c (parse_backtick): Fix off-by-one.
25914         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
25916 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25918         [BZ #18043]
25919         * posix/wordexp-test.c (test_case): Add test for BZ #18043
25920         (do_bz18043): Delete.
25921         (at_page_end): New.
25922         (testit): Refactor to have words at the edge of unreadable page.
25924 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25926         [BZ #16734]
25927         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
25928         Cleanup read-only streams as well.
25929         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
25931 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25933         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
25934         <bits/libc-lockP.h>
25936 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
25938         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
25939         on [__KERNEL__].
25940         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
25941         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
25942         * soft-fp/op-common.h (_FP_DECL): Likewise.
25944 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
25946         * elf/ifuncdep2.c (global): Replace
25947         __attribute__((visibility("protected"))) with
25948         asm (".protected global").
25949         * elf/ifuncmod1.c (global): Likewise.
25950         * elf/ifuncmod5.c (global): Likewise.
25952 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
25954         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
25955         <asm/sfp-machine.h> instead of <sfp-machine.h>.
25957 2015-03-06  Roland McGrath  <roland@hack.frob.com>
25959         * manual/install.texi (Configuring and compiling):
25960         Document test-wrapper-env-only.
25961         * INSTALL: Regenerated.
25963 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25965         [BZ #18043]
25966         * posix/wordexp.c (parse_param): Fix buffer overflow.
25967         * posix/wordexp-test.c (do_bz18043): Add test case.
25969 2015-03-06  Vincent Bernat  <vincent@bernat.im>
25971         * time/tst-strptime2.c (do_test): Ensure failing tests are
25972         reported correctly.
25973         * time/tst-strptime3.c (do_test): Likewise.
25975 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
25977         Fix aio_error thread-safety.
25978         * sysdeps/pthread/aio_error.c: New file
25979         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
25980         synchronization.
25982 2015-03-06  Florian Weimer  <fweimer@redhat.com>
25984         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
25985         (group_number, vfprintf): Use it.
25986         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
25987         (JUMP, REF): Use it.
25988         (WORK_BUFFER_SIZE): New enum constant.
25989         (process_arg, vfprintf): Use it.
25991 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
25993         * manual/errno.texi (Error Messages): Complete example function
25994         by adding missing #define.
25995         (program_invocation_name): Add statement indicating GNU
25996         extension and reference which header file declares the variable.
25997         (program_invocation_short_name): Likewise.
25999 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
26001         * manual/errno.texi (Error Messages): Delete strerror ISO C89
26002         compatibility note.
26004 2015-03-05  Roland McGrath  <roland@hack.frob.com>
26006         * Makeconfig (test-wrapper-env-only): New variable.
26007         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
26008         then use that with $(test-wrapper-env-only) rather than using
26009         $(test-wrapper-env) $(run-program-env) $($*-ENV).
26011 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26013         [BZ #18082]
26014         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
26015         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
26016         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
26017         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
26018         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
26019         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
26020         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
26021         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
26022         Likewise.
26023         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
26024         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
26025         Likewise.
26026         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
26027         Likewise.
26028         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
26029         Likewise.
26030         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
26031         Likewise.
26032         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
26033         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
26034         Likewise.
26035         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
26036         Likewise.
26037         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
26038         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
26040 2015-03-04  Roland McGrath  <roland@hack.frob.com>
26042         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
26043         (ETH_ALEN): New macro.
26044         (struct ether_addr): Use it for length of ether_addr_octet.
26046         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
26047         (setdb): Don't call __nss_configure_lookup for "rpc".
26048         (do_test): Don't call test_rpc.
26049         (output_rpcent, test_rpc): Functions moved ...
26050         * sunrpc/test-rpcent.c: ... to this new file.
26051         * sunrpc/Makefile (tests): Add it.
26053         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
26054         __xpg_sigpause.
26055         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
26056         * nptl/tst-signal6.c: Likewise.
26057         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
26058         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
26060         * configure.ac (libc_cv_cxx_link_ok): New check.
26061         Reset CXX to empty if it fails to link.
26062         * configure: Regenerated.
26063         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
26064         bug-atexit3-lib only if $(CXX) is nonempty.
26065         * nptl/Makefile (tests): Likewise for tst-cancel24.
26066         (tests, tests-static): Likewise for tst-cancel24-static.
26067         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
26068         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
26069         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
26070         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
26072 2015-03-04  Andreas Schwab  <schwab@suse.de>
26074         [BZ #17631]
26075         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
26076         for non-GCC compilers.
26077         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26078         Likewise.
26080 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26082         [BZ #17776]
26083         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
26084         integer before bitwise and assembly operations.
26085         (feclearexcept): Likewise.
26086         * math/test-fenvinline.c: New file.
26087         * math/Makefile: Add test-fenvinline test.
26089 2015-03-03  Alan Modra  <amodra@gmail.com>
26091         [BZ #16512]
26092         * scripts/localplt.awk: Strip off symbol version.
26093         * NEWS: Mention bug fix.
26095 2015-03-02  Roland McGrath  <roland@hack.frob.com>
26097         * sysdeps/pthread/timer_routines.c
26098         (timer_free_list, thread_free_list, thread_active_list): Make static.
26100 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
26102         [BZ #17779]
26103         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26104         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26105         Undefine.
26106         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26107         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26108         Likewise.
26109         * sysdeps/unix/sysv/linux/sh/kernel-features.h
26110         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26111         Likewise.
26113 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26115         [BZ #18036]
26116         * posix/fnmatch_loop.c (END): Detect invalid pattern.
26117         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
26119 2015-03-02  Andreas Schwab  <schwab@suse.de>
26121         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
26122         variable name.
26124 2015-03-02  Florian Weimer  <fweimer@redhat.com>
26126         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
26127         Return error status.
26129 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
26131         [BZ #15969]
26132         * locale/findlocale.c (_nl_find_locale): Introduce const
26133         version of loc_name and drop unsafe type casts.
26135 2015-02-27  Roland McGrath  <roland@hack.frob.com>
26137         * dlfcn/tststatic2.c (main): Converted to ...
26138         (do_test): ... this.
26139         (TEST_FUNCTION): New macro.
26140         Include test-skeleton.c.
26142 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
26144         [BZ #17711]
26145         * elf/Makefile (tests): Add vismain only if PIE is enabled.
26146         (tests-pie): Add vismain.
26147         (CFLAGS-vismain.c): New.
26148         * elf/vismain.c: Add comments for PIE requirement.
26150 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26152         [BZ #18046]
26153         [BZ #18047]
26154         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
26155         0x1p-56L as threshold for just returning the argument.
26156         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
26157         0x1p-32L as threshold for just returning the argument.
26158         * math/auto-libm-test-in: Add more tests of atanh.
26159         * math/auto-libm-test-out: Regenerated.
26160         * sysdeps/i386/fpu/libm-test-ulps: Update.
26161         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
26163 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26165         * string/bcopy.c (bcopy): Call memmove for performance.
26167 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26169         * string/bzero.c (__bzero): Call memset for performance.
26171 2015-02-27  John David Anglin  <dave.anglin@bell.net>
26173         [BZ #18068]
26174         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
26175         to 00100000.
26177 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26179         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
26181 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26183         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
26184         (__kernel_standard): Use CSTR macro when setting exc.name.
26185         * sysdeps/ieee754/Makefile [$(subdir) = math]
26186         (CFLAGS-k_standard.c): Remove variable.
26188         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
26189         setting p and q from "else if" to "else".
26190         (qzero): Likewise.
26191         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
26192         (qone): Likewise.
26193         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
26194         (qzerof): Likewise.
26195         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
26196         (qonef): Likewise.
26197         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
26198         (qzero): Likewise.
26199         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
26200         (qone): Likewise.
26202         [BZ #18038]
26203         [BZ #18039]
26204         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
26205         return pi/2 for arguments below 0x1p-113L.
26206         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
26207         return pi/2 for arguments below 0x1p-106L.
26208         * math/auto-libm-test-in: Add more tests of acos.
26209         * math/auto-libm-test-out: Regenerated.
26211         [BZ #16351]
26212         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
26213         (MO): New macro.
26214         (__ieee754_asin): Force underflow exception for results with small
26215         absolute value.
26216         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
26217         (MO): New macro.
26218         (__ieee754_asinf): Force underflow exception for results with
26219         small absolute value.
26220         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
26221         (__ieee754_asin): Force underflow exception for results with small
26222         absolute value.
26223         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
26224         (__ieee754_asinf): Force underflow exception for results with
26225         small absolute value.
26226         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
26227         (__ieee754_asinl): Force underflow exception for results with
26228         small absolute value.
26229         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
26230         (__ieee754_asinl): Force underflow exception for results with
26231         small absolute value.
26232         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
26233         (__ieee754_asinl): Force underflow exception for results with
26234         small absolute value.
26235         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26236         Include <math.h>.
26237         * math/auto-libm-test-in: Do not mark underflow exceptions as
26238         possibly missing for bug 16351.
26239         * math/auto-libm-test-out: Regenerated.
26241         [BZ #18030]
26242         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
26243         of power of 2 down when low part has opposite sign.
26244         * math/libm-test.inc (logb_test_data): Add more tests.
26246 2015-02-26  Andreas Schwab  <schwab@suse.de>
26248         [BZ #18032]
26249         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
26250         over collating symbol inside a bracket expression.  Minor cleanup.
26251         * posix/tst-fnmatch3.c (do_test): Add test case.
26253 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26255         [BZ #18029]
26256         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
26257         Adjust exponent of power of 2 down when low part has opposite
26258         sign.
26259         * math/libm-test.inc (ilogb_test_data): Add more tests.
26261 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
26263         [BZ #15969]
26264         * locale/findlocale.c (_nl_find_locale): Fix constness error in
26265         the previous change.
26267         [BZ #15969]
26268         * locale/findlocale.c (_nl_find_locale): Retry archive search
26269         after alias expansion.
26271 2015-02-25  Roland McGrath  <roland@hack.frob.com>
26273         * iconv/tst-iconv3.c (main): Converted to ...
26274         (do_test): ... this.
26275         (TEST_FUNCTION): New macro.
26276         Include test-skeleton.c.
26278         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
26279         (convert): Make function static.
26280         (test_unalign): Likewise.  Add const to argument pointee types.
26281         (main): Replace with static function do_test.
26282         Print "Succeeded." only if RET is zero.
26283         (TEST_FUNCTION): New macro.
26284         Include test-skeleton.c.
26286         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
26287         returns a null pointer.
26289 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26291         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
26292         to __memcpy_ppc only for static builds.
26294 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
26296         [BZ #18020]
26297         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
26298         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
26299         * math/auto-libm-test-in: Add more tests of asinh.
26300         * math/auto-libm-test-out: Regenerated.
26301         * sysdeps/i386/fpu/libm-test-ulps: Update.
26302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26304 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
26306         [BZ #15850]
26307         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
26308         and ip6_mtuinfo definitions here.
26309         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
26310         in this define too.  Update comment.
26312 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
26314         * elf/sprof.c (load_shobj): Tweak error message to match others.
26316 2015-02-24  Kevin Easton  <kevin@guarana.org>
26318         [BZ #16145] (partial fix)
26319         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
26320         to reduce lock contention.
26322 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
26324         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
26325         (struct timex): Update time comment.
26326         (ADJ_SETOFFSET): Define.
26328 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26330         [BZ #18019]
26331         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26332         2**56 not 2**28 as threshold for log (2x) formula.
26333         * math/auto-libm-test-in: Add more tests of acosh.
26334         * math/auto-libm-test-out: Regenerated.
26335         * sysdeps/i386/fpu/libm-test-ulps: Update.
26336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26338 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26340         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
26341         parenthesis around the buf assignment.
26342         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
26344 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26346         [BZ #16783]
26347         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
26348         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
26349         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
26350         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26351         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26352         * math/libm-test.inc (scalb_test_data): Add more tests.
26354 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26356         [BZ #17916]
26357         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
26358         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
26360 2015-02-24  Eric Rannaud  <e@nanocritical.com>
26362         [BZ #17523]
26363         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
26364         * io/bits/fcntl2.h (open): Use it.
26365         (openat): Likewise.
26366         * io/open.c (__libc_open): Likewise.
26367         * io/open64.c (__libc_open64): Likewise.
26368         * io/open64_2.c (__open64_2): Likewise.
26369         * io/open_2.c (__open_2): Likewise.
26370         * io/openat.c (__openat): Likewise.
26371         * io/openat64.c (__openat64): Likewise.
26372         * io/openat64_2.c (__openat64_2): Likewise.
26373         * io/openat_2.c (__openat_2): Likewise.
26374         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
26375         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26376         * sysdeps/posix/open64.c (__libc_open64): Likewise.
26377         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26378         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26379         (__open_nocancel): Likewise.
26380         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26381         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26382         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
26384 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26386         [BZ #14841]
26387         * resolv/gethnamaddr.c (getanswer): Skip logging if
26388         RES_USE_DNSSEC is set.
26389         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26391 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26393         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26395 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
26397         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26398         201304L, for Unicode 7.
26400 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
26402         [BZ #17836]
26403         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26404         shared library.  Add gmon-start.os otherwise.
26405         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26406         $(objpfx)gmon-start.os if builing shared library.
26407         ($(objpfx)g$(static-start-installed-name)): Likewise.
26409 2015-02-23  Andreas Schwab  <schwab@suse.de>
26411         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26413 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26415         [BZ #17269]
26416         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26417         (enlarge_userbuf): Likewise.
26419 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
26421         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
26422         * math/atest-exp.c (TIMEOUT): Adjust to 200.
26423         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
26424         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
26426 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
26428         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
26429         expression inside statement expression.
26431 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26433         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
26434         <sysdeps/nptl/lowlevellock.h> and remove macros and
26435         functions that are now defined there.
26436         (SYS_futex): Remove.
26437         (lll_compare_and_swap): Remove.
26438         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
26440 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
26442         [BZ #17999]
26443         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
26444         instead of scandirat.
26445         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
26446         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
26447         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
26448         __scandirat.
26449         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
26450         (__scandirat): Declare.  Use libc_hidden_proto.
26451         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
26452         Remove variable.
26453         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26455 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26457         [BZ #15319]
26458         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
26459         (MO): New macro.
26460         (__ieee754_atan2): For results with small absolute value, force
26461         underflow exception and remove excess range and precision from
26462         return value.
26463         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
26464         (MO): New macro.
26465         (__ieee754_atan2f): For results with small absolute value, force
26466         underflow exception and remove excess range and precision from
26467         return value.
26468         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
26469         (MO): New macro.
26470         (__atan): For results with small absolute value, force underflow
26471         exception and remove excess range and precision from return value.
26472         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
26473         (MO): New macro.
26474         (__atanf): For results with small absolute value, force underflow
26475         exception and remove excess range and precision from return value.
26476         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
26477         <math.h>.
26478         (__ieee754_atan2): Force underflow exception for results with
26479         small absolute value.
26480         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
26481         <math_private.h>.
26482         (atan): Force underflow exception for results with small absolute
26483         value.
26484         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
26485         (__atanf): Force underflow exception for results with small
26486         absolute value.
26487         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
26488         <math.h>.
26489         (__atanl): Force underflow exception for results with small
26490         absolute value.
26491         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
26492         (__atanl): Force underflow exception for results with small
26493         absolute value.
26494         * sysdeps/x86/fpu/bits/mathinline.h
26495         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
26496         (__ieee754_atan2): Only define inline for long double.
26497         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26498         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
26499         * math/auto-libm-test-in: Do not mark underflow exceptions as
26500         possibly missing for bug 15319.  Add more tests of atan2.
26501         * math/auto-libm-test-out: Regenerated.
26502         * math/libm-test.inc (casin_test_data): Do not mark underflow
26503         exceptions as possibly missing for bug 15319.
26504         (casinh_test_data): Likewise.
26505         * sysdeps/i386/fpu/libm-test-ulps: Update.
26507 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
26509         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
26510         * sysdeps/mips/bits/endian.h: Fix comments.
26512 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26514         [BZ #17996]
26515         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
26516         (hdestroy_r): Likewise.
26517         (hsearch_r): Likewise.
26518         (__hcreate_r): Declare and use libc_hidden_proto.
26519         (__hdestroy_r): Likewise.
26520         (__hsearch_r): Likewise.
26521         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
26522         (hcreate): Call __hcreate_r instead of hcreate_r.
26523         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
26524         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
26525         as weak alias of __hcreate_r.
26526         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
26527         __hdestroy_r.
26528         (hsearch_r): Rename to __hsearch_r and define as weak alias of
26529         __hsearch_r.
26530         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
26531         Remove variable.
26532         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26533         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26534         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26535         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26537 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26539         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
26540         arena_lock into a single arena_get.
26542 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
26544         * dl-reloc.c: Inlucde libc-internal.h.
26545         (_dl_try_allocate_static_tls): Call ALIGN_UP.
26546         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
26547         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
26548         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
26549         (grow_heap): Likewise.
26550         * malloc/malloc.c: Include libc-internal.h.
26551         (do_check_malloc): Call powerof2.
26552         (sysmalloc): Use pagesize. Call ALIGN_UP.
26553         (systrim): Use pagesize.
26554         (mremap_chunk): Use pagesize. Call ALIGN_UP.
26555         (__libc_valloc): Use pagesize.
26556         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
26558 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26560         [BZ #17991]
26561         * include/sys/resource.h (__getrlimit64): Declare.  Use
26562         libc_hidden_proto.
26563         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
26564         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
26565         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
26566         getrlimit64.
26567         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
26568         __getrlimit64.
26569         [!getrlimit64] (getrlimit64): Define as weak alias of
26570         __getrlimit64.  Use libc_hidden_weak.
26571         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
26572         using __getrlimit64 not __new_getrlimit64.
26573         (__GI_getrlimit64): Likewise.
26574         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
26575         Likewise.
26576         (__GI_getrlimit64): Likewise.
26577         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
26578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
26579         (getrlimit): Add __getrlimit64 alias.
26580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
26581         Likewise.
26582         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26583         Remove variable.
26584         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26585         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26587 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
26589         * libio/fileops.c: Add missing sys/mman.h
26590         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
26592 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26594         * manual/math.texi (Errors in Math Functions): Clarify goals
26595         regarding inexact and underflow exceptions.
26597 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26599         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
26600         * sysdeps/mips/memset.S: Ditto.
26602 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26604         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
26606 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26608         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
26609         (__v1longjmp): Remove versioned symbol.
26610         (__v1siglongjmp): Remove alias and versioned symbol.
26611         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
26612         (__v2siglongjmp): Likewise.
26614 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26616         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
26618 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
26620         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
26622 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26624         [BZ #17987]
26625         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
26626         zero result does not depend on the sign resulting from
26627         subtraction.
26628         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26629         Likewise.
26630         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26631         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26632         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26633         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26634         * math/libm-test.inc (remquo_test_data): Add more tests.
26636 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
26638         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
26639         Problem reported by J William Piggott.
26641 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26643         [BZ #17978]
26644         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
26645         products 4 * y and 2 * y where those would overflow.
26646         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26647         Likewise.
26648         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26649         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26650         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26651         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26652         * math/libm-test.inc (remquo_test_data): Add more tests.
26654         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
26656         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
26657         [defined _COMPILING_NEWLIB].
26658         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
26659         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
26661         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
26662         [!defined __mips_isa_rev || __mips_isa_rev < 6].
26664 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26666         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
26667         acquired.
26669 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
26671         [BZ #17792]
26672         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
26673         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
26674         HOST_STACK_END_ADDR): Likewise.
26676 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
26678         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
26679         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
26680         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
26682 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26684         * sysdeps/generic/c++-types.data: New file.
26685         * sysdeps/generic/ld.abilist: New file.
26686         * sysdeps/generic/libBrokenLocale.abilist: New file.
26687         * sysdeps/generic/libanl.abilist: New file.
26688         * sysdeps/generic/libc.abilist: New file.
26689         * sysdeps/generic/libcrypt.abilist: New file.
26690         * sysdeps/generic/libdl.abilist: New file.
26691         * sysdeps/generic/libm.abilist: New file.
26692         * sysdeps/generic/libpthread.abilist: New file.
26693         * sysdeps/generic/libresolv.abilist: New file.
26694         * sysdeps/generic/librt.abilist: New file.
26696 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26698         [BZ #17569]
26699         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26700         Compute absolute value of x as modified by fmod, not original
26701         value of x.
26702         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
26703         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
26704         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
26705         RUN_TEST_ffI_f1_mod8.
26706         (remquo_test_data): Add more tests.
26708 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26710         * sysdeps/init_array/pt-crti.S: New file.
26712 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26714         [BZ #17967]
26715         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
26716         __builtin_fmaf instead of relying on contraction of a * b + c.
26718 2015-02-12  J William Piggott  <elseifthen@gmx.com>
26720         [BZ #17969]
26721         * manual/time.texi: correct the zoneinfo path in the TZ Variable
26722         node.
26724 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26726         [BZ #17964]
26727         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
26728         __builtin_fma instead of relying on contraction of a * b + c.
26730 2015-02-12  Roland McGrath  <roland@hack.frob.com>
26732         * Makeconfig (ASFLAGS): Add -Werror=undef.
26733         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
26734         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
26735         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26737         * Makeconfig (after-link): New variable.
26738         (+link-pie, +link-pie-tests): Use it.
26739         (+link-static, +link-static-tests): Likewise.
26740         (+link, +link-tests): Likewise.
26741         * Makerules (build-module, build-module-asneeded): Likewise.
26742         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26743         Likewise.
26744         * elf/Makefile ($(objpfx)ld.so): Likewise.
26746 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
26748         [BZ #17965]
26749         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
26750         both struct timeval and struct timespec.
26752 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26754         [BZ #16560]
26755         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26756         and redefine.
26757         (__ieee754_exp2l): Do not multiply small fractional parts by
26758         M_LN2l.
26759         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
26760         small argument.
26761         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26762         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26763         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
26764         * math/auto-libm-test-in: Add more tests of exp2.
26765         * math/auto-libm-test-out: Regenerated.
26767 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26769         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26770         unaligned path.
26772 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26774         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26775         little endian.
26777 2015-02-12  Andreas Schwab  <schwab@suse.de>
26779         [BZ #15790]
26780         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26781         Filter out elision flags from value returned in kind.
26782         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26783         * nptl/tst-pthread-mutexattr.c: New file.
26785 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26787         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26788         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26789         into gnu-gnu, and update comment to refer to abi-tags.
26791 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
26793         [BZ #15467]
26794         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26795         (__sincos): Set errno to EDOM for infinite argument.
26796         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26797         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26798         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26799         (__sincosl): Set errno to EDOM for infinite argument.
26800         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26801         (__sincosl): Set errno to EDOM for infinite argument.
26802         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26803         (__sincosl): Set errno to EDOM for infinite argument.
26804         * math/libm-test.inc (sincos_test_data): Test errno setting.
26806 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
26808         * string/strxfrm_l.c: Remove #define STRCMP.
26809         * string/strcoll_l.c: Remove #define STRLEN.
26810         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26811         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26813 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
26815         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26816         * sysdeps/mips/mips32/sfp-machine.h: ... here.
26817         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26818         * sysdeps/mips/mips64/Makefile: ... here.
26819         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26820         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26821         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26822         * sysdeps/mips/mips64/sfp-machine.h: ... here.
26823         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26824         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26825         * sysdeps/mips/mips64/n64/Implies: Likewise.
26827 2015-02-10  Roland McGrath  <roland@hack.frob.com>
26829         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26830         <sys/time.h>, <string.h>, and <errno.h>.
26831         (dest_offset, dest_address, value, zero): Remove unused variables.
26832         (ldouble): Remove typedef.
26833         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26834         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
26835         1).  Fix code style.
26836         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
26837         (check): Function removed.
26838         (CHECK): New macro.
26839         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
26840         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
26841         Don't call set_sigaction_FP and remove_sigaction_FP here.
26842         (ldouble_test): Just use 'long double' as macro argument, no need for
26843         the 'ldouble' typedef.
26844         (do_test): Set up SIGFPE handler at start, using plain signal rather
26845         than sigaction.  Fix code style.
26847 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
26849         [BZ #17949]
26850         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
26851         jump label.
26853 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26855         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
26856         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26858         * sysdeps/powerpc/configure.ac: Remove file.
26859         * sysdeps/powerpc/configure: Likewise.
26861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26862         [sysdep_routines]: Remove wordcopy-power6 object.
26863         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26864         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26865         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26866         (__memmove_ppc32): Likewise.
26867         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26868         file.
26869         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26870         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26871         Remove preprocessor.
26873         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26874         [sysdep_routines]: Remove wide chars objects.
26875         [wcsmbs]: New rule for wide char objects.
26877         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26878         Remove wordcopy-power6 obejct.
26879         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26880         Use local call for wordcopy and memcpy symbols.
26881         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26882         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26883         implementation for loader.
26884         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26886         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26887         Remove wordcopy-power7 object.
26888         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26889         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26890         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26891         (_wordcopy_fwd_dest_aligned): Likewise.
26892         (_wordcopy_bwd_aligned): Likewise.
26893         (_wordcopy_bwd_dest_aligned): Likewise.
26895         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26896         Rewrite to call __memmove_ppc instead of include default
26897         implementation.
26899         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26900         Remove wide chars objects.
26901         [wcsmbs]: New rule for wide char objects.
26903 2015-02-09  Andreas Schwab  <schwab@suse.de>
26905         [BZ #17912]
26906         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26907         in terms of __O_DIRECTORY.
26909 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26911         * time/getdate.c: Include <stdbool.h>.
26912         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
26913         call PTR_MANGLE.
26914         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
26915         PTR_DEMANGLE.
26917 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
26919         Add ersatz _Static_assert on older C hosts
26920         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
26921         pre-C11 C platform that is not known to support _Static_assert.
26923 2015-02-07  Richard Braun  <rbraun@sceen.net>
26925         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
26926         sigstate.
26927         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
26929 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26931         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
26932         priority against unexistent AIO_PRIO_DELTA_MAX.
26933         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
26934         instead of int.
26935         * misc/fchflags.c (fchflags): Likewise.
26936         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
26937         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
26938         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
26939         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
26940         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
26941         Declare macros.
26942         [__USE_MISC] (chflags, fchflags): Declare functions.
26943         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
26944         EINVAL when nfds is greater than FD_SETSIZE.
26945         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
26946         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
26947         45.
26948         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
26949         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
26950         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
26951         MACH_RCV_TIMED_OUT.
26952         * hurd/hurd/signal.h (_hurd_self_sigstate,
26953         _hurd_critical_section_lock, _hurd_critical_section_unlock):
26954         Explicit casts from void *.
26955         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
26956         * abi-tags: Rename gnu-gnu os into gnu.
26958         [BZ #4719]
26959         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
26960         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
26961         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
26962         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
26963         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
26964         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
26966         [BZ #17944]
26967         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
26968         duplicates ADDR->sun_path with sockaddr LEN limitation.
26969         * sysdeps/mach/hurd/connect.c: Include <string.h>
26970         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
26971         * sysdeps/mach/hurd/sendmsg.c: Likewise.
26972         * sysdeps/mach/hurd/sendto.c: Likewise.
26973         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
26974         implementing it by hand.
26976 2015-02-06  Roland McGrath  <roland@hack.frob.com>
26978         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
26979         Use sfi_breg on ldr.
26980         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
26981         Likewise.
26983         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
26984         it's defined.
26985         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
26986         Test SIGSETXID only if it's defined.
26988         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
26990         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
26991         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
26993         * nptl/tst-align2.c: Moved ...
26994         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
26995         * nptl/Makefile (tests): Remove tst-align2.
26996         * sysdeps/unix/sysv/linux/Makefile
26997         [$(subdir) = nptl] (tests): Add tst-align-clone.
26998         * nptl/tst-getpid1.c: Moved ...
26999         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
27000         * nptl/tst-getpid2.c: Moved ...
27001         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
27002         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
27003         * sysdeps/unix/sysv/linux/Makefile
27004         [$(subdir) = nptl] (tests): ... here.
27005         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
27006         * sysdeps/unix/sysv/linux/Makefile
27007         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
27009         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
27010         Drop trailing \n from perror argument.  Use return rather than exit.
27012         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
27013         on [SA_SIGINFO].
27014         * nptl/tst-cancel21.c (do_test): Likewise.
27015         * debug/tst-backtrace6.c: Include <signal.h> first thing.
27016         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
27017         [!SA_SIGINFO]: Make it a stub test.
27019         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
27020         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
27022         * posix/tst-getlogin.c: Move to ...
27023         * login/tst-getlogin.c: ... here.
27024         * posix/Makefile (tests): Move tst-getlogin to ...
27025         * login/Makefile (tests): ... here.
27027         * libio/tst-atime.c (do_test): Move local variables SV and E
27028         inside [ST_NOATIME] conditional.
27030         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
27032         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
27034         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
27035         (wait_code): New function replaces macro.
27036         Call nanosleep rather than syscall.
27038         * nptl/pt-system.c: Rewritten.  Put everything under
27039         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27040         Use IFUNC to redirect when possible.
27042         * nptl/pt-longjmp.c: Rewritten.  Put everything under
27043         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27044         Use IFUNC to redirect when possible.
27046         * nptl/pt-fork.c: Rewritten.  Put everything under
27047         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27048         Use IFUNC to redirect when possible.
27049         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
27051         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
27052         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
27053         unconditionally nowadays.  This included the only reference to
27054         __vdso_clock_gettime that appears outside libc proper.
27055         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
27056         Remove version set (containing only __vdso_clock_gettime).
27057         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27058         Add attribute_hidden.
27059         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27060         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
27061         libc_hidden_data_def.
27062         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27063         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27065         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
27066         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
27067         setrpcent, and getrpcport to ...
27068         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
27069         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
27070         getrpcbynumber_r, and getrpcent_r to ...
27071         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
27072         * inet/getrpcbyname.c: Moved ...
27073         * sunrpc/getrpcbyname.c: ... here.
27074         * inet/getrpcbyname_r.c: Moved ...
27075         * sunrpc/getrpcbyname_r.c: ... here.
27076         * inet/getrpcbynumber.c: Moved ...
27077         * sunrpc/getrpcbynumber.c: ... here.
27078         * inet/getrpcbynumber_r.c: Moved ...
27079         * sunrpc/getrpcbynumber_r.c: ... here.
27080         * inet/getrpcent.c: Moved ...
27081         * sunrpc/getrpcent.c: ... here.
27082         * inet/getrpcent_r.c: Moved ...
27083         * sunrpc/getrpcent_r.c: ... here.
27084         * inet/Makefile (routines): Move those to ...
27085         * sunrpc/Makefile (routines): ... here.
27086         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
27087         the $(subdirs) list.
27088         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
27089         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
27090         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
27091         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
27093         * elf/Makefile (routines): Include $(all-dl-routines), not just
27094         $(dl-routines).
27095         (rtld-routines): Likewise.  Use = rather than :=.
27096         * sysdeps/aarch64/Makefile [$(subdir) = elf]
27097         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
27098         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
27099         * sysdeps/arm/Makefile: Likewise.
27100         * sysdeps/i386/Makefile: Likewise.
27101         * sysdeps/x86_64/Makefile: Likewise.
27102         * sysdeps/hppa/Makefile [$(subdir) = elf]
27103         (sysdep_routines, sysdep-rtld-routines): Don't add
27104         $(sysdep-dl-routines) to these.
27105         * sysdeps/ia64/Makefile: Likewise.
27106         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
27107         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
27108         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
27109         Don't add dl-static to these; sysdep-dl-routines alone is enough.
27110         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
27111         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
27112         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
27113         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
27114         * sysdeps/powerpc/Makefile [$(subdir) = elf]
27115         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
27116         these; sysdep-dl-routines alone is enough.
27118 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
27120         [BZ #17932]
27121         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
27122         where multiplication results in zero and third argument is finite
27123         and nonzero.
27124         * math/auto-libm-test-in: Add more tests of fma.
27125         * math/auto-libm-test-out: Regenerated.
27127         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
27128         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
27129         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
27130         (_FP_CMP_EQ): Likewise.
27131         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
27133         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
27134         extra argument CHECK_NAN.  Redefine as wrapper around
27135         _FP_EXTEND_CNAN.
27137 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
27139         * version.h (RELEASE): Set to "stable".
27140         (VERSION): Set to "2.21"
27141         * include/features.h (__GLIBC_MINOR__): Set to 21.
27143         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
27145 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27146             Paul Eggert  <eggert@cs.ucla.edu>
27148         [BZ #16618]
27149         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
27150         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
27151         size in bytes. Store needed elements in wpmax. Use needed size
27152         in bytes for extend_alloca.
27154 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
27156         * manual/install.texi: Latest tested versions are GCC 4.9.2,
27157         binutls 2.25, and texinfo 5.2.
27158         * INSTALL: Regenerate.
27159         * sysdeps/nios2/configure: Regenerate.
27160         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
27161         * manual/contrib.texi: Update.
27162         * po/be.po: Update.
27163         * po/bg.po: Update.
27164         * po/ca.po: Update.
27165         * po/cs.po: Update.
27166         * po/da.po: Update.
27167         * po/de.po: Update.
27168         * po/el.po: Update.
27169         * po/eo.po: Update.
27170         * po/es.po: Update.
27171         * po/fi.po: Update.
27172         * po/fr.po: Update.
27173         * po/gl.po: Update.
27174         * po/hr.po: Update.
27175         * po/hu.po: Update.
27176         * po/ia.po: Update.
27177         * po/id.po: Update.
27178         * po/it.po: Update.
27179         * po/ja.po: Update.
27180         * po/ko.po: Update.
27181         * po/lt.po: Update.
27182         * po/nb.po: Update.
27183         * po/nl.po: Update.
27184         * po/pl.po: Update.
27185         * po/pt_BR.po: Update.
27186         * po/ru.po: Update.
27187         * po/rw.po: Update.
27188         * po/sk.po: Update.
27189         * po/sl.po: Update.
27190         * po/sv.po: Update.
27191         * po/tr.po: Update.
27192         * po/uk.po: Update.
27193         * po/vi.po: Update.
27194         * po/zh_CN.po: Update.
27195         * po/zh_TW.po: Update.
27197         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
27198         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
27199         * sysdeps/hppa/dl-irel.h: Remove #warning.
27200         * sysdeps/hppa/entry.h: Provide prototype for
27201         __canonicalize_funcptr_for_compare and cast argument.
27202         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
27203         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
27204         * sysdeps/hppa/sotruss-lib.c: New file.
27205         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
27206         (atomic_compare_and_exchange_val_acq): Use __typeof__.
27207         (atomic_compare_and_exchange_bool_acq): Likewise.
27208         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
27209         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
27211         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
27212         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
27213         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
27215 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
27217         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
27218         called function in non-PIC case.
27220 2015-01-31  David S. Miller  <davem@davemloft.net>
27222         * sysdeps/sparc/sparc32/bits/atomic.h
27223         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
27224         unlock not after it.
27225         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
27226         volatile register usage warnings from the compiler.
27228         * sysdeps/sparc/nptl/sem_init.c: Delete.
27229         * sysdeps/sparc/nptl/sem_post.c: Delete.
27230         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
27231         * sysdeps/sparc/nptl/sem_wait.c: Delete.
27232         * sysdeps/sparc/sparc32/sem_init.c: New file.
27233         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
27234         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
27235         padding explicitly initialized.
27236         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
27237         padding for in-semaphore spinlock.
27238         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
27239         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
27240         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
27241         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
27242         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
27243         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
27244         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
27245         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
27246         version.
27247         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
27248         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
27250 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
27252         [BZ #17801]
27253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27254         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
27255         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
27256         New.
27257         (index_AVX_Fast_Unaligned_Load): Likewise.
27258         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
27259         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
27260         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
27261         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
27262         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
27263         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
27264         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
27265         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
27266         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
27268 2015-01-29  Andreas Schwab  <schwab@suse.de>
27270         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
27272 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
27274         [BZ #17892]
27275         * nscd/nscd_stat.c (send_stats): Initialize DATA.
27277 2015-01-28  Martin Sebor  <msebor@redhat.com>
27279         * math/README.libm-test: Clarify. Add "How to read the test output."
27281 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
27283         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
27284         Define to 0.
27286 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
27288         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
27289         (__HAVE_64B_ATOMICS): Define to 0.
27291 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27293         [BZ #17885]
27294         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
27295         value to set as new flag.
27297         [BZ #16576]
27298         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
27299         and use _ARCH_PPCSQ instead.
27300         (__ieee754_sqrt): Likewise.
27301         (__ieee754_sqrtf): Likewise.
27302         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
27303         _ARCH_PPCSQ is defined.
27304         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
27305         fsqrt instruction.
27306         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
27307         _ARCH_PPCSQ is defined.
27308         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
27309         fsqrts instruction.
27310         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
27312 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27314         * iconv/loop.c: Suppress array out of bound warning caused by GCC
27315         bug (GCC BZ #64739).
27317 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
27319         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
27320         Mark _retval as used.
27321         (lll_futex_wake_unlock): Likewise.
27322         (lll_futex_timed_wait_requeue_pi): Likewise.
27324         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27325         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
27326         register variables.
27328         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
27329         libm_hidden_def.
27331         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
27332         (__bswap_64): Mark as __always_inline.
27334 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
27336         [BZ #15378]
27337         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27338         when none of the search directories exist.
27340 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27342         [BZ #17869]
27343         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
27344         power8 in .machine directive.
27346         [BZ #17868]
27347         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
27348         set dependency from opd value.
27350 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27352         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27353         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
27354         architecture.
27356 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27358         [BZ #17870]
27359         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
27360         with uint64_t.
27361         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
27362         (uint64_t) 1.
27363         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
27364         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
27365         Replace 1UL with (uint64_t) 1.
27366         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
27367         int with uint64_t.
27369 2015-01-23  Roland McGrath  <roland@hack.frob.com>
27371         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
27372         (if_freenameindex): Likewise.
27374         * resource/getrlimit64.c: Add missing libc_hidden_def.
27376 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
27378         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
27379         __label__.
27380         (_FP_FMA): Likewise.
27381         (_FP_TO_INT_ROUND): Likewise.
27382         (_FP_FROM_INT): Likewise.
27384 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27386         [BZ #16418]
27387         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27388         Make code racy and cancel safe.
27390 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
27392         * sysdeps/arm/unwind-resume.h: Fix copyright year.
27393         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27394         attribution.
27396         * pwd/tst-getpw.c: Rewrite.
27398         [BZ #17702]
27399         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27400         (modules-names): Add moddummy1 and moddummy2.
27401         ($(objpfx)tst-rec-dlopen): Define.
27402         * dlfcn/moddummy1.c: New file.
27403         * dlfcn/moddummy2.c: New file.
27404         * dlfcn/tst-rec-dlopen.c: New file.
27405         * elf/dl-cache.c (_dl_load_cache_lookup):
27406         Return char*. Copy result with alloca/strcpy/strdup.
27407         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27408         returns char*. Free cached. If not saving realname
27409         free cached.
27410         * elf/dl-open.c (dl_open_worker): Do not assert that
27411         _r_debug->r_state is RT_CONSISTENT.
27412         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27413         returns char*.
27415 2015-01-21  Torvald Riegel  <triegel@redhat.com>
27416             Carlos O'Donell  <carlos@redhat.com>
27418         [BZ #12674]
27419         * nptl/sem_waitcommon.c: New file.
27420         * nptl/sem_wait.c: Include sem_waitcommon.c.
27421         (__sem_wait_cleanup, do_futex_wait): Remove.
27422         (__new_sem_wait): Adapt.
27423         (__new_sem_trywait): New function.
27424         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
27425         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
27426         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
27427         (sem_timedwait): Adapt.
27428         * nptl/sem_post.c (__new_sem_post): Adapt.
27429         (futex_wake): New function.
27430         (__old_sem_post): Add release MO fence.
27431         * nptl/sem_open.c (sem_open): Adapt.
27432         * nptl/sem_init.c (__new_sem_init): Adapt.
27433         (futex_private_if_supported): New function.
27434         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
27435         (__old_sem_getvalue): Add using previous code.
27436         * sysdeps/nptl/internaltypes.h: Adapt.
27437         * nptl/tst-sem13.c (do_test): Adapt.
27438         * nptl/tst-sem11.c (main): Adapt.
27439         * nptl/sem_trywait.c: Remove.
27440         * nptl/DESIGN-sem.txt: Remove.
27441         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
27442         (gen-as-const-headers): Remove structsem.sym.
27443         * nptl/structsem.sym: Remove.
27444         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
27445         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
27446         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
27447         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
27448         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
27449         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
27450         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
27451         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
27452         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
27453         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
27454         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
27455         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
27456         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
27457         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
27458         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
27459         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
27460         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
27461         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
27462         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
27463         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
27464         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
27465         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
27467 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
27469         * INSTALL: Regenerated.
27471         * po/libc.pot: Regenerated.
27473 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
27474             Sandra Loosemore  <sandra@codesourcery.com>
27475             Andrew Jenner  <andrew@codesourcery.com>
27476             Joseph Myers  <joseph@codesourcery.com>
27477             Nathan Sidwell  <nathan@codesourcery.com>
27479         * NEWS: Mention new Nios II port.
27480         * sysdeps/nios2/Implies: New file.
27481         * sysdeps/nios2/Makefile: New file.
27482         * sysdeps/nios2/Subdirs: New file.
27483         * sysdeps/nios2/Versions: New file.
27484         * sysdeps/nios2/__longjmp.S: New file.
27485         * sysdeps/nios2/abort-instr.h: New file.
27486         * sysdeps/nios2/backtrace.c: New file.
27487         * sysdeps/nios2/bits/endian.h: New file.
27488         * sysdeps/nios2/bits/fenv.h: New file.
27489         * sysdeps/nios2/bits/link.h: New file.
27490         * sysdeps/nios2/bits/setjmp.h: New file.
27491         * sysdeps/nios2/bsd-_setjmp.S: New file.
27492         * sysdeps/nios2/bsd-setjmp.S: New file.
27493         * sysdeps/nios2/configure: New generated file.
27494         * sysdeps/nios2/configure.ac: New file.
27495         * sysdeps/nios2/crti.S: New file.
27496         * sysdeps/nios2/crtn.S: New file.
27497         * sysdeps/nios2/dl-init.c: New file.
27498         * sysdeps/nios2/dl-machine.h: New file.
27499         * sysdeps/nios2/dl-sysdep.h: New file.
27500         * sysdeps/nios2/dl-tls.h: New file.
27501         * sysdeps/nios2/dl-trampoline.S: New file.
27502         * sysdeps/nios2/gccframe.h: New file.
27503         * sysdeps/nios2/gmp-mparam.h: New file.
27504         * sysdeps/nios2/jmpbuf-offsets.h: New file.
27505         * sysdeps/nios2/jmpbuf-unwind.h: New file.
27506         * sysdeps/nios2/ldsodefs.h: New file.
27507         * sysdeps/nios2/libc-tls.c: New file.
27508         * sysdeps/nios2/libm-test-ulps: New file.
27509         * sysdeps/nios2/machine-gmon.h: New file.
27510         * sysdeps/nios2/math-tests.h: New file.
27511         * sysdeps/nios2/math_private.h: New file.
27512         * sysdeps/nios2/memusage.h: New file.
27513         * sysdeps/nios2/nptl/Makefile: New file.
27514         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
27515         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
27516         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
27517         * sysdeps/nios2/nptl/pthreaddef.h: New file.
27518         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
27519         * sysdeps/nios2/nptl/tls.h: New file.
27520         * sysdeps/nios2/preconfigure: New file.
27521         * sysdeps/nios2/s_fma.c: New file.
27522         * sysdeps/nios2/s_fmaf.c: New file.
27523         * sysdeps/nios2/setjmp.S: New file.
27524         * sysdeps/nios2/sfp-machine.h: New file.
27525         * sysdeps/nios2/sotruss-lib.c: New file.
27526         * sysdeps/nios2/stackguard-macros.h: New file.
27527         * sysdeps/nios2/stackinfo.h: New file.
27528         * sysdeps/nios2/start.S: New file.
27529         * sysdeps/nios2/sysdep.h: New file.
27530         * sysdeps/nios2/tls-macros.h: New file.
27531         * sysdeps/nios2/tst-audit.h: New file.
27532         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
27533         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
27534         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
27535         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
27536         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
27537         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
27538         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
27539         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
27540         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
27541         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
27542         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
27543         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
27544         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
27545         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
27546         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
27547         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
27548         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
27549         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
27550         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
27551         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
27552         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
27553         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
27554         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
27555         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
27556         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
27557         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
27558         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
27559         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
27560         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
27561         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
27562         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
27563         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
27564         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
27565         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
27566         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
27567         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
27568         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
27569         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
27570         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
27571         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
27572         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
27573         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
27574         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
27575         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
27577 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27579         [BZ #17844]
27580         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
27581         (getutent): Use weak_alias in non SHARED case
27582         and default_symbol_version in SHARED case.
27583         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
27584         (getutent_r, pututline): Likewise.
27585         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
27586         (getutid): Likewise.
27587         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
27588         (getutid_r): Likewise.
27589         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
27590         (getutline): Likewise.
27591         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
27592         (getutline_r): Likewise.
27593         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
27594         (updwtmp): Likewise.
27596 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27598         [BZ #17848]
27599         * sysdeps/s390/s390-32/memcmp.S
27600         (memcmp_g5): Rename to __memcmp_g5.
27601         * sysdeps/s390/s390-32/memcpy.S
27602         (memcpy_g5): Rename to __memcpy_g5.
27603         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27604         (memcpy_mvcle) Rename to __memcpy_mvcle.
27605         * sysdeps/s390/s390-32/memset.S
27606         (memset_g5): Rename to __memset_g5.
27607         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27608         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27609         and use prefixed functions.
27610         * sysdeps/s390/s390-32/multiarch/memcmp.S
27611         (memcmp_z196): Rename to __memcmp_z196.
27612         (memcmp_z10): Rename to __memcmp_z10.
27613         (memcmp): Set alias to __memcmp_g5.
27614         (bcmp): Set alias to __memcmp_g5.
27615         * sysdeps/s390/s390-32/multiarch/memcpy.S
27616         (memcpy_z196): Rename to __memcpy_z196.
27617         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27618         (memcpy_z10): Rename to __memcpy_z10.
27619         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27620         (memcpy): Set alias to __memcpy_g5.
27621         * sysdeps/s390/s390-32/multiarch/memset.S
27622         (memset_z196): Rename to __memset_z196.
27623         Jump to __memset_mvcle instead of memset_mvcle.
27624         (memset_z10): Rename to __memset_z10.
27625         Jump to __memset_mvcle instead of memset_mvcle.
27626         (memset_mvcle) Rename to __memset_mvcle.
27627         (memset): Set alias to __memset_g5.
27628         * sysdeps/s390/s390-64/memcmp.S
27629         (memcmp_z900): Rename to __memcmp_z900.
27630         * sysdeps/s390/s390-64/memcpy.S
27631         (memcpy_z900): Rename to __memcpy_z900.
27632         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27633         (memcpy_mvcle) Rename to __memcpy_mvcle.
27634         * sysdeps/s390/s390-64/memset.S
27635         (memset_z900): Rename to __memset_z900.
27636         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
27637         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27638         and use prefixed functions.
27639         * sysdeps/s390/s390-64/multiarch/memcmp.S
27640         (memcmp_z196): Rename to __memcmp_z196.
27641         (memcmp_z10): Rename to __memcmp_z10.
27642         (memcmp): Set alias to __memcmp_z900.
27643         (bcmp): Set alias to __memcmp_z900.
27644         * sysdeps/s390/s390-64/multiarch/memcpy.S
27645         (memcpy_z196): Rename to __memcpy_z196.
27646         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27647         (memcpy_z10): Rename to __memcpy_z10.
27648         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27649         (memcpy): Set alias to __memcpy_z900.
27650         * sysdeps/s390/s390-64/multiarch/memset.S
27651         (memset_z196): Rename to __memset_z196.
27652         Jump to __memset_mvcle instead of memset_mvcle.
27653         (memset_z10): Rename to __memset_z10.
27654         Jump to __memset_mvcle instead of memset_mvcle.
27655         (memset_mvcle) Rename to __memset_mvcle.
27656         (memset): Set alias to __memset_z900.
27658 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
27660         [BZ #17748]
27661         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
27662         __fesetenv instead of fesetenv.
27664 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27666         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
27667         macro.
27669 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27671         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
27672         regression on LE.
27674         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
27675         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
27676         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27677         strncmp-power8 object.
27678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27679         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
27680         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
27681         * NEWS: Update.
27683 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27684             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27686         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
27687         trailing byte check.
27689 2015-01-13  David S. Miller  <davem@davemloft.net>
27691         * include/signal.h (__sigreturn): Guard with __USE_MISC.
27693 2015-01-13  Roland McGrath  <roland@hack.frob.com>
27695         * login/logout.c (logout): Use memset rather than bzero.
27696         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
27697         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
27698         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
27699         (_gethtbyaddr): Likewise.
27700         * locale/programs/simple-hash.c (bcopy): Macro removed.
27702 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27704         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27705         Add strcmp-power8 object.
27706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27707         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
27708         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
27709         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
27710         __strcmp_power8 implementation.
27711         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
27712         * NEWS: Update.
27714         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27715         Add strncpy-power8 and stpncpy-power8 objects.
27716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27717         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
27718         implementations.
27719         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
27720         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
27721         __stpncpy_power8 implementation.
27722         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
27723         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
27724         __strncpy_power8 implementation.
27725         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
27726         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
27727         * NEWS: Update.
27729         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
27730         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
27731         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
27733         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27734         strncat-power8 object.
27735         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
27736         __strcat_power8 implementation.
27737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27738         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
27739         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
27740         optimized strcat for power8.
27742         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27743         strcpy-power8 and stpcpy-power8 objects.
27744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27745         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
27746         implementations.
27747         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
27748         multiarch stpcpy implementation for POWER8.
27749         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
27750         multiarch strcpy implementation for POWER8.
27751         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
27752         __strcpy_power8 function.
27753         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
27754         stpcpy for POWER8.
27755         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
27756         strcpy for POWER8.
27757         * NEWS: Update.
27759 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
27761         [BZ #16009]
27762         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
27763         weights and rules. Use do_xfrm_cached if data fits in cache,
27764         do_xfrm otherwise.  Moved former main loop to...
27765         * (do_xfrm_cached): New function.
27766         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27767         find_idx, find_position and stack_push.
27768         * (find_idx): New function.
27769         * (find_position): Likewise.
27770         * localedata/sort-test.sh: Added test run for do_xfrm.
27771         * localedata/xfrm-test.c (main): Added command line option
27772         -nocache to run the test with strings that are too large for
27773         the STRXFRM cache.
27775 2015-01-13  Torvald Riegel  <triegel@redhat.com>
27777         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27778         variable to lll_futex_wake call, not the value itself.
27780 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
27782         [BZ #17803]
27783         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27784         twom64.  Adjust value to 0x1p-64L.
27785         (__scalblnl): Only return standard underflowing result for K <=
27786         -64 not K <= -63; adjust exponent for underflowing result by 64
27787         not 63.
27788         * math/libm-test.inc (scalbn_test_data): Add more tests.
27789         (scalbln_test_data): Likewise.
27791         [BZ #17834]
27792         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27793         0x1p63L.
27794         (__scalblnl): Get new exponent of adjusted subnormal value from ES
27795         not HX.
27796         * math/libm-test.inc (scalbn_test_data): Add more tests.
27797         (scalbln_test_data): Likewise.
27799 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27800             Stefani Seibold  <stefani@seibold.net>
27802         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27803         (sysdep_routines): Add dl-vdso here, ...
27804         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27805         (sysdep_routines): ... not here.
27806         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27807         fallback when vDSO is not presented.
27808         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27809         Define with libc_hidden_proto/libc_hidden_data_def definitions.
27810         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27811         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27812         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27813         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27814         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27815         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27816         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27817         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27818         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
27819         fallback configurable symbol when vDSO is not available.
27820         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27821         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
27822         be able to redefine fallback symbol when vDSO is not available.
27823         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27824         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27826 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27828         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27829         (TLS_INIT_TP): Add tm_capable initialization.
27830         (TLS_DEFINE_INIT_TP): Likewise.
27831         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27832         TCB.
27833         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27834         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27835         calculation.
27836         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
27837         transactoion is lock elision is built and TCB tm_capable is set.
27838         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
27839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27840         (INTERNAL_SYSCALL_NCS): Likewise.
27841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27842         (INTERNAL_SYSCALL_NCS): Likewise.
27843         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
27845         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
27846         for powerpc.
27847         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27848         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
27849         and remove it for 32 bits case.
27850         [pthread_rwlock_t] (__rwelision): New field for lock elision.
27851         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27852         initialization.
27853         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
27854         Disable lock elision with rdlocks if elision is not available.
27856         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
27857         (sysdep_routines): Add lock elision objects.
27858         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27859         [pthread_mutex_t] (__spins): Rework to add lock elision field.
27860         [pthread_mutex_t] (__elision): Add field.
27861         [__PTHREAD_SPINS]: Adjust to init lock elision field.
27862         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
27863         elision definitions for powerpc.
27864         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27865         implementation of lock elision for powerpc.
27866         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27867         implementation of timed lock elision for powerpc.
27868         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27869         implementation of trylock with lock elision for powerpc.
27870         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27871         implementaion of unlock for lock elision for powerpc.
27872         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27873         automatic enable lock elision for mutexes.
27874         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27875         transaction execution definitions for powerpc.
27876         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27877         definitions.
27878         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27879         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27880         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27881         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27882         * NEWS: Update.
27884 2015-01-09  Roland McGrath  <roland@hack.frob.com>
27886         * sysdeps/posix/shm-directory.c: Use <> rather than ""
27887         for #include of <shm-directory.h>.
27889 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
27891         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27892         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27894 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
27896         [BZ #17791]
27897         * NEWS: Mention bug fix.
27898         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
27899         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
27900         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
27902 2015-01-09  Torvald Riegel <triegel@redhat.com>
27904         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
27906 2015-01-09  Torvald Riegel <triegel@redhat.com>
27908         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
27910 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27912         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
27913         pointer and cast to uintptr_t.
27915 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27917         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
27918         removed.
27919         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
27921 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27923         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
27924         of 0.
27926 2015-01-08  Roland McGrath  <roland@hack.frob.com>
27928         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
27929         <nptl/pthreadP.h> instead.
27930         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
27932         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
27933         already defined.
27934         [__SIGRTMIN] (init): Function removed.
27935         [__SIGRTMIN] (initialized): Variable removed.
27936         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
27937         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
27938         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
27939         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
27940         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
27941         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
27942         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
27943         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
27944         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
27945         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
27946         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
27947         * sysdeps/nptl/allocrtsig.c: New file.
27948         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
27949         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
27950         * sysdeps/generic/testrtsig.h: File removed.
27952         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
27953         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
27955         * nptl/nptl-init.c (pthread_functions): Conditionalize
27956         .ptr__nptl_setxid initialization on [SIGSETXID].
27958         * sysdeps/nptl/sys/procfs.h: New file.
27959         * nptl_db/Makefile (headers): Add it.
27960         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
27962         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
27963         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
27964         * nptl/pthread_attr_setaffinity.c: Include it.
27965         * nptl/pthread_setattr_default_np.c: Likewise.
27966         * nptl/check-cpuset.h: New file.
27968 2015-01-08  Richard Henderson  <rth@redhat.com>
27970         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
27971         (CFLAGS-tst-execstack-prog.c): Likewise.
27972         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
27974 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
27975             Sandra Loosemore  <sandra@codesourcery.com>
27976             Andrew Jenner  <andrew@codesourcery.com>
27977             Joseph Myers  <joseph@codesourcery.com>
27978             Nathan Sidwell  <nathan@codesourcery.com>
27980         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
27981         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
27982         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
27983         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
27984         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
27985         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
27986         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
27987         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
27988         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
27989         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
27990         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
27991         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
27992         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
27993         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
27994         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
27995         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
27996         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
27998 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28000         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
28001         timespec struct member in syscall macro.
28002         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28003         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
28004         first timeval struct member in syscall macro.
28005         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
28007 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
28009         [BZ #17748]
28010         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
28011         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
28012         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
28013         __feupdateenv and define as weak alias of __feupdateenv.  Use
28014         libm_hidden_weak.
28015         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
28016         libm_hidden_def.
28017         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
28018         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
28019         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28020         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
28021         libm_hidden_def.
28022         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
28023         __feupdateenv and define as weak alias of __feupdateenv.  Use
28024         libm_hidden_weak.
28025         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
28026         libm_hidden_def.
28027         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
28028         __feupdateenv and define as weak alias of __feupdateenv.  Use
28029         libm_hidden_weak.
28030         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
28031         libm_hidden_def.
28032         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28033         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28034         (__feupdateenv): Likewise.
28035         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
28036         __feupdateenv and define as weak alias of __feupdateenv.  Use
28037         libm_hidden_weak.
28038         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28039         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
28040         libm_hidden_def.
28041         * sysdeps/tile/math_private.h (__feupdateenv): New inline
28042         function.
28043         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
28044         libm_hidden_def.
28045         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
28046         __feupdateenv instead of feupdateenv.
28047         (default_libc_feupdateenv_test): Likewise.
28048         (libc_feresetround_ctx): Likewise.
28050 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28052         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
28053         prototype.
28055 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
28057         * posix/regcomp.c (parse_bracket_exp): Initialize type to
28058         COLL_SYM in a couple of places to avoid uninitialized variable
28059         wanings on tilegx gcc 4.8.2.
28061 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28063         * sysdeps/aarch64/strcpy.S: New file.
28064         * sysdeps/aarch64/stpcpy.S: New file.
28065         * NEWS: Updated.
28067 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28069         * sysdeps/aarch64/strrchr.S: New file.
28070         * NEWS: Updated.
28072 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
28074         [BZ #17658]
28075         * stdlib/setenv.c: Fix memory leak when setting large,
28076         duplicate string.
28078 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
28080         [BZ #17273]
28081         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
28082         and tabs from buffer before parsing fstab entry.
28083         * misc/tst-mntent.c (main): Add test for mount entry with
28084         trailing spaces and tabs.
28086 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
28088         [BZ #17748]
28089         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
28090         * math/fesetround.c (fesetround): Rename to __fesetround and
28091         define as weak alias of __fesetround.  Use libm_hidden_weak.
28092         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
28093         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
28094         * sysdeps/arm/fesetround.c (fesetround): Likewise.
28095         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
28096         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
28097         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
28098         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
28099         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
28100         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
28101         __fesetround_inline.
28102         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
28103         __fesetround_inline instead of __fesetround.
28104         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
28105         __fesetround and define as weak alias of __fesetround.  Use
28106         libm_hidden_weak.  Call __fesetround_inline instead of
28107         __fesetround.
28108         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
28109         __fesetround and define as weak alias of __fesetround.  Use
28110         libm_hidden_weak.
28111         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
28112         Likewise.
28113         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
28114         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28115         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
28116         * sysdeps/tile/math_private.h (__fesetround): New inline function.
28117         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
28118         __fesetround and define as weak alias of __fesetround.  Use
28119         libm_hidden_weak.
28120         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
28121         __fesetround instead of fesetround.
28122         (default_libc_feholdexcept_setround): Likewise.
28123         (libc_feholdsetround_ctx): Likewise.
28124         (libc_feholdsetround_noex_ctx): Likewise.
28126         [BZ #17748]
28127         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
28128         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
28129         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28130         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28131         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28132         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
28133         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28134         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28135         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28136         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28137         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28138         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28139         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28140         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28141         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
28142         libm_hidden_def.
28143         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
28144         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
28145         Likewise.
28146         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28147         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28148         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28149         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28150         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
28151         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28152         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28153         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
28154         __fesetenv instead of fesetenv.
28155         (libc_feresetround_noex_ctx): Likewise.
28156         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28157         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28158         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
28159         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28160         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28161         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28162         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28163         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28164         (__feupdateenv): Likewise.
28165         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28166         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28167         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28168         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
28170 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28172         [BZ #17806]
28173         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
28174         addresses have been freed.
28176 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28178         * resolv/res_init.c (__res_vinit): Improve comments about nserv
28179         and nservall.
28181 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
28183         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
28184         Clean up check_pf allocation pattern. addresses
28186 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28188         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
28189         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
28190         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
28191         * nptl/pthread_exit.c (__pthread_exit): Likewise.
28192         * nptl/pthread_join.c (pthread_join): Likewise.
28193         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
28194         * sysdeps/posix/waitid.c (__waitid): Likewise.
28195         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28196         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28197         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28198         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28199         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28200         Likewise.
28201         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28202         (__libc_pread64): Likewise.
28203         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28204         (__libc_pwrite): Likewise.
28205         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28206         (__libc_pwrite64): Likewsie.
28207         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28208         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28209         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28210         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28211         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28212         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28213         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28215         Likewise.
28216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28217         (__libc_pread64): Likewise.
28218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
28219         Likewise.
28220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28221         (__libc_pwrite64): Likewise.
28222         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28223         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28224         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
28225         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
28226         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28227         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28228         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
28229         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28230         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28231         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28232         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
28233         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28234         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28235         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
28236         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28237         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28238         Likewise.
28240 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28242         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
28243         (CFLAGS-test-double.c): Likewise.
28244         (CFLAGS-test-ldouble.c): Likewise.
28245         (CPPFLAGS-test-ifloat.c): Likewise.
28246         (CPPFLAGS-test-idouble.c): Likewise.
28247         (CPPFLAGS-test-ildoubl.c): Likewise.
28248         (CFLAGS-test-test-fenv.c): Remove variable.
28249         (CFLAGS-test-misc.c): Likewise.
28251 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
28253         [BZ #17797]
28254         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
28255         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
28256         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
28257         CLOCKS_PER_SEC == 1000000.
28258         * time/clocktest.c (main): Replace %ld with %jd and cast to
28259         intmax_t.
28261 2015-01-05  Roland McGrath  <roland@hack.frob.com>
28263         * sysdeps/generic/unwind-resume.h: New file.
28264         * sysdeps/gnu/unwind-resume.c: Include it.
28265         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
28266         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
28267         argument list.
28268         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
28269         global rather than static.
28270         (_Unwind_Resume): Update user.
28271         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
28272         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
28273         rather than static.  Add __attribute__ ((cold)).
28274         (_Unwind_Resume, __gcc_personality_v0): Update callers.
28275         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
28276         * sysdeps/arm/arm-unwind-resume.S: New file.
28277         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
28278         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
28279         * sysdeps/arm/Makefile [$(subdir) = csu]
28280         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
28281         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28282         Add rt-arm-unwind-resume.
28283         [$(subdir) = nptl]
28284         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28285         Add pt-arm-unwind-resume.
28286         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
28287         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
28289 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28291         [BZ #17748]
28292         * include/fenv.h (__feholdexcept): Declare.  Use
28293         libm_hidden_proto.
28294         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
28295         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
28296         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28297         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
28298         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
28299         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
28300         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
28301         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28302         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
28303         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
28304         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28305         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
28306         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
28307         (feholdexcept): Likewise.
28308         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28309         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28310         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28311         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28312         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
28313         __feholdexcept instead of feholdexcept.
28314         (default_libc_feholdexcept_setround): Likewise.
28316 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28318         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
28319         to avoid using stl/str to align destination.
28321 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28323         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
28325 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28327         [BZ #17796]
28328         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
28329         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
28330         Define as weak alias not strong alias.
28332 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28334         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
28335         bltzal with addiupc.
28336         (RTLD_START): Ditto.
28338 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
28340         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
28341         for __vdso_* functions in declarations.
28342         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
28343         definitions.
28344         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
28345         INTERNAL_VSYSCALL): Use struct return types to check for error.
28347         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28348         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
28349         function with cast from llround().
28350         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
28351         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28352         Define.
28354 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28356         [BZ #17793]
28357         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
28358         Define as weak alias not strong alias.
28360         [BZ #17635]
28361         * ctype/ctype-c99.c: New file.  isblank implementation moved from
28362         ...
28363         * ctype/ctype-extn.c: ... here.
28364         (__isblank_l): Move to ...
28365         * ctype/ctype-c99_l.c: ... here.  New file.
28366         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
28367         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
28368         Remove variable.
28369         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28370         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28371         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28372         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28373         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28375         [BZ #17777]
28376         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
28377         (posix_fadvise64): Define as weak alias not strong alias.
28378         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28379         (posix_fallocate64): Likewise.
28380         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
28381         Remove variable.
28382         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28383         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28384         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28385         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28386         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28388 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
28390         [BZ #16191]
28391         * NEWS: Mention bug fix.
28392         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
28393         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28394         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28395         (HOST_STACK_END_ADDR): Likewise.
28397 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28399         [BZ #17748]
28400         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
28401         * math/fegetround.c (fegetround): Rename to __fegetround and
28402         define as weak alias of __fegetround.  Use libm_hidden_weak.
28403         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28404         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28405         * sysdeps/arm/fegetround.c (fegetround): Likewise.
28406         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28407         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28408         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28409         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28410         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28411         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28412         Undefine after rather than before function definition; use
28413         parentheses around function name in definition.
28414         (__fegetround): Also undefine macro after function definition.
28415         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28416         __fegetround and define as weak alias of __fegetround.  Use
28417         libm_hidden_weak.  Do not undefine as macro.
28418         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28419         Likewise.
28420         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
28421         __fegetround and define as weak alias of __fegetround.  Use
28422         libm_hidden_weak.
28423         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28424         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28425         * sysdeps/tile/math_private.h (__fegetround): New inline function.
28426         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
28427         __fegetround and define as weak alias of __fegetround.  Use
28428         libm_hidden_weak.
28429         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
28430         __fegetround instead of fegetround.
28432         [BZ #17782]
28433         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
28434         Condition macro definition on [__USE_MISC].
28436         [BZ #17781]
28437         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28438         (struct sigaction): Change type of sa_flags field to int.
28440         [BZ #17780]
28441         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
28442         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
28443         __glibc_reserved0.
28445         * nptl/version.c (banner): Use single year in copyright notice.
28447         * NEWS: Update copyright dates.
28448         * catgets/gencat.c (print_version): Likewise.
28449         * csu/version.c (banner): Likewise.
28450         * debug/catchsegv.sh: Likewise.
28451         * debug/pcprofiledump.c (print_version): Likewise.
28452         * debug/xtrace.sh (do_version): Likewise.
28453         * elf/ldconfig.c (print_version): Likewise.
28454         * elf/ldd.bash.in: Likewise.
28455         * elf/pldd.c (print_version): Likewise.
28456         * elf/sotruss.sh: Likewise.
28457         * elf/sprof.c (print_version): Likewise.
28458         * iconv/iconv_prog.c (print_version): Likewise.
28459         * iconv/iconvconfig.c (print_version): Likewise.
28460         * locale/programs/locale.c (print_version): Likewise.
28461         * locale/programs/localedef.c (print_version): Likewise.
28462         * login/programs/pt_chown.c (print_version): Likewise.
28463         * malloc/memusage.sh (do_version): Likewise.
28464         * malloc/memusagestat.c (print_version): Likewise.
28465         * malloc/mtrace.pl: Likewise.
28466         * manual/libc.texinfo: Likewise.
28467         * nptl/version.c (banner): Likewise.
28468         * nscd/nscd.c (print_version): Likewise.
28469         * nss/getent.c (print_version): Likewise.
28470         * nss/makedb.c (print_version): Likewise.
28471         * posix/getconf.c (main): Likewise.
28472         * scripts/test-installation.pl: Likewise.
28473         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
28475 2015-01-02  Will Newton  <will.newton@linaro.org>
28477         * sysdeps/arm/armv7/configure: Removed.
28478         * sysdeps/arm/armv7/configure.ac: Likewise.
28480 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28482         * All files with FSF copyright notices: Update copyright dates
28483         using scripts/update-copyrights.
28484         * intl/plural.c: Regenerated.
28485         * locale/programs/charmap-kw.h: Likewise.
28486         * locale/programs/locfile-kw.h: Likewise.
28488 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28490         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
28492 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28494         [BZ #17748]
28495         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
28496         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
28497         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28498         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28499         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28500         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
28501         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28502         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
28503         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28504         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28505         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28506         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28507         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28508         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28509         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
28510         libm_hidden_def.
28511         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
28512         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
28513         Likewise.
28514         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28515         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28516         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28517         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28518         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28519         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28520         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28521         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
28522         __fegetenv instead of fegetenv.
28523         (libc_feholdsetround_noex_ctx): Likewise.
28525 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28527         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
28528         (Elf_MIPS_ABIFlags_v0): New structure.
28529         (EF_MIPS_FP64): Define.
28530         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
28531         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
28532         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
28533         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
28534         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
28535         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
28536         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
28537         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
28538         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
28539         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
28540         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
28541         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
28542         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
28543         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
28544         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
28545         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
28546         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
28547         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
28548         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
28549         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
28550         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
28551         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
28552         field.
28553         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
28554         EF_MIPS_FP64.
28555         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
28556         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
28557         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
28558         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
28559         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
28560         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
28561         * sysdeps/mips/tst-abi-interlink.c: Likewise.
28562         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
28563         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
28564         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
28565         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
28566         record the current FP ABI extension.
28567         (mips-mode-switch): Define to show if kernel headers support mode
28568         switching.
28569         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
28570         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
28571         supported SYSV ABI version to 3.
28572         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
28573         feature.
28575 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28576             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28578         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
28579         path.
28580         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
28582 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28584         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
28585         __fegetround and redefine to call __fegetround.  Remove condition
28586         on [!__NO_MATH_INLINES].
28587         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
28588         function.
28589         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
28590         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28591         Remove macro.
28592         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
28593         instead of <fenv_libc.h>.
28594         (__llrintl): Call fegetround instead of __fegetround.
28595         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
28596         instead of <fenv_libc.h>.
28597         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28598         (__lrintl): Call fegetround instead of __fegetround.
28599         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
28600         instead of <fenv_libc.h>.
28601         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28602         (__rintl): Call fegetround instead of __fegetround.
28604 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28606         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
28607         arrays.
28609 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28611         [BZ #17775]
28612         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
28613         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
28614         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
28616 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28618         * sysdeps/i386/tls-macros.h: Include <features.h>.
28619         (TLS_LE): Use non-PIC version for GCC >= 5.0.
28620         (TLS_IE): Likewise.
28621         (TLS_LD): Likewise.
28622         (TLS_GD): Likewise.
28623         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
28624         define for GCC >= 5.0.
28626 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
28628         * math/test-fenv.c (test_single_exception, set_single_exc,
28629         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
28630         feexcp_mask_test, feenable_test, fe_single_test): Add
28631         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
28632         case where they are not used.
28633         * math/libm-test.inc: Likewise.
28634         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
28635         unused in the absence of FP rounding/exception support.
28636         * stdio-common/tst-printf-round.c: Likewise.
28637         * stdlib/tst-strtod-round.c: Likewise.
28638         * stdlib/tst-strtod-underflow.c: Likewise.
28640 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
28642         [BZ #17723]
28643         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
28644         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
28645         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28646         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28647         libm_hidden_weak.
28648         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
28649         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28650         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
28651         libm_hidden_def.
28652         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28653         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28654         libm_hidden_weak.
28655         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
28656         Likewise.
28657         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
28658         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28659         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28660         libm_hidden_weak.
28661         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28662         libm_hidden_def.
28663         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28664         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
28665         (__feraiseexcept): Likewise.
28666         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28667         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28668         libm_hidden_weak.
28669         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28670         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28671         libm_hidden_def.
28672         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
28673         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
28674         Use libm_hidden_def.
28675         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
28676         libm_hidden_def.
28677         (feraiseexcept): Define as weak not strong alias.  Use
28678         libm_hidden_weak.
28679         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
28680         New inline function.  Factored out of ...
28681         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
28682         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
28683         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
28684         feraiseexcept.
28685         * math/w_acos.c (__acos): Likewise.
28686         * math/w_asin.c (__asin): Likewise.
28687         * math/w_ilogb.c (__ilogb): Likewise.
28688         * math/w_j0.c (y0): Likewise.
28689         * math/w_j1.c (y1): Likewise.
28690         * math/w_jn.c (yn): Likewise.
28691         * math/w_log.c (__log): Likewise.
28692         * math/w_log10.c (__log10): Likewise.
28693         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
28694         * sysdeps/aarch64/fpu/math_private.h
28695         (libc_feupdateenv_test_aarch64): Likewise.
28696         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28697         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
28698         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
28699         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28700         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28701         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28702         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
28703         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28704         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28705         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28707 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28709         [BZ #17732]
28710         * io/test-utime.c (main): Replace %ld with %jd and cast to
28711         intmax_t.
28712         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
28713         * nptl/tst-mutex5.c: Include <stdint.h>.
28714         (do_test): Replace %ld with %jd and cast to intmax_t.
28715         * posix/tst-regex.c (run_test): Likewise.
28716         (run_test_backwards): Likewise.
28717         * rt/tst-clock.c: Include <stdint.h>.
28718         (clock_test): Replace %ld with %jd and cast to intmax_t.
28719         * rt/tst-cpuclock1.c: Include <stdint.h>.
28720         (do_test): Replace %lu with %ju and cast to uintmax_t.
28721         * rt/tst-cpuclock2.c: Include <stdint.h>.
28722         (do_test): Replace %lu with %ju and cast to uintmax_t.
28723         * rt/tst-mqueue1.c: Include <stdint.h>.
28724         (check_attrs): Replace %ld with %jd and cast to intmax_t.
28725         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
28726         intmax_t.
28727         * rt/tst-mqueue4.c (do_test): Likewise.
28728         * rt/tst-timer4.c: Include <stdint.h>.
28729         (check_ts): Replace %ld with %jd and cast to intmax_t.
28730         (do_test): Likewise.
28731         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
28732         and cast to intmax_t.
28733         * sysdeps/pthread/tst-timer.c (main): Likewise.
28734         * time/clocktest.c (main): Likewise.
28735         * time/tst-posixtz.c (do_test): Likewise.
28736         * timezone/tst-timezone.c (main): Likewise.
28738 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28739             H.J. Lu  <hongjiu.lu@intel.com>
28741         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
28742         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28743         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
28744         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
28745         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
28746         version if bit_Fast_Unaligned_Load is set.
28747         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28748         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28749         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28750         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28751         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28752         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28753         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28754         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
28755         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
28756         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
28757         to 4.
28758         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
28759         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
28760         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
28761         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
28763 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
28765         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28766         instead of #if to avoid a Wundef warning.
28767         * stdlib/tst-limits.c (do_test): Likewise.
28769         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28770         parallel other exception macros.
28771         (fegetenv): Convert from macro to extern inline so that it applies
28772         retroactively to inline functions already seen by the compiler.
28773         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28775         * posix/Makefile (before-compile): Use $(objpfx) for
28776         posix-conf-vars-def.h.
28778 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28780         * posix/getconf.c (main): Use size_t for type of I.
28781         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28782         NSPEC.
28784         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28785         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28786         * posix/posix-envs.def: Likewise.
28787         * sysdeps/posix/sysconf.c: Likewise.
28788         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28789         (specs): Remove array.
28790         * scripts/gen-posix-conf-vars.awk: Support generation of specs
28791         array.
28793         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28794         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28795         (__sysconf): Use CONF_IS_* macros.
28797         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28798         ($(objpfx)posix-conf-vars-def.h): New target.
28799         * posix/posix-conf-vars.list: New file.
28800         * posix/posix-conf-vars.h: New file.
28801         * posix/confstr.c: Include posix-conf-vars.h.
28802         (confstr): Use CONF_IS_* macros.
28803         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
28804         CONF_IS_* macros.
28805         * scripts/gen-posix-conf-vars.awk: New file.
28807 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
28809         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28810         fegetround): Add no-op macros to avoid linknamespace issues.
28812         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28813         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28815         * sysdeps/unix/sysv/linux/tile/sysdep.h
28816         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28817         assembly-specific section to avoid a redefinition warning.
28819         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28820         long before casting to pointer to avoid a cast warning.
28822 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
28824         * sysdeps/tile/tilegx/Implies: New file.
28826 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
28828         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28830 2014-12-23  Florian Weimer  <fweimer@redhat.com>
28832         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28834 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28836         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
28837         not define.
28838         * sysdeps/unix/sysv/linux/utimes.c: Do not include
28839         <kernel-features.h>.
28840         (__utimes) [__NR_utimes]: Make code unconditional.
28841         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
28842         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28843         (__ASSUME_UTIMES): Do not undefine.
28844         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28845         (__ASSUME_UTIMES): Likewise.
28846         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28847         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
28848         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
28849         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
28851 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28853         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
28855 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
28857         [BZ #17747]
28858         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
28859         alias to weak alias for j0l, y0l.
28860         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28861         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
28863         [BZ #17746]
28864         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28865         conversion.
28867 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28869         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28870         to zero if not already defined.
28872 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28874         [BZ #17724]
28875         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28876         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28877         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28878         (char *) casts added.
28879         * sysdeps/ieee754/k_standardf.c: New file.
28880         * sysdeps/ieee754/k_standardl.c: Likewise.
28881         * math/Makefile (libm-support): Remove k_standard.
28882         (libm-calls): Add k_standard.
28884 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28886         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28887         Optimize to avoid an unnecessary FPCR read.
28889 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28891         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28892         Optimize to reduce FPCR/FPSR accesses.
28894 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28896         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28897         Call libc_fetestexcept_aarch64.
28899 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28901         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
28902         Call libc_fesetround_aarch64.
28904 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28906         [BZ #17733]
28907         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
28908         (__bind): Do not define as weak alias.
28909         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
28910         define.
28911         (__getsockname): Do not define as weak alias.
28913 2014-12-22  Will Newton  <will.newton@linaro.org>
28915         * manual/install.texi: Document that we require bison 2.7
28916         or above.
28917         * INSTALL: Regenerate.
28918         * configure.ac: Use AC_CHECK_PROG_VER instead of
28919         AC_PATH_PROG when checking for bison and check for
28920         version 2.7 or above.
28921         * configure: Regenerate.
28923 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
28925         [BZ #17745]
28926         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
28927         * sysdeps/tile/ffsll.c (ffsll): To here.
28929         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
28931 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28933         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
28934         if not defined.
28935         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
28936         definition.
28937         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28938         hidden ___tls_get_addr.
28939         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28940         hidden __tls_get_addr.
28941         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
28942         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
28943         Likewise.
28945 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28947         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
28948         _dl_init call.
28950 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28952         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
28953         from "call _dl_init@PLT".
28954         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
28956 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
28958         * manual/search.texi: (Array Sort Function): Clarify stable sorting
28959         guarantees.
28961 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
28963         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
28965 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28967         [BZ #17744]
28968         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
28969         strnlen.
28971 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28973         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
28974         of multu on MIPSr6.
28975         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
28976         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
28977         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
28978         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
28979         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
28981 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28983         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
28984         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
28985         (PTR_SUBU): Use subu for mips32r6/mips64r6.
28986         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
28987         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
28988         mips32r6/mips64r6.
28989         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
28991 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
28993         * string/strncat.c (STRNCAT): Simplify implementation.
28995 2014-12-19  David S. Miller  <davem@davemloft.net>
28997         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
28998         access the quad as both a long double and as a series of 4 words.
29000         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
29001         link_map->l_info array access.
29003 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29005         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
29007         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
29008         * math/atest-exp2.c (TIMEOUT): Likewise.
29009         * math/atest-sincos.c (TIMEOUT): Likewise.
29011 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29013         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
29014         -Wno-error with -fno-builtin-lround.
29016 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29018         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
29019         Contains futex constants and functions moved over from ...
29020         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
29021         <lowlevellock-futex.h>.
29022         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29023         (lll_timedwait_tid): Add comments and parentheses around macro
29024         arguments.
29026 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29028         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
29029         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
29030         (__lll_private_flag): Remove.
29031         (lll_futex_wait): Likewise.
29032         (lll_futex_timed_wait): Likewise.
29033         (lll_futex_wake): Likewise.
29034         (lll_futex_requeue): Likewise.
29035         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29036         (__lll_timedwait_tid): Spell out argument names.
29037         (lll_timedwait_tid): Add comments and parentheses around macro
29038         arguments.
29039         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
29040         LLL_SHARED and LLL_PRIVATE usable from assembly code.
29042 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29044         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
29045         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29046         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29047         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
29048         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
29049         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
29050         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
29051         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
29052         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
29053         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
29054         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
29055         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
29056         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
29057         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
29058         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
29059         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
29060         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
29061         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
29062         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
29064 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29066         * sysdeps/x86_64/x32/Makefile: New file.
29068 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29070         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
29071         1L with (mp_limb_t) 1.
29073 2014-12-17  Roland McGrath  <roland@hack.frob.com>
29075         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
29076         * nptl/libc_pthread_init.c: ... here.
29077         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
29078         * nptl/register-atfork.c: ... here.
29080         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
29081         Use pthread_sigmask rather than INTERNAL_SYSCALL.
29082         Use assert_perror to check its return value.
29083         (__gai_create_helper_thread): Likewise.
29085         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
29087         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
29089 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
29091         [BZ #17725]
29092         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
29093         __profil_counter.
29094         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
29095         Likewise.
29096         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
29097         Likewise.
29098         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
29099         Likewise.
29100         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
29101         (profil_counter): Likewise.
29102         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
29103         (profil_counter): Likewise.
29104         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
29105         Likewise.
29106         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
29107         Likewise.
29108         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
29109         (profil_counter): Likewise.
29110         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
29111         Likewise.
29112         [!__profil_counter] (profil_counter): Define as weak alias of
29113         __profil_counter.
29114         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
29115         (profil_counter): Rename to __profil_counter.
29116         [!__profil_counter] (profil_counter): Define as weak alias of
29117         __profil_counter.
29118         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
29119         (profil_counter): Rename to __profil_counter.
29120         [!__profil_counter] (profil_counter): Define as weak alias of
29121         __profil_counter.
29122         * sysdeps/posix/profil.c: Update comment referring to
29123         profil_counter.
29124         (__profil): Use __profil_counter instead of profil_counter.
29125         * sysdeps/posix/sprofil.c (profil_counter): Rename to
29126         __profil_counter.  Use __profil_counter_ushort and
29127         __profil_counter_uint in definitions.
29128         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
29129         instead of profil_counter_uint and profil_counter_ushort.
29131         [BZ #17722]
29132         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
29133         define as weak alias of __inet_makeaddr.
29134         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
29135         as weak alias of __inet_addr.
29136         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
29137         as weak alias of __inet_pton.  Use libc_hidden_weak.
29138         * include/arpa/inet.h (__inet_pton): Declare.  Use
29139         libc_hidden_proto.
29140         (inet_makeaddr): Don't use libc_hidden_proto.
29141         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
29142         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
29143         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
29144         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
29145         Remove variable.
29146         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29147         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29149 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
29151         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
29153 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29155         * stdio-common/bug-vfprintf-nargs.c (do_test):
29156         Cast value to intptr_t to avoid format warning
29157         for usage with PRIdPTR printing macro.
29159 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29161         * libio/tst-widetext.c (do_test):
29162         Use format type %td instead of %Zd for ptrdiff_t
29163         in order to avoid format warning.
29165 2014-12-17  Andreas Schwab  <schwab@suse.de>
29167         * nscd/mem.c (gc): Add size_t cast to match printf format.
29169 2014-12-16  Roland McGrath  <roland@hack.frob.com>
29171         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
29172         (init): Apply PTR_MANGLE to pointers before storing them.
29173         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
29174         before using them.
29176 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
29178         [BZ #17719]
29179         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
29180         define as weak alias of __memrchr.
29181         (__memrchr): Do not define as strong alias of memrchr.
29182         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
29183         Remove variable.
29184         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29185         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29186         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29188         [BZ #17717]
29189         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
29190         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
29191         (if_indextoname): Rename to __if_indextoname and define as weak
29192         alias of __if_indextoname.  Use libc_hidden_weak.
29193         (if_freenameindex): Rename to __if_freenameindex and define as
29194         weak alias of __if_freenameindex.
29195         (if_nameindex): Rename to __if_nameindex and define as weak alias
29196         of __if_nameindex.
29197         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
29198         __if_nametoindex and define as weak alias of __if_nametoindex.
29199         Use libc_hidden_weak.
29200         (if_freenameindex): Rename to __if_freenameindex and define as
29201         weak alias of __if_freenameindex.
29202         (if_nameindex): Rename to __if_nameindex and define as weak alias
29203         of __if_nameindex.
29204         (if_indextoname): Rename to __if_indextoname and define as weak
29205         alias of __if_indextoname.  Use libc_hidden_weak.
29206         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
29207         __if_nametoindex and define as weak alias of __if_nametoindex.
29208         Use libc_hidden_weak.
29209         (if_freenameindex): Rename to __if_freenameindex and define as
29210         weak alias of __if_freenameindex.  Use libc_hidden_weak.
29211         (if_nameindex_netlink): Use __if_freenameindex instead of
29212         if_freenameindex.
29213         (if_nameindex): Rename to __if_nameindex and define as weak alias
29214         of __if_nameindex.  Use libc_hidden_weak.
29215         (if_indextoname): Rename to __if_indextoname and define as weak
29216         alias of __if_indextoname.  Use libc_hidden_weak.
29217         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
29218         libc_hidden_proto.
29219         [!_ISOMAC] (__if_freenameindex): Likewise.
29220         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
29221         if_nametoindex.
29222         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
29223         variable.
29224         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29225         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29226         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29227         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29228         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29229         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29230         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29232         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
29233         Remove variable.
29234         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29235         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29237 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29239         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
29240         subscript above bounds'
29242         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
29243         bounds.
29245 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
29247         * libio/tst-fopenloc.c: Use test-skeleton.c.
29249         * stdlib/tst-bsearch.c: Use test-skeleton.c.
29250         (entry): Rename to ITEM.
29251         (do_test, comp): Adjust.
29253         * stdio-common/tst-fseek.c: Use test-skeleton.c.
29255 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29257         * string/tester.c: Include <libc-internal.h>.
29258         (test_memset): Ignore -Wmemset-transposed-args.
29260 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29262         * misc/tst-mntent2.c (do_test): Fix warning.
29264 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29266         * elf/tst-unique4lib.cc(a): Mark as used.
29268 2014-12-16  Florian Weimer  <fweimer@redhat.com>
29270         [BZ #17630]
29271         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
29272         names.
29274 2014-12-16  Allan McRae  <allan@archlinux.org>
29276         * stdio-common/Makefile (tests): Re-add bug26.
29278 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
29280         [BZ #17657]
29281         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
29282         static array.
29284 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
29286         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
29287         (__lll_lock_wait): Likewise.
29288         (__lll_timedlock_wait): Likewise.
29289         (__lll_timedwait_tid): Likewise.
29290         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
29291         (__lll_robust_timedlock_wait): Likewise.
29292         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
29293         (lll_cond_trylock): Likewise.
29294         (__lll_lock): Likewise.
29295         (__lll_robust_lock): Likewise.
29296         (__lll_cond_lock): Likewise.
29297         (lll_robust_cond_lock): Likewise.
29298         (__lll_timedlock): Likewise.
29299         (__lll_robust_timedlock): Likewise.
29300         (__lll_unlock): Likewise.
29301         (__lll_robust_unlock): Likewise.
29302         (lll_wait_tid): Likewise.
29303         (lll_timedwait_tid): Likewise.
29305 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29307         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
29309 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29311         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
29313 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29315         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
29316         * stdio-common/tst-sprintf.c: Likewise.
29318 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29320         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
29322 2014-12-15  Jeff Law  <law@redhat.com>
29324         [BZ #16617]
29325         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
29326         on the heap.  (CVE-2012-3406)
29327         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
29328         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
29329         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
29331 2014-12-15  Will Newton  <will.newton@linaro.org>
29333         * manual/install.texi: Bump required version of texinfo
29334         to 4.7 from 4.5.
29335         * INSTALL: Regenerated.
29336         * configure.ac: Check for makeinfo version 4.7 and above.
29337         * configure: Regenerated.
29339 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29341         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
29342         PREFIX, string constant to insert between directory and name.
29343         * sysdeps/posix/shm_open.c: Update caller.
29344         * sysdeps/posix/shm_unlink.c: Likewise.
29345         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
29346         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
29347         (SEM_SHM_PREFIX): New macro.
29348         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
29349         [$(have-thread-library) = no].
29350         * nptl/Makefile (libpthread-routines): Add shm-directory.
29351         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
29352         * sysdeps/nptl/shm-directory.h: New file.
29353         * sysdeps/posix/shm-directory.c
29354         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
29355         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29356         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
29357         INTERNAL_SYSCALL.
29358         (__where_is_shmfs): Function removed.
29359         (mountpoint, defaultmount, defaultdir, __namedsem_once):
29360         Variables removed.
29361         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
29362         Use SHM_GET_NAME.
29363         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
29365         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
29366         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29367         unconditional for use inside libpthread.
29368         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
29370 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29372         * nptl/pthread_getaffinity.c: New file.
29373         * nptl/pthread_setaffinity.c: New file.
29374         * nptl/pthread_getname.c: New file.
29375         * nptl/pthread_setname.c: New file.
29377         * nptl/pthread_create.c (START_THREAD_DEFN)
29378         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
29380 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29381             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29383         * resolv/res_send.c (send_vc): Disable warning resplen may
29384         be used uninitialized.
29386 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29388         * nptl/tst-mutex6.c
29389         (ATTR_NULL): New define checks ATTR against NULL.
29390         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
29391         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
29393 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
29395         [BZ #17581]
29396         * malloc/hooks.c
29397         (mem2mem_check): Revert my previous change.
29398         (malloc_check_get_size): Revert my previous change.
29399         (mem2chunk_check): Revert my previous change.
29401 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29403         * sysdeps/posix/shm-directory.c: New file.
29404         * sysdeps/posix/shm-directory.h: New file.
29405         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29406         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29407         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
29408         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29409         Transmute EPERM to EACCES.
29410         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29411         from ...
29412         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
29413         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29415 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29417         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
29418         pointer and cast to uintptr_t.
29419         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
29420         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
29421         Add cast to avoid warning.
29422         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
29424 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29426         * nptl/semaphore.h: Move to ...
29427         * sysdeps/pthread/semaphore.h: ... here.
29428         * Makefile (installed-headers): Change nptl/semaphore.h to
29429         sysdeps/pthread/semaphore.h.
29431 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29433         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
29434         generated error format strings.
29436         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
29437         -Wformat-extra-args warnings for scanf formats.
29438         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
29439         test of zero-length format (duh).
29440         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
29441         corner-case scanf format test.
29442         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
29443         generated fprintf format string.
29444         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
29445         corner-case sprintf format tests.
29446         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
29447         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
29448         -Wformat-extra-args warnings throughout.
29449         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
29450         (CFLAGS-scanf4.c): Likewise.
29451         (CFLAGS-scanf7.c): Likewise.
29452         (CFLAGS-tst-sprintf.c): Likewise.
29453         (CFLAGS-tst-printf.c): Likewise.
29454         (CFLAGS-tst-printfsz.c): Likewise.
29456 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29458         * include/cpio.h: New file.
29459         * include/fmtmsg.h: Likewise.
29461         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
29462         corresponding format argument to size_t.
29463         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
29464         arguments.
29465         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
29466         corresponding format argument to size_t.
29467         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
29468         arguments.
29469         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
29470         corresponding format argument to size_t.
29471         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
29472         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
29473         (CFLAGS-tst-mbswcs2.c): Likewise.
29474         (CFLAGS-tst-mbswcs3.c): Likewise.
29475         (CFLAGS-tst-mbswcs4.c): Likewise.
29476         (CFLAGS-tst-mbswcs5.c): Likewise.
29477         (CFLAGS-tst-trans.c): Likewise.
29479 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29481         * posix/regexbug1.c (main): Use "%s" format with regerror results,
29482         rather than assuming they won't contain any '%'s.
29484 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
29486         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
29487         inhibit_loop_to_libcall to avoid recursive calls.
29488         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
29489         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
29491 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29493         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
29494         prototype.
29496 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29498         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
29499         integer value instead of boolean.
29501 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29503         * malloc/malloc.c: Fix powerof2 check.
29505 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29507         * locale/programs/locfile.h (maybe_swap_uint32):
29508         Remove inline and add unused attribute.
29510 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29512         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29513         Truncating assembler expression to a .long expression.
29515 2014-12-11  Andreas Schwab  <schwab@suse.de>
29517         * elf/rtld.c (struct map_args): Constify str member.
29518         (do_preload): Constify fname argument.
29520 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29522         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
29523         constants definition.
29525 2014-12-11  Andreas Schwab  <schwab@suse.de>
29527         [BZ #16657]
29528         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
29529         FORCE_ELISION instead of DO_ELISION.
29530         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
29531         Remove.
29532         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
29533         Likewise.
29535         * iconvdata/gconv-modules: Remove duplicate entry.
29537 2014-12-11  Will Newton  <will.newton@linaro.org>
29539         Merge gettext 0.19.3 into intl/.
29541         This involves a number of cosmetic changes to comments
29542         and ANSI function definitions and prototypes throughout
29543         all the files. The gettext copyright header is used but
29544         with the date ranges taken from the glibc copy.
29546         * NEWS: Add gettext merge to 2.21.
29547         * intl/bindtextdom.c: Switch to gettext copyright.
29548         Use ANSI definitions and prototypes.
29549         Use gl_* locking primitives rather than __libc_* ones.
29550         Use __builtin_expect rather than __glibc_likely/unlikely.
29551         * intl/dcgettext.c: Switch to gettext copyright.
29552         Use ANSI definitions and prototypes.
29553         * intl/dcigettext.c: Switch to gettext copyright.
29554         Use ANSI definitions and prototypes.
29555         (INTDIV0_RAISES_SIGFPE): New define.
29556         Use gl_* locking primitives rather than __libc_* ones.
29557         Include eval-plural.h instead of plural-eval.c.
29558         Use __builtin_expect rather than __glibc_likely/unlikely.
29559         * intl/dcngettext.c: Switch to gettext copyright.
29560         Use ANSI definitions and prototypes.
29561         * intl/dgettext.c: Likewise.
29562         * intl/dngettext.c: Likewise.
29563         * intl/plural-eval.c: Renamed to...
29564         * intl/eval-plural.h: ...this.
29565         * intl/explodename.c: Switch to gettext copyright.
29566         Use ANSI definitions and prototypes.
29567         (_nl_explode_name): Use strchr instead of __rawmemchr.
29568         * intl/finddomain.c: Switch to gettext copyright.
29569         Use ANSI definitions and prototypes.
29570         Use gl_* locking primitives rather than __libc_* ones.
29571         (_nl_find_domain): Use malloc rather than alloca for
29572         allocation of temporary locale name.
29573         * intl/gettext.c: Switch to gettext copyright.
29574         Use ANSI definitions and prototypes.
29575         * intl/gettextP.h: Switch to gettext copyright.
29576         Use ANSI definitions and prototypes.
29577         Use gl_* locking primitives rather than __libc_* ones.
29578         * intl/gmo.h: Switch to gettext copyright.
29579         (struct sysdep_string): Move struct segment_pair outside of
29580         struct definition.
29581         * intl/hash-string.c: Use ANSI definitions and prototypes.
29582         * intl/hash-string.h: Switch to gettext copyright.
29583         Use ANSI definitions and prototypes.
29584         * intl/l10nflist.c: Switch to gettext copyright.
29585         Use ANSI definitions and prototypes.
29586         (_nl_normalize_codeset): Avoid integer overflow.
29587         * intl/loadinfo.h: Switch to gettext copyright.
29588         Use ANSI definitions and prototypes.
29589         (LIBINTL_DLL_EXPORTED): New define.
29590         (PATH_SEPARATOR): New define.
29591         * intl/loadmsgcat.c: Switch to gettext copyright.
29592         * intl/localealias.c: Switch to gettext copyright.
29593         Use ANSI definitions and prototypes.
29594         (_nl_expand_alias): Use PATH_SEPARATOR.
29595         * intl/ngettext.c: Switch to gettext copyright.
29596         Use ANSI definitions and prototypes.
29597         * intl/plural-exp.c: Likewise.
29598         * intl/plural-exp.h: Switch to gettext copyright.
29599         Use ANSI definitions and prototypes.
29600         (struct expression): Move definition of enum operator outside
29601         of struct definition.
29602         * intl/plural.c: Regenerate.
29603         * intl/plural.y: Switch to gettext copyright.
29604         Use ANSI definitions and prototypes.
29605         Port to bison 3.0.
29606         * intl/textdomain.c: Switch to gettext copyright.
29607         Use ANSI definitions and prototypes.
29608         Use gl_* locking primitives rather than __libc_* ones.
29610 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
29612         * debug/warning-nop.c: Add used atrribute.
29614 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29616         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
29618         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
29619         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
29620         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
29622 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29623             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29625         [BZ #17634]
29626         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
29627         Undefine after defining function.  Define as weak alias of
29628         __wcschr.  Use libc_hidden_weak.
29629         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
29630         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
29631         (libc_hidden_def): Also define __GI___wcschr alias.
29632         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
29633         __wcschr and define as weak alias of __wcschr.
29634         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
29635         __wcschr.
29636         [!WCSCHR] (DEFAULT_WCSCHR): Define.
29637         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
29638         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
29639         libc_hidden_weak.  Do not use libc_hidden_def.
29640         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
29641         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
29642         __GI___wcschr alias.
29643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
29644         [IS_IN (libc)] (wcschr): Define as macro expanding to
29645         __redirect_wcschr.
29646         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
29647         [IS_IN (libc)] (__wcschr_power6): Likewise.
29648         [IS_IN (libc)] (__wcschr_power7): Likewise.
29649         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
29650         instead of wcschr.
29651         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
29652         __libc_wcschr.
29653         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
29654         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
29655         __wcschr and define as weak alias of __wcschr.  Use
29656         libc_hidden_builtin_def.
29657         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
29658         as weak alias of __wcschr.  Use libc_hidden_weak.
29659         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
29660         wcschr.
29661         * time/era.c (_nl_init_era_entries): Likewise.
29662         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
29663         variable.
29664         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29665         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29667 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29669         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
29670         format for long int variable.
29672 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
29674         [BZ #10672]
29675         * manual/search.texi: (Array Sort Function): Remove claim how to make
29676         qsort stable.
29678 2014-12-10  Andreas Schwab  <schwab@suse.de>
29680         [BZ #12847]
29681         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
29682         user-controlled locks.
29684 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
29686         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
29687         register.
29689 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29691         * configure.ac (--disable-werror): New configure option.
29692         (enable_werror): New AC_SUBST.
29693         * configure: Regenerated.
29694         * config.make.in (enable-werror): New variable.
29695         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
29696         -Wno-error=undef.
29697         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
29698         * manual/install.texi (Configuring and compiling): Document
29699         --disable-werror.
29700         * INSTALL: Regenerated.
29701         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
29702         (CFLAGS-tst-chk2.c): Likewise.
29703         (CFLAGS-tst-chk3.c): Likewise.
29704         (CFLAGS-tst-chk4.cc): Likewise.
29705         (CFLAGS-tst-chk5.cc): Likewise.
29706         (CFLAGS-tst-chk6.cc): Likewise.
29707         (CFLAGS-tst-lfschk1.c): Likewise.
29708         (CFLAGS-tst-lfschk2.c): Likewise.
29709         (CFLAGS-tst-lfschk3.c): Likewise.
29710         (CFLAGS-tst-lfschk4.cc): Likewise.
29711         (CFLAGS-tst-lfschk5.cc): Likewise.
29712         (CFLAGS-tst-lfschk6.cc): Likewise.
29714         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
29715         (main): Disable -Wdeprecated-declarations around calls to
29716         register_printf_function.
29718         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
29719         (do_test): Disable -Wdiv-by-zero around some calls to
29720         fwrite_unlocked and fread_unlocked.
29722         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
29723         (DIAG_POP_NEEDS_COMMENT): Likewise.
29724         (_DIAG_STR1): Likewise.
29725         (_DIAG_STR): Likewise.
29726         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
29727         * stdio-common/bug21.c: Include <libc-internal.h>.
29728         (do_test): Disable -Wformat around call to sscanf.
29729         * stdio-common/scanf14.c: Include <libc-internal.h>.
29730         (main): Disable -Wformat around some calls to scanf functions.
29732 2014-12-09  Torvald Riegel  <triegel@redhat.com>
29734         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
29736 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29738         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
29739         stack variable alignment.
29741 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
29743         [BZ #17682]
29744         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
29745         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
29746         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
29747         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29748         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
29749         __getrlimit instead of getrlimit.
29750         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
29751         __gettimeofday instead of gettimeofday.
29752         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29753         Likewise.
29754         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29755         Likewise.
29756         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29757         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
29758         Remove variable.
29759         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29760         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29762 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29764         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
29765         for wide-character tests.
29767 2014-12-04  Roland McGrath  <roland@hack.frob.com>
29769         * io/openat64.c: #include <libc-internal.h>
29770         (__openat64): Prototypify.  Use ignore_value on MODE.
29771         * io/openat.c: Likewise.
29772         * misc/reboot.c: #include <libc-internal.h>
29773         (reboot): Prototypify.  Use ignore_value on HOWTO.
29774         * misc/ptrace.c: #include <libc-internal.h>
29775         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
29777 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
29779         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29780         XPG4, UNIX98 and XOPEN2K.
29781         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29782         Remove variable.
29783         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29785 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29787         * libio/fileops.c: Use ISO C style for function definitions.
29788         * libio/iofopen.c: Likewise.
29789         * libio/wfileops.c: Likewise.
29791         [BZ #17653]
29792         * libio/fileops.c (_IO_new_file_underflow): Unset cached
29793         offset on EOF.
29794         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29795         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29796         (fgets_func): Function pointer to fgets and fgetws.
29797         (do_ftell_test): Add test to verify ftell value after read
29798         EOF.
29799         (do_test): Set fgets_func.
29801         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29802         O_TRUNC flag for w and w+ modes.
29803         (do_rewind_test): Likewise.
29804         (do_ftell_test): Likewise.
29805         (do_write_test): Likewise.
29807         [BZ #17647]
29808         * libio/fileops.c (do_ftell): Seek only when there are
29809         unflushed writes.
29810         * libio/wfileops.c (do_ftell_wide): Likewise.
29811         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29812         test case.
29813         (do_one_test): Call it.
29815 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
29817         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29818         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29819         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29820         Remove variable.
29821         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29822         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29823         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29825 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29827         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29828         Remove variable.
29829         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29831         [BZ #17668]
29832         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29833         as weak alias of __getifaddrs.  Use libc_hidden_weak.
29834         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29835         __freeifaddrs.  Use libc_hidden_weak.
29836         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
29837         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
29838         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29839         __freeifaddrs.  Use libc_hidden_weak.
29840         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
29841         __getifaddrs and define as weak alias of __getifaddrs.  Use
29842         libc_hidden_weak.
29843         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29844         __freeifaddrs.  Use libc_hidden_weak.
29845         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
29846         Remove variable.
29847         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29848         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29850 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29852         [BZ #17601]
29853         * sysdeps/mips/start.S (__start): Use indirect jump to call
29854         __libc_start_main.
29856 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29858         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
29860         * nptl/tst-mutex1.c: Include <stdbool.h>.
29861         [!ATTR] (ATTR_NULL): New macro.
29862         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
29863         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
29864         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29866         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29867         to char *.
29869         [BZ #17665]
29870         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29871         Change conditional to [__USE_MISC].
29873         [BZ #17664]
29874         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29875         fgets_unlocked.
29876         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29877         __fgets_unlocked.
29878         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29879         fgets_unlocked.
29880         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29881         Remove variable.
29882         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29883         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29884         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29885         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29886         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29887         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29888         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29889         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29890         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29892         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29894 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29896         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29897         Remove strpbrk objects.
29898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29899         (__libc_ifunc_impl_list): Remove strpbrk implementation.
29900         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
29901         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
29902         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
29903         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
29905         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29906         Remove strcspn objects.
29907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29908         (__libc_ifunc_impl_list): Remove strcspn implementation.
29909         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
29910         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
29911         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
29912         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
29914         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29915         Remove strspn objetcs.
29916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29917         (__libc_ifunc_impl_list): Remove strspn implementation.
29918         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
29919         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29920         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
29921         * sysdeps/powerpc/powerpc64/strspn.S: New file.
29923 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
29925         [BZ #17581]
29926         * malloc/hooks.c
29927         (mem2mem_check): Add a terminator to the chain of checking blocks.
29928         (malloc_check_get_size): Use it here.
29929         (mem2chunk_check): Ditto.
29931 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29933         * sysdeps/powerpc/powerpc64/strtok.S: New file.
29934         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
29936 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
29938         * bits/ioctl-types.h: Indent preprocessor directives correctly.
29940         * nptl/nptl-init.c: Include libc-internal.h.
29941         (__pthread_initialize_minimal_internal): Use ROUND_UP.
29943         * elf/ldconfig.c (search_dir): Expand comment.
29945 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
29947         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
29948         variable.
29949         (linknamespace-symlist-stdlibs-tests): Likewise.
29950         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
29951         instead of $(objpfx)symlist-stdlibs.
29952         (linknamespace-libs-isoc): New variable.
29953         (linknamespace-libs): Use $(linknamespace-libs-isoc).
29954         (linknamespace-libs-ISO): New variable.
29955         (linknamespace-libs-ISO99): Likewise.
29956         (linknamespace-libs-ISO11): Likewise.
29957         (linknamespace-libs-XPG3): Likewise.
29958         (linknamespace-libs-XPG4): Likewise.
29959         (linknamespace-libs-POSIX): Likewise.
29960         (linknamespace-libs-UNIX98): Likewise.
29961         (linknamespace-libs-XOPEN2K): Likewise.
29962         (linknamespace-libs-POSIX2008): Likewise.
29963         (linknamespace-libs-XOPEN2K8): Likewise.
29964         ($(objpfx)symlist-stdlibs): Replace by
29965         $(linknamespace-symlist-stdlibs-tests).  Use
29966         $(linknamespace-libs-$*) as set of libraries.
29967         ($(linknamespace-header-tests)): Update dependencies.  Use
29968         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
29969         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
29970         * conform/linknamespace.pl: Remove comment about considering
29971         definitions of symbols from irrelevant libraries.
29973 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
29975         [BZ #13862]
29976         * elf/dl-tls.c: Include <atomic.h>.
29977         (oom): Remove #ifdef SHARED/#endif.
29978         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
29979         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
29980         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
29981         big enough.
29982         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
29983         * nptl/Makefile (tests): Add tst-stack4.
29984         (modules-names): Add tst-stack4mod.
29985         ($(objpfx)tst-stack4): New.
29986         (tst-stack4mod.sos): Likewise.
29987         ($(objpfx)tst-stack4.out): Likewise.
29988         ($(tst-stack4mod.sos)): Likewise.
29989         (clean): Likewise.
29990         * nptl/tst-stack4.c: New file.
29991         * nptl/tst-stack4mod.c: Likewise.
29993 2014-11-27  J. Brown  <jb999@gmx.de>
29995         * sysdeps/x86/bits/string.h: Add recent CPUs.
29997 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29999         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
30000         sigblock.
30002         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
30003         feof.
30005         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
30006         variable.
30008 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
30010         * nscd/connections.c: Include libc-internal.h because of macro
30011         usage ignore_value.
30013 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30015         * string/bits/string3.h (__warn_memset_zero_len): Don't
30016         declare for gcc newer than 5.0.
30017         (memset): Don't test for zero-length __LEN for gcc newer than
30018         5.0.
30020 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30022         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
30023         size_t for %zu format.
30025         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
30026         difference, not %ju.
30028 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30030         * include/libc-internal.h (ignore_value): New macro.
30031         * nscd/connections.c (restart): Wrap calls to setuid and setgid
30032         with ignore_value.
30034         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
30035         definition.
30037         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
30038         pthread_cleanup_push to void *.
30040         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
30041         Undefine.
30043         [BZ #16619]
30044         [BZ #16740]
30045         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
30046         instead of 1L << 52.
30048         * libio/bug-rewind.c (do_test): Check fwscanf return values.
30049         * libio/bug-rewind2.c (do_test): Likewise.
30051         * debug/test-stpcpy_chk-ifunc.c: Remove file.
30052         * debug/test-strcpy_chk-ifunc.c: Likewise.
30053         * wcsmbs/test-wcschr-ifunc.c: Likewise.
30054         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30055         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30056         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30057         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30058         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30059         * Rules [$(multi-arch) = no] (tests): Do not filter out
30060         $(tests-ifunc).
30061         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
30062         * debug/Makefile (tests-ifunc): Remove variable.
30063         (tests): Do not add $(tests-ifunc).
30064         * wcsmbs/Makefile (tests-ifunc): Remove variable.
30065         (tests): Do not add $(tests-ifunc).
30066         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
30067         [TEST_IFUNC]: Remove conditionals.
30068         * string/test-string.h (TEST_IFUNC): Remove macro.
30069         [TEST_IFUNC]: Remove conditionals.
30071         * string/test-strchr.c [!WIDE] (L): New macro.
30072         [WIDE] (L): Likewise.
30073         (check1): Use CHAR instead of char.  Use L on string and character
30074         constants.
30076 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
30078         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
30079         tests.
30080         * sysdeps/powerpc/bits/atomic.h
30081         (__arch_atomic_exchange_and_add_32_acq): Add definition.
30082         (__arch_atomic_exchange_and_add_32_rel): Likewise.
30083         (atomic_exchange_and_add_acq): Likewise.
30084         (atomic_exchange_and_add_rel): Likewise.
30085         * sysdeps/powerpc/powerpc32/bits/atomic.h
30086         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30087         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30088         * sysdeps/powerpc/powerpc64/bits/atomic.h
30089         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30090         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30092 2014-11-26  Torvald Riegel  <triegel@redhat.com>
30094         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
30095         Change synchronization of __sched_fifo_min_prio and
30096         __sched_fifo_max_prio.
30097         * nptl/pthread_mutexattr_getprioceiling.c
30098         (pthread_mutexattr_getprioceiling): Likewise.
30099         * nptl/pthread_mutexattr_setprioceiling.c
30100         (pthread_mutexattr_setprioceiling): Likewise.
30101         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
30102         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
30103         Likewise.
30105 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30107         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
30108         void.
30110 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30112         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
30113         third argument const.
30115 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
30117         fnmatch: work around GCC compiler warning bug with uninit var
30118         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
30119         This works around a bug with x86-64 GCC 4.9.2 and earlier
30120         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
30121         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
30122         used uninitialized in this function [-Wmaybe-uninitialized]".
30124 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30126         * posix/bug-regex31.c (main): Return RES not 0.
30128 2014-11-25  Anton Blanchard <anton@samba.org>
30130         * sysdeps/powerpc/bits/atomic.h
30131         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
30133 2014-11-24  Sterling Augustine  <saugustine@google.com>
30135         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
30137 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
30139         [BZ #17608]
30140         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
30142 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
30144         [BZ #17633]
30145         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
30146         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
30147         variable.
30148         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30149         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30151 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30153         * string/strncpy.c (strncpy): Improve performance by using memset.
30155 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30157         * string/strcpy.c (strcpy):
30158         Improve performance by using strlen and memcpy.
30160 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
30162         * string/strcoll_l.c (get_next_seq): __always_inline.
30163         * string/strcoll_l.c (do_compare): __always_inline.
30165 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30167         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
30168         defined.
30169         * include/mqueue.h: Likewise.
30170         * include/stdlib.h: Likewise.
30172         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
30173         (get_null_defines): Adjust.
30174         * sunrpc/Makefile: Adjust comment.
30175         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
30176         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
30177         (CFLAGS-interp.c): Likewise.
30178         (CFLAGS-ldconfig.c): Likewise.
30179         (CPPFLAGS-.os): Likewise.
30180         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30181         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30182         * extra-modules.mk (extra-modules.mk): Likewise.
30183         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
30184         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
30185         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
30186         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
30187         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
30188         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
30189         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
30190         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
30191         * iconvdata/Makefile (CPPFLAGS): Likewise.
30192         (cpp-srcs-left): Add libof for all iconvdata routines.
30193         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
30194         * include/assert.h: Likewise.
30195         * include/ctype.h: Likewise.
30196         * include/errno.h: Likewise.
30197         * include/libc-symbols.h: Likewise.
30198         * include/math.h: Likewise.
30199         * include/netdb.h: Likewise.
30200         * include/resolv.h: Likewise.
30201         * include/stdio.h: Likewise.
30202         * include/stdlib.h: Likewise.
30203         * include/string.h: Likewise.
30204         * include/sys/stat.h: Likewise.
30205         * include/wctype.h: Likewise.
30206         * intl/l10nflist.c: Likewise.
30207         * libidn/idn-stub.c: Likewise.
30208         * libio/libioP.h: Likewise.
30209         * nptl/libc_multiple_threads.c: Likewise.
30210         * nptl/pthreadP.h: Likewise.
30211         * posix/regex_internal.h: Likewise.
30212         * resolv/res_hconf.c: Likewise.
30213         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
30214         * sysdeps/arm/memmove.S: Likewise.
30215         * sysdeps/arm/sysdep.h: Likewise.
30216         * sysdeps/generic/_itoa.h: Likewise.
30217         * sysdeps/generic/symbol-hacks.h: Likewise.
30218         * sysdeps/gnu/errlist.awk: Likewise.
30219         * sysdeps/gnu/errlist.c: Likewise.
30220         * sysdeps/i386/i586/memcpy.S: Likewise.
30221         * sysdeps/i386/i586/memset.S: Likewise.
30222         * sysdeps/i386/i686/memcpy.S: Likewise.
30223         * sysdeps/i386/i686/memmove.S: Likewise.
30224         * sysdeps/i386/i686/mempcpy.S: Likewise.
30225         * sysdeps/i386/i686/memset.S: Likewise.
30226         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30227         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30228         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
30229         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
30230         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30231         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30232         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
30233         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30234         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30235         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30236         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30237         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30238         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30239         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30240         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30241         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30242         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
30243         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
30244         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
30245         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30246         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30247         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30248         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30249         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30250         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30251         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30252         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
30253         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30254         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
30255         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30256         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30257         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30258         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30259         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30260         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30261         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30262         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30263         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30264         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30265         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30266         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30267         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30268         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30269         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30270         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30271         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30272         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
30273         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
30274         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30275         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30276         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30277         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
30278         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
30279         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30280         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30281         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
30282         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30283         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
30284         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
30285         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30286         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30287         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30288         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
30289         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30290         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30291         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
30292         * sysdeps/posix/closedir.c: Likewise.
30293         * sysdeps/posix/opendir.c: Likewise.
30294         * sysdeps/posix/readdir.c: Likewise.
30295         * sysdeps/posix/rewinddir.c: Likewise.
30296         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
30297         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
30298         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30299         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30300         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30301         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
30302         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
30303         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
30304         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
30305         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
30306         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
30307         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
30308         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
30309         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
30310         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
30311         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
30312         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
30313         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
30314         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
30315         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
30316         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
30317         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
30318         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
30319         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
30320         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
30321         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
30322         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
30323         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
30324         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
30325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
30326         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
30327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
30328         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
30329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
30330         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
30331         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
30332         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30333         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30334         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
30335         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
30336         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
30337         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
30338         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
30339         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
30340         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
30341         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
30342         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
30343         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
30344         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
30345         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
30346         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
30347         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
30348         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30349         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
30350         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
30351         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
30352         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
30353         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
30354         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
30355         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
30356         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
30357         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
30358         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30359         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
30360         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
30361         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
30362         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
30363         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
30364         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
30365         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
30366         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
30367         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
30368         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
30369         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
30370         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
30371         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
30372         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
30373         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
30374         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30375         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
30376         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
30377         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30378         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
30379         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
30380         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30381         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
30382         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
30383         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30384         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30385         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30386         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
30387         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
30388         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
30389         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30390         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30391         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
30392         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30393         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30394         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30395         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30396         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30397         * sysdeps/unix/alpha/sysdep.S: Likewise.
30398         * sysdeps/unix/alpha/sysdep.h: Likewise.
30399         * sysdeps/unix/make-syscalls.sh: Likewise.
30400         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30401         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30402         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30403         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30404         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30405         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30406         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30407         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30408         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30409         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30410         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30411         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30412         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30413         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30414         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30415         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30416         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30417         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30418         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30419         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30420         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
30421         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30422         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30423         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30424         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30425         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30426         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30429         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
30430         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30431         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30432         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30433         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30434         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30435         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30436         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30437         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30438         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30439         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30440         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30441         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30442         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30443         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30444         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30445         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30446         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30447         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30449         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30450         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30451         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30452         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30453         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30454         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
30455         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30456         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30457         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30458         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
30459         * sysdeps/x86_64/memcpy.S: Likewise.
30460         * sysdeps/x86_64/memmove.c: Likewise.
30461         * sysdeps/x86_64/memset.S: Likewise.
30462         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
30463         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30464         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30465         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
30466         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
30467         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30468         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30469         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30470         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30471         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30472         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30473         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30474         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
30475         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30476         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30477         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
30478         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30479         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30480         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30481         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30482         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
30483         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30484         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30485         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30486         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30487         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30488         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30489         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
30490         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30491         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30492         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
30493         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30494         * sysdeps/x86_64/strcmp.S: Likewise.
30496         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
30498         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
30499         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
30500         * elf/rtld-Rules: Likewise.
30501         * elf/setup-vdso.h: Likewise.
30502         * include/assert.h: Likewise.
30503         * include/bits/stdlib-float.h: Likewise.
30504         * include/errno.h: Likewise.
30505         * include/sys/stat.h: Likewise.
30506         * include/unistd.h: Likewise.
30507         * sysdeps/aarch64/setjmp.S: Likewise.
30508         * sysdeps/alpha/setjmp.S: Likewise.
30509         * sysdeps/arm/__longjmp.S: Likewise.
30510         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
30511         * sysdeps/arm/setjmp.S: Likewise.
30512         * sysdeps/arm/sysdep.h: Likewise.
30513         * sysdeps/generic/_itoa.h: Likewise.
30514         * sysdeps/generic/dl-sysdep.h: Likewise.
30515         * sysdeps/generic/ldsodefs.h: Likewise.
30516         * sysdeps/i386/dl-tls.h: Likewise.
30517         * sysdeps/i386/setjmp.S: Likewise.
30518         * sysdeps/m68k/setjmp.c: Likewise.
30519         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
30520         * sysdeps/mach/hurd/opendir.c: Likewise.
30521         * sysdeps/posix/getcwd.c: Likewise.
30522         * sysdeps/posix/opendir.c: Likewise.
30523         * sysdeps/posix/profil.c: Likewise.
30524         * sysdeps/powerpc/dl-procinfo.h: Likewise.
30525         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30526         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30527         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30528         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30529         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
30530         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30531         * sysdeps/s390/dl-tls.h: Likewise.
30532         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30533         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30534         * sysdeps/sh/sh3/setjmp.S: Likewise.
30535         * sysdeps/sh/sh4/setjmp.S: Likewise.
30536         * sysdeps/unix/alpha/sysdep.h: Likewise.
30537         * sysdeps/unix/arm/sysdep.S: Likewise.
30538         * sysdeps/unix/i386/sysdep.S: Likewise.
30539         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30540         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30541         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30542         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30543         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30544         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30545         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30546         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30547         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30548         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30549         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30550         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30551         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30554         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30555         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30556         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30557         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30558         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30559         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30560         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30561         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30562         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30563         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30564         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30565         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30566         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30567         * sysdeps/x86_64/setjmp.S: Likewise.
30569         * include/math.h: Use IS_IN instead of IS_IN_libm.
30570         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
30571         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30572         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30573         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
30574         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30575         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30576         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30577         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30578         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30579         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30580         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
30581         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
30582         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
30583         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
30584         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
30585         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
30586         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30587         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
30588         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30589         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
30590         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
30591         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
30592         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
30593         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
30594         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
30595         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
30596         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
30597         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30598         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30599         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
30600         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
30601         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30602         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
30604         Likewise.
30605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
30606         Likewise.
30607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
30608         Likewise.
30609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
30610         Likewise.
30611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
30612         Likewise.
30613         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30614         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
30615         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30616         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30617         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30618         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
30620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
30621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
30622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
30623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
30624         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
30625         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
30626         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30627         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30628         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30629         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30630         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30631         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30632         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30633         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
30634         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
30635         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
30636         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
30637         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
30638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30639         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
30641         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
30642         * nptl/pthreadP.h: Likewise.
30643         * nptl_db/structs.def: Likewise.
30644         * sysdeps/arm/sysdep.h: Likewise.
30645         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30646         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30647         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
30648         * sysdeps/unix/alpha/sysdep.h: Likewise.
30649         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30650         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30651         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30652         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30653         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30654         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30655         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30656         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30657         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30658         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30659         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30660         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30661         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30662         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30665         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30666         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30667         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30668         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30669         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30670         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30671         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30672         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30673         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
30674         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30676         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
30677         * nptl/pthreadP.h: Likewise.
30678         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30679         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30680         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30681         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30682         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30683         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30684         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30685         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30686         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30687         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30688         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30689         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30691         Likewise.
30692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30693         Likewise.
30694         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30695         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30696         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30697         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30698         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30699         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30700         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30701         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30703         * dlfcn/dladdr.c: Use IS_IN.
30704         * dlfcn/dladdr1.c: Likewise.
30705         * dlfcn/dlclose.c: Likewise.
30706         * dlfcn/dlerror.c: Likewise.
30707         * dlfcn/dlinfo.c: Likewise.
30708         * dlfcn/dlmopen.c: Likewise.
30709         * dlfcn/dlopen.c: Likewise.
30710         * dlfcn/dlsym.c: Likewise.
30711         * dlfcn/dlvsym.c: Likewise.
30713         * include/ifaddrs.h: Use IS_IN.
30714         * inet/check_pf.c: Likewise.
30715         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30716         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
30718         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
30719         IS_IN_ldconfig.
30720         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
30721         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
30723         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
30724         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
30725         IS_IN (libc).
30727         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
30729         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
30730         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30731         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30732         * include/libc-symbols.h (IS_IN_LIB): New macro.
30733         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
30734         * include/netdb.h: Likewise.
30735         * include/stap-probe.h: Remove all uses of IN_LIB.
30737         * Makeconfig (module-cppflags-real): Define MODULE_NAME
30738         instead of IN_MODULE.
30739         * include/libc-symbols.h (IN_MODULE): Define using
30740         MODULE_NAME.
30741         (PASTE_NAME, PASTE_NAME1): New macros.
30742         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
30743         of IN_LIB.
30744         (STAP_PROBE_ASM): Likewise.
30746 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30748         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
30749         __mach_init in dlopened libc.
30751 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
30753         * sysdeps/arm/preconfigure.ac: Delete EABI check.
30754         * sysdeps/arm/preconfigure: Regenerate.
30756 2014-11-21  Roland McGrath  <roland@hack.frob.com>
30758         * nptl/pthread_create.c (__pthread_create_2_1): Set
30759         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
30760         when copying values from IATTR into PD.
30762 2014-11-21  Will Newton  <will.newton@linaro.org>
30763             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
30765         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30766         Refactor inline-asm.  Also add comment.
30768         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30769         ElfW macro instead of hardcoded Elf64 types.
30770         (la_aarch64_gnu_pltenter): Likewise.
30771         * sysdeps/aarch64/dl-machine.h
30772         (elf_machine_runtime_setup): Use ElfW(Addr).
30774         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30775         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30776         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30777         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30778         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30779         (R_AARCH64_TLS_DTPMOD64): Rename to ..
30780         (R_AARCH64_TLS_DTPMOD): This.
30781         (R_AARCH64_TLS_DTPREL64): Rename to ...
30782         (R_AARCH64_TLS_DTPREL): This.
30783         (R_AARCH64_TLS_TPREL64): Rename to ...
30784         (R_AARCH64_TLS_TPREL): This.
30785         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30786         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30787         R_AARCH64_TLS_TPREL64.
30788         (elf_machine_rela): Likewise.
30790 2014-11-21  Torvald Riegel  <triegel@redhat.com>
30792         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30793         by setting it to 0.  64b atomics are not supported currently.
30795 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30797         [BZ #16469]
30798         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30799         search domain names.
30801 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30803         [BZ #16469]
30804         * NEWS: Update.
30805         * resolv/res_query.c (__libc_res_nquerydomain): Retain
30806         trailing dot.
30807         * posix/tst-getaddrinfo5.c: New.
30808         * posix/Makefile (tests): Add it.
30810 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30812         [BZ #14498]
30813         * NEWS: Fixed.
30814         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30815         after parsing line but before break_if_match.
30816         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30817         if there is a protocol mismatch.
30819 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30821         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30822         because the potential race is on the user-supplied stream.
30824 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30826         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30827         string literal if not passed a buffer.
30828         * manual/job.texi (ctermid): Update reasoning, note deviation
30829         from posix, suggest mtasurace when not passed a buffer, for
30830         future non-preliminary safety notes.
30832 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30834         * manual/users.texi (cuserid): Fix MT-Safety note for the case
30835         of not passing it a buffer.
30836         Reported by Peng Haitao.
30838 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30840         * manual/Makefile ($(objpfx)stamp-summary): Require
30841         check-safety.sh to pass.
30842         * manual/check-safety.sh: Wish for verification that every
30843         @deftypefn and @deftypefun is followed by a @safety remark.
30845 2014-11-20  Roland McGrath  <roland@hack.frob.com>
30847         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
30849         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
30850         PTHREAD_CANCEL_ASYNCHRONOUS.
30851         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
30852         send SIGCANCEL.
30854         * nptl/default-sched.h: New file.
30855         * sysdeps/unix/sysv/linux/default-sched.h: New file.
30856         * nptl/pthread_create.c: Include it.
30857         (__pthread_create_2_1): Use collect_default_sched instead of making
30858         Linux syscalls here directly.
30860 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30862         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
30863         __pthread_once): Use C11 atomics.
30865 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30867         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30869 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30871         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30872         atomic_thread_fence_acquire, atomic_thread_fence_release,
30873         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30874         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30875         atomic_compare_exchange_weak_relaxed,
30876         atomic_compare_exchange_weak_acquire,
30877         atomic_compare_exchange_weak_release,
30878         atomic_exchange_acquire, atomic_exchange_release,
30879         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30880         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30881         atomic_fetch_and_acquire,
30882         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30884 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30886         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30887         USE_ATOMIC_COMPILER_BUILTINS): Define.
30888         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30889         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30890         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30891         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30892         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30893         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30894         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30895         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30896         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30897         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30898         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
30899         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30900         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
30901         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30902         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
30903         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30904         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30905         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30906         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30907         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30908         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
30909         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30910         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30911         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30912         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
30913         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30914         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30915         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30916         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
30917         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30918         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
30919         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30920         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
30921         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30922         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30923         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30924         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
30925         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30926         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
30927         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30929 2014-11-19  Roland McGrath  <roland@hack.frob.com>
30931         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
30932         the sched_priority value here.  It was already checked when the user
30933         called pthread_attr_setschedparam.
30935         * nptl/tst-bad-schedattr.c: New file.
30936         * nptl/Makefile (tests): Add it.
30938 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
30939             Florian Weimer  <fweimer@redhat.com>
30940             Joseph Myers  <joseph@codesourcery.com>
30941             Adam Conrad  <adconrad@0c3.net>
30942             Andreas Schwab  <schwab@suse.de>
30943             Brooks  <bmoses@google.com>
30945         [BZ #17625]
30946         * wordexp-test.c (__dso_handle): Add prototype.
30947         (__register_atfork): Likewise.
30948         (__app_register_atfork): New function.
30949         (registered_forks): New global.
30950         (register_fork): New function.
30951         (test_case): Add 3 new tests for WRDE_CMDSUB.
30952         (main): Call __app_register_atfork.
30953         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
30954         fork count is non-zero fail the test.
30955         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
30956         is set.
30957         (parse_dollars): Remove check for WRDE_NOCMD.
30958         (parse_dquote): Likewise.
30960 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30962         * Makeconfig (built-modules): List non-library modules to be
30963         built.
30964         (module-cppflags): Include libc-modules.h for
30965         everything except shlib-versions.v.i.
30966         (CPPFLAGS): Use it.
30967         (before-compile): Add libc-modules.h.
30968         ($(common-objpfx)libc-modules.h,
30969         $(common-objpfx)libc-modules.stmp): New targets.
30970         (common-generated): Add libc-modules.h and libc-modules.stmp.
30971         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
30972         * include/libc-symbols.h: Don't include libc-modules.h.
30973         * include/libc-modules.h: Remove file.
30974         * scripts/gen-libc-modules.awk: New script to generate
30975         libc-modules.h.
30976         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
30977         Depend on libc-modules.stmp.
30979         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
30981         * Makeconfig (in-module): Get value of libof set for the
30982         translation unit.
30983         (CPPFLAGS): Use $(in-module).
30984         * Makerules: Don't suffix routine names for nonlib.
30985         * include/libc-modules.h: New file.
30986         * include/libc-symbols.h: Include libc-modules.h
30987         (IS_IN): New macro to replace IS_IN_* macros.
30988         * elf/Makefile: Set libof-* for each routine.
30989         * elf/rtld-Rules: Likewise.
30990         * extra-modules.mk: Likewise.
30991         * iconv/Makefile: Likewise.
30992         * iconvdata/Makefile: Likewise.
30993         * locale/Makefile: Likewise.
30994         * malloc/Makefile: Likewise.
30995         * nss/Makefile: Likewise.
30996         * sysdeps/gnu/Makefile: Likewise.
30997         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
30998         * sysdeps/unix/sysv/linux/Makefile: Likewise.
30999         * sysdeps/s390/s390-64/Makefile: Likewise.
31000         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
31001         CPPFLAGS for nscd instead of nonlib.
31003 2014-11-18  Roland McGrath  <roland@hack.frob.com>
31005         * nptl/createthread.c: New file.
31007         * nptl/createthread.c: Moved ...
31008         * sysdeps/unix/sysv/linux/createthread.c: ... here.
31010         * nptl/createthread.c: Add proper top-line comment.
31011         (do_clone): Folded into ...
31012         (create_thread): ... here.  Take new arguments STOPPED_START and
31013         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
31014         increment __nptl_threads, do event-reporting logic, do
31015         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
31016         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
31017         resource cleanup if sched_setaffinity or sched_setscheduler fails,
31018         just send SIGCANCEL.
31019         * nptl/pthread_create.c: Forward-declare create_thread before
31020         including createthread.c.
31021         (start_thread): Use new macro START_THREAD_DEFN to replace defining
31022         declaration, and new macro START_THREAD_SELF to replace argument.
31023         Remove return statement.
31024         (report_thread_creation): New function.
31025         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
31026         synchronization logic, and __nptl_nthreads increment here, around
31027         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
31028         PD->parent_cancelhandling here, before create_thread.  When
31029         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
31030         __deallocate_stack, and ENOMEM translation here.
31032 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
31034         [BZ #17616]
31035         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
31036         (mptwo): Rename to __mptwo.
31037         (__inv): Use __mptwo instead of mptwo.
31038         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
31039         (mptwo): Rename to __mptwo.
31040         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
31041         of mpone and __mptwo instead of mptwo.
31042         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
31043         instead of mpone.
31044         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31045         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
31046         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
31047         of mpone and __mptwo instead of mptwo.
31048         (__mpranred): Use __mpone instead of mpone.
31049         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
31050         variable.
31051         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31052         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31053         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31054         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31055         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31056         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31057         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31058         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31059         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31060         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31061         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31062         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31063         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31064         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31065         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31066         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31067         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31068         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31069         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31071 2014-11-18  Tom de Vries  <tom@codesoucery.com>
31073         * manual/signal.texi (Primitives Interrupted by Signals): In section,
31074         replace BSD Handler xref with BSD Signal Handling.
31076 2014-11-17  Richard Henderson  <rth@redhat.com>
31078         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
31079         (_FP_PACK_RAW_2): Remove.
31080         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
31081         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
31082         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
31083         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
31084         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
31085         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
31086         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
31087         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
31088         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
31089         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
31090         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
31091         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
31092         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
31093         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
31094         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
31095         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
31097 2014-11-14  Roland McGrath  <roland@hack.frob.com>
31099         * signal/signal.h [__USE_MISC]
31100         (struct sigvec): Remove type.
31101         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
31102         (sigvec): Remove declaration.
31103         * sysdeps/posix/sigvec.c: Moved ...
31104         * signal/sigvec.c: ... here, replacing old file.
31105         (struct sigvec): New type, copied from old signal.h definition.
31106         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
31107         (__sigvec): Convert definition to prototype.
31108         (sigvec): Replace weak_alias with compat_symbol.
31109         * signal/Versions (libc: GLIBC_2.21): New version set.
31110         * include/signal.h: Remove __sigvec declaration.
31111         * sysdeps/unix/bsd/sigvec.c: Remove file.
31112         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
31113         * manual/signal.texi (BSD Handler): Remove subsection.
31114         Move siginterrupt up to ...
31115         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
31116         (Blocking in BSD): Fold subsection into its parent.
31117         * NEWS: Mention sigvec removal.
31119 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31121         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
31122         (DLA_FMS): Make definition conditional only on [__FMA4__].
31123         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
31124         definition.
31126         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
31127         Make definition conditional only on [PROF].
31128         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
31129         definition.
31130         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
31131         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
31133         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
31134         !__GNUC__].
31135         * include/signal.h (__sigpause): Move declaration above call to
31136         libc_hidden_proto.
31137         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
31138         variable.
31139         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31140         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31142 2014-11-14  David S. Miller  <davem@davemloft.net>
31144         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
31145         Define before including <string/memcpy.c> and <string/mempcpy.c>.
31147 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31149         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
31150         * configure: Regenerated.
31151         * manual/install.texi (Tools for Compilation): Document a
31152         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
31153         compiler verified to work.
31154         * INSTALL: Regenerated.
31156         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
31157         redeclare with asm name.
31158         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
31159         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
31160         including <string.h>.
31161         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31162         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
31163         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31164         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
31165         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31166         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31167         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31169 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
31171         * stdlib/strtol.c (__strtol): Use prototype definition.
31173         [BZ #17594]
31174         * stdlib/strtol.c (SYM__): New macro.
31175         (SYM__1): Likewise.
31176         (__strtol): Likewise.
31177         (strtol): Rename to __strtol and define as weak alias of
31178         __strtol.  Use libc_hidden_weak.
31180 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31182         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
31183         Use numbered labels in inline assembly.
31185 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31187         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
31188         Add setjmp LIBC_PROBE.
31189         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
31190         Likewise.
31191         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
31192         Add longjmp, longjmp_target LIBC_PROBE.
31193         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
31194         Likewise.
31196 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31198         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31199         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
31200         to get rid of unused variable warning.
31202 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31204         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
31205         Check for unwind_backtrace ==  NULL only in SHARED case.
31206         (__backchain_backtrace): Compile only in SHARED case.
31207         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
31208         Likewise.
31209         (__backchain_backtrace): Declare as static.
31211 2014-11-12  Roland McGrath  <roland@hack.frob.com>
31213         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
31214         (__libc_multiple_threads_ptr): Variable moved ...
31215         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
31217 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
31219         * conform/GlibcConform.pm: New file.
31220         * conform/conformtest.pl: Use GlibcConform module.
31221         * conform/linknamespace.pl: New file.
31222         * conform/list-header-symbols.pl: Likewise.
31223         * conform/Makefile (linknamespace-symlists-base): New variable.
31224         (linknamespace-symlists-tests): Likewise.
31225         (linknamespace-header-base): Likewise.
31226         (linknamespace-header-tests): Likewise.
31227         (tests-special): Add new tests.
31228         ($(linknamespace-symlists-tests)): New rule.
31229         (linknamespace-libs): New variable.
31230         ($(objpfx)symlist-stdlibs): New rule.
31231         ($(linknamespace-header-tests)): Likewise.
31232         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
31233         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
31234         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
31235         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
31236         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
31237         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
31238         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
31239         (test-xfail-ISO/math.h/linknamespace): Likewise.
31240         (test-xfail-ISO/signal.h/linknamespace): Likewise.
31241         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
31242         (test-xfail-ISO/time.h/linknamespace): Likewise.
31243         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31244         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
31245         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31246         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31247         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31248         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31249         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31250         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31251         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31252         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31253         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31254         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31255         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31256         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
31257         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
31258         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31259         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
31260         (test-xfail-XPG3/search.h/linknamespace): Likewise.
31261         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
31262         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31263         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
31264         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31265         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31266         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
31267         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31268         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31269         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
31270         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
31271         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31272         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
31273         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31274         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31275         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31276         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31277         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
31278         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
31279         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
31280         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
31281         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31282         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
31283         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31284         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
31285         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31286         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31287         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31288         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
31289         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
31290         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31291         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31292         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
31293         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31294         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31295         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
31296         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31297         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31298         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31299         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31300         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31301         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31302         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31303         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31304         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31305         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
31306         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31307         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31308         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31309         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
31310         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31311         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31312         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
31313         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31314         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31315         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31316         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31317         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31318         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31319         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
31320         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
31321         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31322         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
31323         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31324         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
31325         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31326         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31327         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31328         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
31329         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31330         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31331         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31332         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
31333         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
31334         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
31335         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31336         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31337         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31338         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31339         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
31340         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
31341         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31342         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31343         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31344         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31345         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31346         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31347         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31348         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31349         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31350         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31351         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
31352         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31353         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31354         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
31355         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31356         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31357         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31358         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31359         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31360         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31361         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31362         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31363         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31364         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31365         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31366         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31367         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31368         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31369         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
31370         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31371         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31372         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31373         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31374         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31375         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
31376         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31377         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31378         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31379         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31380         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31381         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31382         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31383         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31384         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31385         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31386         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31387         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31388         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31389         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
31390         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31391         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31392         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31394         [BZ #17589]
31395         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31396         of fgets_unlocked.
31398         [BZ #17585]
31399         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31400         (memmem): Rename to __memmem and define as weak alias of
31401         __memmem.  Use libc_hidden_weak.
31402         (__memmem): Use libc_hidden_def.
31403         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
31404         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31405         memmem.
31407         [BZ #17582]
31408         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31409         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
31410         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31411         and define as weak alias of __fgets_unlocked.  Use
31412         libc_hidden_weak.
31413         (__fgets_unlocked): Use libc_hidden_def.
31414         * include/stdio.h (__fgets_unlocked): Declare.  Use
31415         libc_hidden_proto.
31416         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31417         __fgets_unlocked instead of fgets_unlocked.
31418         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
31419         (GET_NPROCS_CONF_PARSER): Likewise.
31420         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
31421         (GET_NPROCS_CONF_PARSER): Likewise.
31423         [BZ #17574]
31424         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
31425         weak alias of __wmemset.  Use libc_hidden_weak.
31426         (__wmemset): Use libc_hidden_def.
31427         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
31428         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
31429         of wmemset.
31431         [BZ #17573]
31432         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
31433         with asm name __mempcpy.
31434         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
31436         [BZ #17572]
31437         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
31438         and define as weak alias of __rawmemchr.
31439         (__rawmemchr): Do not define as strong alias of rawmemchr.
31441         [BZ #17571]
31442         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
31443         alias of __qsort_r.
31444         (qsort): Call __qsort_r instead of qsort_r.
31445         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
31446         (__qsort_r): Declare.  Call libc_hidden_proto.
31447         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
31448         instead of qsort_r.
31449         * nscd/gai.c (__qsort_r): Define to qsort_r.
31450         * posix/tst-rfc3484.c (__qsort_r): Likewise.
31451         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
31452         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
31454         [BZ #17570]
31455         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
31456         define as weak alias of __malloc_info.
31458         [BZ #17584]
31459         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
31460         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31461         (__rewinddir): Use libc_hidden_def.
31462         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
31463         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31464         (__rewinddir): Use libc_hidden_def.
31465         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
31466         weak alias of __rewinddir.  Don't use libc_hidden_def.
31467         (__rewinddir): Use libc_hidden_def.
31468         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31469         (__rewinddir): Use libc_hidden_proto.
31470         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
31471         rewinddir.
31472         (__getcwd): Use __rewinddir instead of rewinddir.
31474         [BZ #17583]
31475         * libio/fileno.c (fileno): Rename to __fileno and define as weak
31476         alias of __fileno.  Use libc_hidden_weak.
31477         (__fileno): Use libc_hidden_def.
31478         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
31479         * libio/ftello.c (ftello): Rename to __ftello and define as weak
31480         alias of __ftello.
31481         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31482         __ftello.
31483         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
31484         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
31485         libc_hidden_def.
31486         (fread_unlocked): Don't use libc_hidden_ver.
31487         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
31488         and define as weak alias of __fread_unlocked.  Don't use
31489         libc_hidden_def.
31490         (__fread_unlocked): Use libc_hidden_def.
31491         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
31492         (ftello): Don't use libc_hidden_proto.
31493         (__ftello): Declare.  Use libc_hidden_proto.
31494         (fread_unlocked): Don't use libc_hidden_proto.
31495         (__fread_unlocked): Declare.  Use libc_hidden_proto.
31496         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
31497         and __ftello instead of fileno, fread_unlocked and ftello.
31499 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31501         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
31502         GOT12.
31503         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31504         Likewise.
31505         (_dl_start_user): Likewise.
31506         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
31508 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
31509             Siddhesh Poyarekar  <siddhesh@redhat.com>
31511         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
31512         Move argv and envp down instead of moving argc up.
31513         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
31515 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
31517         [BZ #17506]
31518         * test-skeleton.c (main): Return successful if one of
31519         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
31520         * string/tst-strcoll-overflow.c: Define expected status.
31522 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
31524         [BZ #17475]
31525         * locale/iso-639.def: Define Bhili and Tulu language codes.
31527 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
31529         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
31531 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
31533         [BZ #17555]
31534         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
31536 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31538         * configure.ac: Updated check of minimal required version to
31539         2.22.
31540         * manual/install.texi (Tools for Compilation): Updated version
31541         number.
31542         * configure: Regenerated.
31543         * INSTALL: Likewise.
31545 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
31547         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
31548         __tls_get_addr.
31550 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
31552         * include/sys/wait.h (__libc_waitpid): Remove declaration.
31553         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
31554         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31555         libc_hidden_weak.
31556         (waitpid): Define as alias of __waitpid.
31557         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
31558         __waitpid.
31559         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31560         libc_hidden_weak.
31561         (waitpid): Define as alias of __waitpid.
31562         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
31563         __libc_waitpid alias.
31564         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
31565         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
31566         Likewise.
31567         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
31568         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
31569         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
31570         alias.
31571         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
31572         __waitpid.
31573         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31574         libc_hidden_weak.
31575         (waitpid): Define as alias of __waitpid.
31577 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
31579         * manual/llio.texi: Add comment that write safety has been
31580         fixed in Linux.
31582         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
31583         (localplt-build-dso): Add elf/ld.so.
31584         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
31585         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
31586         and free for ld.so.
31587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
31588         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
31589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
31590         Likewise.
31591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31592         Likewise.
31593         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
31594         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
31595         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
31596         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
31597         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
31598         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
31599         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
31600         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
31601         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
31602         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
31603         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31605 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
31607         [BZ #14132]
31608         * include/libc-symbols.h (INTUSE): Remove macro.
31609         (INTDEF): Likewise.
31610         (INTVARDEF): Likewise.
31611         (_INTVARDEF): Likewise.
31612         (INTDEF2): Likewise.
31613         (INTVARDEF2): Likewise.
31614         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
31615         rtld_hidden_def instead of INTVARDEF.
31616         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
31617         (_dl_starting_up_internal): Remove declaration.
31618         (_dl_starting_up): Use rtld_hidden_proto.
31619         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
31620         declaration.
31621         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
31622         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
31623         _dl_starting_up.
31624         * elf/dl-writev.h (_dl_writev): Likewise.
31625         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
31626         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
31627         _dl_starting_up_internal.
31629 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31631         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31632         test-skeleton.c.
31634 2014-11-05  Will Newton  <will.newton@linaro.org>
31636         * benchtests/Makefile: (bench-malloc): Add malloc thread
31637         scalability benchmark.
31638         * benchtests/bench-malloc-threads.c: New file.
31640 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
31642         * sysdeps/aarch64/strchrnul.S: New file.
31644 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31646         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
31647         definition.
31648         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31649         Likwise.
31650         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31651         Likewise.
31652         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31653         Likewise.
31654         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31655         Likewise.
31656         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31657         Likewise.
31659 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
31661         * catgets/test-gencat.c: Use test-skeleton.c.
31662         * catgets/tst-catgets.c: Likewise.
31663         * csu/tst-empty.c: Likewise.
31664         * elf/tst-audit2.c: Likewise.
31665         * elf/tst-global1.c: Likewise.
31666         * elf/tst-pathopt.c: Likewise.
31667         * elf/tst-piemod1.c: Likewise.
31668         * elf/tst-tls10.c: Likewise.
31669         * elf/tst-tls11.c: Likewise.
31670         * elf/tst-tls12.c: Likewise.
31671         * gnulib/tst-gcc.c: Likewise.
31672         * iconvdata/tst-e2big.c: Likewise.
31673         * iconvdata/tst-loading.c: Likewise.
31674         * iconv/tst-iconv1.c: Likewise.
31675         * iconv/tst-iconv2.c: Likewise.
31676         * inet/test-inet6_opt.c: Likewise.
31677         * inet/tst-gethnm.c: Likewise.
31678         * inet/tst-network.c: Likewise.
31679         * inet/tst-ntoa.c: Likewise.
31680         * intl/tst-codeset.c: Likewise.
31681         * intl/tst-gettext2.c: Likewise.
31682         * intl/tst-gettext3.c: Likewise.
31683         * intl/tst-ngettext.c: Likewise.
31684         * intl/tst-translit.c: Likewise.
31685         * io/test-stat.c: Likewise.
31686         * libio/test-fmemopen.c: Likewise.
31687         * libio/tst-freopen.c: Likewise.
31688         * libio/tst-sscanf.c: Likewise.
31689         * libio/tst-ungetwc1.c: Likewise.
31690         * libio/tst-ungetwc2.c: Likewise.
31691         * libio/tst-widetext.c: Likewise.
31692         * localedata/tst-ctype.c: Likewise.
31693         * localedata/tst-digits.c: Likewise.
31694         * localedata/tst-leaks.c: Likewise.
31695         * localedata/tst-mbswcs1.c: Likewise.
31696         * localedata/tst-mbswcs2.c: Likewise.
31697         * localedata/tst-mbswcs3.c: Likewise.
31698         * localedata/tst-mbswcs4.c: Likewise.
31699         * localedata/tst-mbswcs5.c: Likewise.
31700         * localedata/tst-setlocale.c: Likewise.
31701         * localedata/tst-trans.c: Likewise.
31702         * localedata/tst-wctype.c: Likewise.
31703         * localedata/tst-xlocale1.c: Likewise.
31704         * login/tst-grantpt.c: Likewise.
31705         * malloc/tst-calloc.c: Likewise.
31706         * malloc/tst-malloc.c: Likewise.
31707         * malloc/tst-mallocstate.c: Likewise.
31708         * malloc/tst-mcheck.c: Likewise.
31709         * malloc/tst-mtrace.c: Likewise.
31710         * malloc/tst-obstack.c: Likewise.
31711         * math/atest-exp2.c: Likewise.
31712         * math/atest-exp.c: Likewise.
31713         * math/atest-sincos.c: Likewise.
31714         * math/test-matherr.c: Likewise.
31715         * math/test-misc.c: Likewise.
31716         * math/test-powl.c: Likewise.
31717         * math/tst-definitions.c: Likewise.
31718         * misc/tst-dirname.c: Likewise.
31719         * misc/tst-efgcvt.c: Likewise.
31720         * misc/tst-fdset.c: Likewise.
31721         * misc/tst-hsearch.c: Likewise.
31722         * misc/tst-mntent2.c: Likewise.
31723         * nptl/tst-sem7.c: Likewise.
31724         * nptl/tst-sem8.c: Likewise.
31725         * nptl/tst-sem9.c: Likewise.
31726         * nss/test-netdb.c: Likewise.
31727         * posix/tst-fnmatch.c: Likewise.
31728         * posix/tst-getlogin.c: Likewise.
31729         * posix/tst-gnuglob.c: Likewise.
31730         * posix/tst-mmap.c: Likewise.
31731         * pwd/tst-getpw.c: Likewise.
31732         * resolv/tst-inet_ntop.c: Likewise.
31733         * rt/tst-timer.c: Likewise.
31734         * stdio-common/test-fseek.c: Likewise.
31735         * stdio-common/test-popen.c: Likewise.
31736         * stdio-common/test-vfprintf.c: Likewise.
31737         * stdio-common/tst-cookie.c: Likewise.
31738         * stdio-common/tst-fileno.c: Likewise.
31739         * stdio-common/tst-gets.c: Likewise.
31740         * stdio-common/tst-obprintf.c: Likewise.
31741         * stdio-common/tst-perror.c: Likewise.
31742         * stdio-common/tst-sprintf2.c: Likewise.
31743         * stdio-common/tst-sprintf3.c: Likewise.
31744         * stdio-common/tst-sprintf.c: Likewise.
31745         * stdio-common/tst-swprintf.c: Likewise.
31746         * stdio-common/tst-tmpnam.c: Likewise.
31747         * stdio-common/tst-unbputc.c: Likewise.
31748         * stdio-common/tst-wc-printf.c: Likewise.
31749         * stdlib/tst-environ.c: Likewise.
31750         * stdlib/tst-fmtmsg.c: Likewise.
31751         * stdlib/tst-limits.c: Likewise.
31752         * stdlib/tst-rand48-2.c: Likewise.
31753         * stdlib/tst-rand48.c: Likewise.
31754         * stdlib/tst-random2.c: Likewise.
31755         * stdlib/tst-random.c: Likewise.
31756         * stdlib/tst-strtol.c: Likewise.
31757         * stdlib/tst-strtoll.c: Likewise.
31758         * stdlib/tst-tls-atexit.c: Likewise.
31759         * stdlib/tst-xpg-basename.c: Likewise.
31760         * string/test-ffs.c: Likewise.
31761         * string/tst-bswap.c: Likewise.
31762         * string/tst-inlcall.c: Likewise.
31763         * string/tst-strtok.c: Likewise.
31764         * string/tst-strxfrm.c: Likewise.
31765         * sysdeps/x86_64/tst-audit10.c: Likewise.
31766         * sysdeps/x86_64/tst-audit3.c: Likewise.
31767         * sysdeps/x86_64/tst-audit4.c: Likewise.
31768         * sysdeps/x86_64/tst-audit5.c: Likewise.
31769         * time/tst-ftime_l.c: Likewise.
31770         * time/tst-getdate.c: Likewise.
31771         * time/tst-mktime3.c: Likewise.
31772         * time/tst-mktime.c: Likewise.
31773         * time/tst-posixtz.c: Likewise.
31774         * time/tst-strptime2.c: Likewise.
31775         * time/tst-strptime3.c: Likewise.
31776         * wcsmbs/tst-btowc.c: Likewise.
31777         * wcsmbs/tst-mbrtowc.c: Likewise.
31778         * wcsmbs/tst-mbsrtowcs.c: Likewise.
31779         * wcsmbs/tst-wchar-h.c: Likewise.
31780         * wcsmbs/tst-wcpncpy.c: Likewise.
31781         * wcsmbs/tst-wcrtomb.c: Likewise.
31782         * wcsmbs/tst-wcsnlen.c: Likewise.
31783         * wcsmbs/tst-wcstof.c: Likewise.
31785 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
31787         [BZ #14132]
31788         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31789         INTDEF.
31790         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31791         declaration.
31792         (_dl_mcount): Use rtld_hidden_proto.
31793         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31794         _dl_mcount.
31795         * elf/rtld.c (_rtld_global_ro): Likewise.
31797         [BZ #14132]
31798         * elf/dl-init.c (_dl_init): Don't use INTDEF.
31799         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31800         of _dl_init_internal.
31801         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31802         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31803         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31804         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31805         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31806         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31807         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31808         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31809         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31810         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31811         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31812         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31813         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31814         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31815         * sysdeps/tile/dl-start.S (_start): Likewise.
31816         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31817         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31819         [BZ #14132]
31820         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31821         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31822         (rtld_progname): Make macro definition unconditional.
31823         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31824         INTDEF.
31825         (dlmopen_doit): Do not use INTUSE with _dl_argv.
31826         (dl_main): Likewise.
31827         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31828         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31829         instead of _dl_argv_internal.
31830         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31831         __GI__dl_argv instead of INTUSE(_dl_argv).
31832         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31833         __GI__dl_argv instead of _dl_argv_internal.
31835         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31836         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
31837         macro.
31838         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
31839         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
31840         New macro.
31841         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
31842         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
31843         macro.
31844         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
31845         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
31847 2014-11-04  Andreas Schwab  <schwab@suse.de>
31849         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
31851 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31853         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
31854         mtvsrd instruction in binary form.
31856 2014-11-03  Andreas Schwab  <schwab@suse.de>
31858         [BZ #17522]
31859         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
31860         for less than MB_LEN_MAX use a local buffer of that size.
31861         * libio/tst-fputws.c: New file.
31862         * libio/Makefile (tests): Add tst-fputws.
31864 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
31866         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31867         the size of the fpu_fr.fpu_dregs[] array.
31869 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31871         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31872         (__nanosleep): Do not define as alias.
31873         (nanosleep): Define as alias of __nanosleep.
31874         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31875         __libc_nanosleep name.
31877 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31879         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31880         install.texi in comment.
31882 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31884         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31885         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31886         ... add here and use lwsync or sync ...
31887         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31888         ... and add here using lwsync.
31890 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31892         * elf/dl-machine-reject-phdr.h: New file.
31893         * elf/dl-load.c: #include that.
31894         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31895         if that returned true.
31897 2014-10-31  Roland McGrath  <roland@hack.frob.com>
31899         [BZ #17496]
31900         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
31901         gen-as-const-headers chunk.  Add a big scare comment after the last
31902         safe place to touch before-compile.
31904 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31906         * manual/install.texi (Tools for Compilation): Update autoconf
31907         version requirements.
31908         * INSTALL: Regenerated.
31910         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
31911         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
31912         (__libc_pselect): Likewise.
31914         [BZ #14138]
31915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
31916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31920 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31922         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
31923         correct barrier instruction.
31924         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
31925         Likewise.
31926         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
31927         Likewise.
31929 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31931         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
31932         after defining inlines.  Instead, just use parens to defeat macro
31933         expansion of __isctype in its declaration.
31935 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31937         * include/sys/uio.h (__libc_readv): Remove declaration.
31938         (__libc_writev): Likewise.
31939         * misc/readv.c (__libc_readv): Rename to __readv.
31940         (__readv): Do not define as alias.
31941         (readv): Define as alias of __readv.
31942         * misc/writev.c (__libc_writev): Rename to __writev.
31943         (__writev): Do not define as alias.
31944         (writev): Define as alias of __writev.
31945         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
31946         (__readv): Do not define as alias.
31947         (readv): Define unconditionally as alias of __readv.
31948         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
31949         (__writev): Do not define as alias.
31950         (writev): Define unconditionally as alias of __writev.
31951         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
31952         name.
31953         (writev): Do not define __libc_writev name.
31955 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31957         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
31958         (convert_charseq): New function, broken out of ...
31959         (use_from_charmap): ... here.  Call it.
31960         (use_to_charmap): Use convert_charseq and free instead of duplicating
31961         its code with a variable-length stack struct.
31963 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31965         * include/fcntl.h (__libc_creat): Remove declaration.
31966         * io/creat.c (__libc_creat): Rename to creat.
31967         (creat): Do not define as alias.
31968         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
31969         of creat instead of __libc_creat.
31970         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
31971         to creat.
31972         (creat): Do not define as alias.
31973         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
31974         __libc_creat.
31975         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
31976         __libc_creat name.
31977         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
31978         Likewise.
31980 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
31982         * manual/llio.texi: Add comments discussing why write() may be
31983         considered MT-unsafe on Linux.
31985 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
31987         * dl-load.c (local_strdup): Remove.
31988         (expand_dynamic_string_token): Use __strdup.
31989         (decompose_rpath): Likewise.
31990         (_dl_map_object): Likewise.
31992 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
31994         [BZ #14132]
31995         * sysdeps/generic/unwind-dw2-fde.c
31996         (__register_frame_info_bases_internal): Do not declare.
31997         (__register_frame_info_table_bases_internal): Likewise.
31998         (__deregister_frame_info_bases_internal): Likewise.
31999         (__register_frame_info_bases): Declare and use hidden_proto before
32000         definition.  Use hidden_def instead of INTDEF.
32001         (__register_frame_info_table_bases): Likewise.
32002         (__deregister_frame_info_bases): Likewise.
32003         (__register_frame_info): Do not use INTUSE.
32004         (__register_frame): Likewise.
32005         (__register_frame_info_table): Likewise.
32006         (__register_frame_table): Likewise.
32007         (__deregister_frame_info): Likewise.
32008         (__deregister_frame): Likewise.
32010 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
32012         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32013         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
32014         not undefine.
32015         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
32016         Likewise.
32017         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
32018         Likewise.
32020 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
32022         [BZ #14138]
32023         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
32024         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
32025         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
32026         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
32027         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
32028         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
32029         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
32030         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
32031         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
32032         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
32033         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
32034         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
32035         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
32036         syscall.
32037         (setfsuid): Likewise.
32038         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
32039         (setfsuid): Likewise.
32040         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
32041         (setfsuid): Likewise.
32042         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
32043         Likewise.
32044         (setfsuid): Likewise.
32045         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
32046         (setfsuid): Likewise.
32047         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
32048         Likewise.
32049         (setfsuid): Likewise.
32051 2014-10-27  Andreas Schwab  <schwab@suse.de>
32053         [BZ #17501]
32054         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
32055         check for Slow_SSE4_2 feature bit.
32056         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
32057         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32058         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
32059         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
32061 2014-10-24  Roland McGrath  <roland@hack.frob.com>
32063         * configure.ac: Validate compiler version with a empirical test of
32064         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
32065         $CC -v output.
32066         * configure: Regenerated.
32068         * inet/htons.c (htons): Prototypify.
32069         * inet/htonl.c (htonl): Likewise.
32071 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32073         * string/strncat.c (strncat): Improve performance by using strlen.
32075 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32077         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
32079 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32081         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
32082         Call libc_fetestexcept_aarch64.
32084 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32086         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
32087         Call libc_feholdexcept_aarch64.
32089 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32091         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
32092         Call get_rounding_mode.
32094 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32096         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32097         Simplify logic.
32099 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32101         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
32102         Simplify logic.
32104 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
32106         [BZ #14138]
32107         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
32108         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
32109         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
32110         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
32111         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
32112         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
32113         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
32114         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
32115         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
32116         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
32117         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32118         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
32119         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
32120         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
32121         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
32122         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
32123         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
32124         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
32125         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
32126         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
32127         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
32128         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
32129         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
32130         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
32131         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
32132         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
32133         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
32134         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
32135         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
32136         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
32137         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
32138         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
32139         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
32140         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
32141         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
32142         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
32143         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
32144         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
32145         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
32146         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
32147         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
32148         syscall.
32149         (geteuid): Likewise.
32150         (getgid): Likewise.
32151         (getuid): Likewise.
32152         (getresgid): Likewise.
32153         (getresuid): Likewise.
32154         (getgroups): Likewise.
32155         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
32156         (geteuid): Likewise.
32157         (getgid): Likewise.
32158         (getuid): Likewise.
32159         (getresgid): Likewise.
32160         (getresuid): Likewise.
32161         (getgroups): Likewise.
32162         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
32163         (geteuid): Likewise.
32164         (getgid): Likewise.
32165         (getuid): Likewise.
32166         (getresgid): Likewise.
32167         (getresuid): Likewise.
32168         (getgroups): Likewise.
32169         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
32170         Likewise.
32171         (geteuid): Likewise.
32172         (getgid): Likewise.
32173         (getuid): Likewise.
32174         (getresgid): Likewise.
32175         (getresuid): Likewise.
32176         (getgroups): Likewise.
32177         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
32178         (geteuid): Likewise.
32179         (getgid): Likewise.
32180         (getuid): Likewise.
32181         (getresgid): Likewise.
32182         (getresuid): Likewise.
32183         (getgroups): Likewise.
32184         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
32185         Likewise.
32186         (geteuid): Likewise.
32187         (getgid): Likewise.
32188         (getuid): Likewise.
32189         (getgroups): Likewise.
32191         [BZ #14138]
32192         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
32193         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
32194         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
32195         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32196         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
32197         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
32198         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
32199         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
32200         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
32201         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
32202         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
32203         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
32204         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
32205         __chown.
32206         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
32207         (lchown): Likewise.
32208         (fchown): Likewise.
32209         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
32210         Likewise.
32211         (lchown): Likewise.
32212         (fchown): Likewise.
32213         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
32214         (lchown): Likewise.
32215         (fchown): Likewise.
32216         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
32217         Likewise.
32218         (lchown): Likewise.
32219         (fchown): Likewise.
32221 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32223         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
32224         Simplify logic.
32226 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32228         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32229         Cleanup logic.
32231 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32233         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32234         Remove unused include.
32236 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32238         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
32239         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
32240         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
32241         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
32243 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
32244             Helge Deller <deller@gmx.de>
32246         [BZ #17508]
32247         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
32248         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
32249         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
32251 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
32253         [BZ #14132]
32254         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
32255         Remove macro definition.
32256         (__ashrdi3_v_glibc20): Likewise.
32257         (__lshrdi3_v_glibc20): Likewise.
32258         (__cmpdi2_v_glibc20): Likewise.
32259         (__ucmpdi2_v_glibc20): Likewise.
32260         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
32261         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32262         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32263         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32264         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32265         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
32267 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32269         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
32270         old GNU extension [0] syntax.
32271         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
32272         alloca rather than an array member with variable length.
32273         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
32274         * nscd/nscd.c (invalidate_db): New function, broken out of ...
32275         (parse_opt): ... here.  Likewise use alloca there.
32276         Validate the -i argument before checking for rootness.
32277         (send_shutdown): New function, broken out of ...
32278         (parse_opt): ... here.
32280 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32282         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
32283         macro to get at the _rt_local_ro field.
32284         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
32285         ([PIC] case) or _dl_hwcap ([!PIC] case).
32286         * sysdeps/arm/setjmp.S: Likewise.
32288         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
32289         * sysdeps/arm/configure.ac: New check to define it.
32290         * sysdeps/arm/configure: Regenerated.
32291         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
32292         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
32293         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
32294         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
32295         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
32296         Use move/movt pair instead of a load.
32297         (LDST_GLOBAL): Macro removed.
32298         (LDR_GLOBAL): New macro replaces it.
32299         (LDR_HIDDEN): New macro.
32300         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
32301         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
32303         * setjmp/tst-setjmp-static.c: New file.
32304         * setjmp/Makefile (tests): Add it.
32305         (tests-static): New variable.
32307 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
32309         [BZ #17485]
32310         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
32312 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
32314         [BZ #14132]
32315         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
32317 2014-10-21  Roland McGrath  <roland@hack.frob.com>
32319         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
32321 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32323         * io/fts.c (dirent_not_directory): New function.
32324         (fts_build): Call it.
32326 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32328         * nptl/version.c (__nptl_main): Use normal __write rather than
32329         INTERNAL_SYSCALL.
32330         (banner): Update copyright years.
32332         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
32333         gettimeofday.
32334         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32335         * nptl/pthread_cond_timedwait.c: Likewise.
32336         * nptl/pthread_mutex_timedlock.c: Likewise.
32337         * nptl/sem_timedwait.c: Likewise.
32339         * sysdeps/nptl/bits/libc-lock.h
32340         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32341         (__libc_lock_init_recursive): Return void, not 0.
32342         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
32343         (__libc_rwlock_init): Likewise.
32344         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
32346 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32348         [BZ #15215]
32349         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
32350         (__pthread_once_slow): ... here.
32351         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
32352         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
32354 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32356         [BZ #15215]
32357         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
32358         __PTHREAD_ONCE_FORK_GEN_INCR): New.
32359         * sysdeps/nptl/fork.c (__libc_fork): Use them.
32360         * nptl/pthread_once.c (__pthread_once): Likewise.
32361         Update comments.
32363 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
32365         [BZ #14138]
32366         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
32367         name.
32368         (writev): Use __libc_writev as strong name.
32369         * sysdeps/unix/sysv/linux/readv.c: Remove file.
32370         * sysdeps/unix/sysv/linux/writev.c: Likewise.
32372 2014-10-17  Roland McGrath  <roland@hack.frob.com>
32374         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
32376         * sysdeps/i386/nptl/tls.h
32377         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
32378         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
32379         New macros.
32380         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
32381         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
32382         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
32383         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
32384         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32385         Call CHECK_THREAD_SYSINFO instead of doing an assert.
32387         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32388         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
32389         on [__NR_futex].
32390         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
32391         broken out of ...
32392         (__pthread_mutex_init): ... here.  Call it.
32393         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32394         Conditionalize PI cases on [__NR_futex].
32395         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32396         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32397         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32399         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32400         conditional on [SIGSETXID].
32401         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32402         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32403         is defined.  Likewise for SIGSETXID.
32404         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32405         Conditionalize definitions on [SIGSETXID].
32406         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32407         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32408         unblocking on [SIGCANCEL].
32410         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32411         [__NR_set_robust_list].
32413 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32415         * string/strcoll_l.c (get_next_seq): Fix up formatting.
32416         (do_compare): Likewise.
32418 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
32420         [BZ #15884]
32421         * string/strcoll_l.c: Don't include stdio.h.
32422         (coll_seq): Remove members idxarr and rulearr.
32423         (get_next_seq_cached): Remove function.
32424         (get_next_seq): Likewise.
32425         (get_next_seq_nocache): Rename to get_next_seq.
32426         (do_compare): Remove function.
32427         (do_compare_nocache): Rename to do_compare.
32428         (STRCOLL): Remove weight and rules cache.
32430 2014-10-16  Roland McGrath  <roland@hack.frob.com>
32432         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
32433         * sysdeps/arm/sfp-machine.h: ... to here.
32434         * sysdeps/arm/Implies: Remove arm/soft-fp.
32436 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
32438         * conform/data/sys/utsname.h-data (*_t): Allow.
32439         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
32440         [POSIX] (WEXITED): Do not expect constant.
32441         [POSIX] (WSTOPPED): Likewise.
32442         [POSIX] (WNOHANG): Likewise.
32443         [POSIX] (WNOWAIT): Likewise.
32444         [POSIX] (siginfo_t): Do not expect type or elements.
32445         [POSIX] (pid_t): Do not expect type.
32446         [POSIX] (signal.h): Do not allow header.
32447         [POSIX] (sys/resource.h): Likewise.
32448         [POSIX] (si_*): Do not allow pattern.
32449         [POSIX] (W*): Likewise.
32450         [POSIX] (P_*): Likewise.
32451         [POSIX] (BUS_*): Likewise.
32452         [POSIX] (CLD_*): Likewise.
32453         [POSIX] (FPE_*): Likewise.
32454         [POSIX] (ILL_*): Likewise.
32455         [POSIX] (POLL_*): Likewise.
32456         [POSIX] (SEGV_*): Likewise.
32457         [POSIX] (SI_*): Likewise.
32458         [POSIX] (TRAP_*): Likewise.
32459         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
32460         variable.
32462 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32464         [BZ #12926]
32465         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
32466         infinite loop when __recvmsg returns 0.
32468 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
32470         * CANCEL-FCT-WAIVE: Remove file.
32471         * CANCEL-FILE-WAIVE: Likewise.
32473         [BZ #14132]
32474         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
32475         instead of INTVARDEF.
32476         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32477         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
32478         rtld_hidden_data_def instead of INTVARDEF.
32479         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32480         * elf/dl-deps.c (expand_dst): Likewise.
32481         * elf/dl-load.c (_dl_dst_count): Likewise.
32482         (_dl_dst_substitute): Likewise.
32483         (decompose_rpath): Likewise.
32484         (_dl_init_paths): Likewise.
32485         (open_path): Likewise.
32486         (_dl_map_object): Likewise.
32487         * elf/rtld.c (dl_main): Likewise.
32488         (process_dl_audit): Likewise.
32489         (process_envvars): Likewise.
32490         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
32491         Remove declaration.
32492         (__libc_enable_secure): Use rtld_hidden_proto.
32494 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32496         * elf/dl-load.c
32497         (add_path): New function broken out of _dl_rtld_di_serinfo.
32498         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
32500 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32502         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
32503         parentheses around macro arguments.
32504         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
32505         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
32506         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
32507         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
32508         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
32509         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32510         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32511         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
32512         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
32513         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
32514         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
32515         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
32516         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
32517         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
32518         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
32519         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
32520         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
32521         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
32522         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
32523         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
32524         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
32525         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
32526         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
32527         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32528         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32529         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
32530         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32531         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
32532         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
32533         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
32534         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
32535         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
32536         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
32537         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
32538         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
32539         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
32540         Likewise.
32541         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
32542         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32543         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32544         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
32545         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
32546         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
32547         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
32548         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
32549         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
32550         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
32551         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
32552         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
32553         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
32554         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
32555         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
32556         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32557         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32558         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
32559         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
32560         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
32561         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
32562         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
32563         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
32564         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
32565         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
32566         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
32567         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
32568         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
32569         (_FP_FRAC_SRS_1): Likewise.
32570         (_FP_FRAC_CLZ_1): Likewise.
32571         (_FP_MUL_MEAT_1_imm): Likewise.
32572         (_FP_MUL_MEAT_1_wide): Likewise.
32573         (_FP_MUL_MEAT_1_hard): Likewise.
32574         (_FP_SQRT_MEAT_1): Likewise.
32575         (_FP_FRAC_ASSEMBLE_1): Likewise.
32576         (_FP_FRAC_DISASSEMBLE_1): Likewise.
32577         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
32578         (__FP_CLZ_2): Likewise.
32579         (_FP_MUL_MEAT_2_wide): Likewise.
32580         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32581         (_FP_MUL_MEAT_2_gmp): Likewise.
32582         (_FP_MUL_MEAT_2_120_240_double): Likewise.
32583         (_FP_SQRT_MEAT_2): Likewise.
32584         (_FP_FRAC_ASSEMBLE_2): Likewise.
32585         (_FP_FRAC_DISASSEMBLE_2): Likewise.
32586         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
32587         (_FP_FRAC_CLZ_4): Likewise.
32588         (_FP_MUL_MEAT_4_wide): Likewise.
32589         (_FP_MUL_MEAT_4_gmp): Likewise.
32590         (_FP_SQRT_MEAT_4): Likewise.
32591         (_FP_FRAC_ASSEMBLE_4): Likewise.
32592         (_FP_FRAC_DISASSEMBLE_4): Likewise.
32593         * soft-fp/op-common.h (_FP_CMP): Likewise.
32594         (_FP_CMP_EQ): Likewise.
32595         (_FP_CMP_UNORD): Likewise.
32596         (_FP_TO_INT): Likewise.
32597         (_FP_FROM_INT): Likewise.
32598         [!__FP_CLZ] (__FP_CLZ): Likewise.
32599         (_FP_DIV_HELP_imm): Likewise.
32600         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
32601         Likewise.
32602         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
32603         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
32604         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
32605         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
32606         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
32607         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32608         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32609         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
32610         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
32611         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
32612         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
32613         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
32614         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
32615         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
32616         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
32617         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
32618         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
32619         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
32620         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
32621         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
32622         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
32623         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
32624         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
32625         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32626         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32627         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
32628         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
32629         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
32630         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
32631         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
32632         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
32633         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
32634         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
32635         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
32636         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
32637         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
32638         (FP_UNPACK_RAW_SP): Likewise.
32639         (FP_PACK_RAW_S): Likewise.
32640         (FP_PACK_RAW_SP): Likewise.
32641         (FP_UNPACK_S): Likewise.
32642         (FP_UNPACK_SP): Likewise.
32643         (FP_UNPACK_SEMIRAW_S): Likewise.
32644         (FP_UNPACK_SEMIRAW_SP): Likewise.
32645         (FP_PACK_S): Likewise.
32646         (FP_PACK_SP): Likewise.
32647         (FP_PACK_SEMIRAW_S): Likewise.
32648         (FP_PACK_SEMIRAW_SP): Likewise.
32649         (_FP_SQRT_MEAT_S): Likewise.
32650         (FP_CMP_S): Likewise.
32651         (FP_CMP_EQ_S): Likewise.
32652         (FP_CMP_UNORD_S): Likewise.
32653         (FP_TO_INT_S): Likewise.
32654         (FP_FROM_INT_S): Likewise.
32656         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
32658         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
32659         (FP_EX_INVALID_IMZ): Likewise.
32660         (FP_EX_INVALID_IMZ_FMA): Likewise.
32661         (FP_EX_INVALID_ISI): Likewise.
32662         (FP_EX_INVALID_ZDZ): Likewise.
32663         (FP_EX_INVALID_IDI): Likewise.
32664         (FP_EX_INVALID_SQRT): Likewise.
32665         (FP_EX_INVALID_CVI): Likewise.
32666         (FP_EX_INVALID_VC): Likewise.
32667         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
32668         "invalid" exceptions.
32669         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
32670         (_FP_ADD_INTERNAL): Likewise.
32671         (_FP_MUL): Likewise.
32672         (_FP_FMA): Likewise.
32673         (_FP_DIV): Likewise.
32674         (_FP_CMP_CHECK_NAN): Likewise.
32675         (_FP_SQRT): Likewise.
32676         (_FP_TO_INT): Likewise.
32677         (FP_EXTEND): Likewise.
32679 2014-10-09  Allan McRae  <allan@archlinux.org>
32681         * po/fr.po: Update French translation from translation project.
32683 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32685         [BZ #14132]
32686         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
32687         of INTDEF.
32688         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
32689         (__cxa_atexit): Use libc_hidden_proto.
32690         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
32692         [BZ #14132]
32693         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
32694         declaration.
32695         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
32696         [!_ISOMAC] (__iswspace_l_internal): Likewise.
32697         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
32698         [!_ISOMAC] (__iswctype_internal): Likewise.
32699         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
32700         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
32701         alias.
32702         (fcntl): Remove __fcntl_internal alias.
32703         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
32704         __connect_internal alias.
32705         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
32706         Likewise.
32708         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
32709         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
32710         FP_DENORM_ZERO.
32711         (_FP_CHECK_FLUSH_ZERO): New macro.
32712         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
32713         (_FP_CMP): Likewise.
32714         (_FP_CMP_EQ): Likewise.
32715         (_FP_TO_INT): Do not set inexact for subnormal arguments if
32716         FP_DENORM_ZERO.
32717         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
32718         (FP_TRUNC): Likewise.
32720         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
32721         treated as invalid conversion, not as normal exponent.
32723         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
32724         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
32725         (_FP_CMP_EQ): Likewise.
32726         (_FP_CMP_UNORD): Likewise.
32727         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
32728         (FP_CMP_EQ_D): Likewise.
32729         (FP_CMP_UNORD_D): Likewise.
32730         * soft-fp/extended.h (FP_CMP_E): Likewise.
32731         (FP_CMP_EQ_E): Likewise.
32732         (FP_CMP_UNORD_E): Likewise.
32733         * soft-fp/quad.h (FP_CMP_Q): Likewise.
32734         (FP_CMP_EQ_Q): Likewise.
32735         (FP_CMP_UNORD_Q): Likewise.
32736         * soft-fp/single.h (FP_CMP_S): Likewise.
32737         (FP_CMP_EQ_S): Likewise.
32738         (FP_CMP_UNORD_S): Likewise.
32739         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
32740         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
32741         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
32742         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
32743         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
32744         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
32745         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
32746         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
32747         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
32748         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
32749         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
32750         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
32751         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32752         to FP_CMP_Q.
32753         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
32754         FP_CMP_Q.
32755         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
32756         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
32757         FP_CMP_EQ_Q.
32758         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
32759         FP_CMP_Q.
32760         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
32761         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
32762         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
32763         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
32764         FP_CMP_EQ_Q.
32765         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32766         FP_CMP_Q.
32767         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32768         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32769         FP_CMP_EQ_Q.
32770         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32771         FP_CMP_Q.
32772         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32773         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32774         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32775         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32776         FP_CMP_EQ_Q.
32778         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32779         a subnormal result, set the underflow exception if trapping on
32780         underflow is enabled.
32781         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32782         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32783         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32784         redefine to 0.
32785         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32786         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32787         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32788         * soft-fp/extendxftf2.c (__extendxftf2): Use
32789         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32791         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32792         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32793         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32794         FP_HANDLE_EXCEPTIONS.
32795         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32796         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32797         FP_HANDLE_EXCEPTIONS.
32798         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32799         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32800         FP_HANDLE_EXCEPTIONS.
32801         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32802         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32803         FP_HANDLE_EXCEPTIONS.
32805 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
32807         [BZ #14132]
32808         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32809         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32810         use INTUSE.
32811         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32812         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32813         Remove alias.
32814         (__adjtimex): Define using libc_hidden_ver.
32815         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32816         Remove declaration.
32817         (ntp_gettime): Call __adjtimex directly.
32818         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32819         Remove declaration.
32820         (ntp_gettimex): Call __adjtimex directly.
32821         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32822         __adjtimex_internal alias.
32824 2014-10-08  Roland McGrath  <roland@hack.frob.com>
32826         [BZ #17460]
32827         * nscd/nscd.c (more_help): Rewrite list of tables collection
32828         using xstrdup and asprintf.
32830         * nscd/nscd_conf.c: Remove local xstrdup declaration.
32832 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32833             Roland McGrath  <roland@hack.frob.com>
32835         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32836         (do_lookup_unique): ... local function 'enter' here; update callers.
32838 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
32840         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
32841         compat_symbol calls on [SHARED].
32842         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
32843         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
32844         Remove.
32845         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32846         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
32847         (oldsetrlimit): Remove.
32848         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32850         (lchown): New syscall entry.
32851         (oldsetrlimit): Remove.
32852         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32853         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
32854         (oldsetrlimit): Remove.
32855         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32857         [BZ #14138]
32858         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
32859         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
32860         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
32861         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
32862         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32863         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
32864         (fchown): Likewise.
32865         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32866         (fchown): Likewise.
32867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32868         Likewise.
32870 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32872         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32873         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32874         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32875         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32876         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32877         Likewise.
32878         (__old_sem_post): Likewise.
32880 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
32882         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32883         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32884         HAVE_CLOCK_GETTIME_VSYSCALL macros.
32885         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32886         Use INLINE_VSYSCALL macro.
32887         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32888         __vdso_clock_gettime.
32889         * sysdeps/unix/sysv/linux/tile/init-first.c
32890         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32891         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32892         __vdso_clock_gettime.
32894         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32895         to set up frame more cleanly.
32897         * sysdeps/tile/memcmp.c: New file.
32899         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
32901         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
32902         * sysdeps/tile/tilegx/strcasestr.c: New file.
32903         * sysdeps/tile/tilegx/strnlen.c: New file.
32904         * sysdeps/tile/tilegx/strstr.c: New file.
32906         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
32908 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
32910         * nptl/tst-setuid3.c: Write errors to stdout.
32912 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32914         * elf/dl-deps.c
32915         (preload): New functions broken out of _dl_map_object_deps.
32916         (_dl_map_object_deps):  Remove a nested function. Update call sites.
32918 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
32920         [BZ #14138]
32921         * sysdeps/unix/sysv/linux/execve.c: Remove file.
32922         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
32924 2014-10-01  Steve Ellcey  <sellcey@mips.com>
32926         * sysdeps/mips/strcmp.S: New.
32928 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
32930         [BZ #14138]
32931         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
32932         (linkat): Likewise.
32933         (mkdirat): Likewise.
32934         (readlinkat): Likewise.
32935         (renameat): Likewise.
32936         (symlinkat): Likewise.
32937         (unlinkat): Likewise.
32938         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
32939         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
32940         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
32941         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
32942         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
32943         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
32944         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
32946 2014-09-30  Will Newton  <will.newton@linaro.org>
32948         * math/math.h: Define long double math functions if
32949         _LIBC_TEST is defined.
32950         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
32952         * localedata/Makefile: Move assignment to tests-special
32953         into an ifdef testing run-built-tests.
32954         * timezone/Makefile: Likewise.
32956 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
32958         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
32959         with $(BASH) not $(SHELL).
32961 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
32962             Matthew LeGendre  <legendre1@llnl.gov>
32964         [BZ #17411]
32965         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
32966         l_reloc_result.
32968 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32970         * stdio-common/printf_fp.c
32971         (hack_digit): New function, broken out of ...
32972         (__printf_fp): ... local function here.  Update call sites.
32973         hack_digit now takes an additional parameter that is a pointer
32974         to a struct of the referenced locals.  Those locals moved inside
32975         the struct and references updated.
32977 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
32979         * aclocal.m4: Require autoconf 2.69.
32980         * configure: Regenerated.
32981         * sysdeps/aarch64/configure: Likewise.
32982         * sysdeps/alpha/configure: Likewise.
32983         * sysdeps/arm/armv7/configure: Likewise.
32984         * sysdeps/arm/configure: Likewise.
32985         * sysdeps/ia64/configure: Likewise.
32986         * sysdeps/mach/configure: Likewise.
32987         * sysdeps/mips/configure: Likewise.
32988         * sysdeps/s390/configure: Likewise.
32989         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
32990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
32992         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
32993         file.
32994         * sysdeps/ia64/configure.ac: Likewise.
32996 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
32998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
32999         specify symbol version for ld.so.  Do not include entry for
33000         libpthread.
33001         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33002         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33003         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33005         [BZ #14171]
33006         * Makeconfig [$(build-shared) = yes]
33007         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
33008         makefiles.
33009         [$(build-shared) = yes && $(soversions.mk-done) = t]
33010         ($(common-objpfx)gnu/lib-names.h): Remove rule.
33011         [$(build-shared) = yes && $(soversions.mk-done) = t]
33012         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
33013         to Makerules.
33014         [$(build-shared) = yes && $(soversions.mk-done) = t]
33015         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
33016         here.
33017         [$(build-shared) = yes && $(soversions.mk-done) = t]
33018         (common-generated): Don't append gnu/lib-names.h and
33019         gnu/lib-names.stmp here.
33020         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
33021         (lib-names-h-abi): New variable.
33022         [$(build-shared) = yes && $(soversions.mk-done) = t]
33023         (lib-names-stmp-abi): Likewise.
33024         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33025         abi-variants] (before-compile): Append
33026         $(common-objpfx)$(lib-names-h-abi).
33027         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33028         abi-variants] (common-generated): Append gnu/lib-names.h.
33029         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33030         abi-variants] (install-others-nosubdir): Depend on
33031         $(inst_includedir)/$(lib-names-h-abi).
33032         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33033         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
33034         [$(build-shared) = yes && $(soversions.mk-done) = t]
33035         ($(common-objpfx)$(lib-names-h-abi)): New rule.
33036         [$(build-shared) = yes && $(soversions.mk-done) = t]
33037         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
33038         [$(build-shared) = yes && $(soversions.mk-done) = t]
33039         (common-generated): Append $(lib-names-h-abi) and
33040         $(lib-names-stmp-abi).
33041         * scripts/lib-names.awk: Do not handle multi being set.
33042         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
33043         Remove variable.
33044         (abi-lp64_be-ld-soname): Likewise.
33045         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
33046         Likewise.
33047         (abi-hard-ld-soname): Likewise.
33048         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
33049         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
33050         Remove variable.
33051         (abi-o32_hard-ld-soname): Likewise.
33052         (abi-o32_soft_2008-ld-soname): Likewise.
33053         (abi-o32_hard_2008-ld-soname): Likewise.
33054         (abi-n32_soft-ld-soname): Likewise.
33055         (abi-n32_hard-ld-soname): Likewise.
33056         (abi-n32_soft_2008-ld-soname): Likewise.
33057         (abi-n32_hard_2008-ld-soname): Likewise.
33058         (abi-n64_soft-ld-soname): Likewise.
33059         (abi-n64_hard-ld-soname): Likewise.
33060         (abi-n64_soft_2008-ld-soname): Likewise.
33061         (abi-n64_hard_2008-ld-soname): Likewise.
33062         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
33063         Likewise.
33064         (abi-64-v2-ld-soname): Likewise.
33065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
33066         ld.so entries.
33067         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
33068         variable.
33069         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
33070         entry.
33071         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
33072         variable.
33073         (abi-64-ld-soname): Likewise.
33074         (abi-x32-ld-soname): Likewise.
33075         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
33076         entry.
33077         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33079 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
33081         [BZ #14138]
33082         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
33083         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
33084         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
33085         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
33086         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
33087         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
33088         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
33089         syscall entry for GLIBC_2.2 symbol version.
33090         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
33091         Likewise.
33092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33093         (setrlimit): Likewise.
33094         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
33095         Likewise.
33097 2014-09-23  Will Newton  <will.newton@linaro.org>
33099         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
33100         _LINUX_ARM_SYSDEP_H include guard too.
33101         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
33102         define.
33104 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33106         * sysdeps/unix/sysv/linux/eventfd.c:
33107         Make first argument unsigned.
33108         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
33109         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
33111 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
33113         [BZ #16852]
33114         * socket/recvmmsg.c (recvmmsg): Drop const argument.
33115         * socket/sys/socket.h: Likewise.
33116         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
33118 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33120         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
33122 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
33124         * time/tst-ftime.c: New test.
33125         * time/Makefile (tests): Add tst-ftime.
33127 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
33129         * soft-fp/extended.h: Fix comment formatting.
33130         * soft-fp/op-1.h: Likewise.
33131         * soft-fp/op-2.h: Likewise.
33132         * soft-fp/op-4.h: Likewise.
33133         * soft-fp/op-8.h: Likewise.
33134         * soft-fp/op-common.h: Likewise.
33135         * soft-fp/soft-fp.h: Likewise.
33137         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
33139 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
33141         [BZ #6652]
33142         * Makeconfig (soversions-default-setname): Remove variable.
33143         ($(common-objpfx)soversions.i): Don't pass default_setname to
33144         soversions.awk.
33145         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
33146         oldest_abi to abi-versions.awk.
33147         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
33148         * config.make.in (oldest-abi): Remove variable.
33149         * configure.ac (--enable-oldest-abi): Remove configure option.
33150         * configure: Regenerated.
33151         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
33152         text.
33153         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
33154         * scripts/soversions.awk: Do not handle default_setname variable.
33155         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
33156         variable.
33157         * sysdeps/mach/hurd/configure: Regenerated.
33158         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
33159         variable.
33160         * sysdeps/unix/sysv/linux/configure: Regenerated.
33162 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33164         * elf/Makefile (CFLAGS-interp.c): Remove.
33165         ($(elf-objpfx)runtime-linker.h): Generate header with linker
33166         path string.
33167         * elf/interp.c: Include generated runtime-linker.h
33169         * Makerules (lib%.so): Don't include $(+interp) in
33170         prerequisites.
33171         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
33172         * dlfcn/eval.c: Remove file.
33174         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
33175         macros.
33177         [BZ #17266]
33178         * misc/sys/cdefs.h: Define __extern_always_inline for clang
33179         4.2 and newer.
33181         [BZ #17370]
33182         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
33184 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33185             Jakub Jelinek  <jakub@redhat.com>
33187         [BZ #17266]
33188         * libio/stdio.h: Check definition of __fortify_function
33189         instead of __extern_always_inline to include bits/stdio2.h.
33190         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
33191         check if __extern_always_inline is defined.
33192         [__USE_MISC || __USE_XOPEN]: Likewise.
33193         [__USE_ISOC99] Likewise.
33194         * misc/sys/cdefs.h (__fortify_function): Define only if
33195         __extern_always_inline is defined.
33196         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
33197         __extern_always_inline and __extern_inline only for g++-4.3
33198         and newer or a compatible gcc.
33200 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
33202         [BZ #17371]
33203         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33204         last change to handle zero prefix length.
33206 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33208         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
33209         _SC_REGEX_VERSION.
33211         * posix/getconf.c (vars): Add _POSIX_IPV6 and
33212         _POSIX_RAW_SOCKETS.
33214 2014-09-13  Allan McRae  <allan@archlinux.org>
33216         * po/ru.po: Update Russian translation from translation project.
33218 2014-09-12  Roland McGrath  <roland@hack.frob.com>
33220         * locale/programs/locale.c (show_locale_vars): Inline local function
33221         into its sole call site.  Clean up some style nits.
33222         (print_item): New function, broken out of ...
33223         (show_info): ... local function here.  Clean up style nits.
33225         * locale/programs/ld-ctype.c (set_one_default): New function, broken
33226         out of ...
33227         (set_class_defaults): ... local function set_default here.
33228         Define set_default as a macro locally to pass constant parameters.
33229         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
33230         rather than a shared local.
33232         * stdlib/rpmatch.c (try): New function, broken out of ...
33233         (rpmatch): ... local function here.  Also, prototypify definition.
33235 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
33237         * scripts/soversions.awk: Do not handle configuration names.
33238         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
33239         vendor and os variables to soversions.awk.
33240         * configure.ac: Do not modify gnu-* host_os.
33241         * configure: Regenerated
33242         * shlib-versions: Remove first column with configuration names.
33243         * nptl/shlib-versions: Likewise.
33244         * nptl_db/shlib-versions: Likewise.
33245         * sysdeps/hppa/shlib-versions: Likewise.
33246         * sysdeps/m68k/shlib-versions: Likewise.
33247         * sysdeps/mach/hurd/shlib-versions: Likewise.
33248         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
33249         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
33250         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
33251         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
33252         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
33253         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
33254         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
33255         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
33256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33257         Likewise.
33258         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33259         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33260         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33261         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33262         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33263         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
33264         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33265         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33268         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
33269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33270         Regenerated.
33271         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
33272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33273         Condition symbol version definitions on [HAVE_ELFV2_ABI].
33275         * shlib-versions: Remove OS-specific entries.  Moved to files in
33276         sysdeps.
33277         * sysdeps/mach/hurd/shlib-versions: New file.
33278         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33280         * nptl/shlib-versions: Remove architecture-specific entries.
33281         Moved to files in sysdeps.
33282         * shlib-versions: Likewise.
33283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
33284         file.
33285         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33286         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33287         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33288         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33290         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
33291         (UDP_NO_CHECK6_RX): Likewise.
33293 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33295         * sysdeps/posix/sysconf.c (__sysconf): Spell
33296         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33298 2014-08-12  Florian Weimer  <fweimer@redhat.com>
33300         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
33301         loading.
33302         * iconv/Versions (__gconv_transliterate): Export for use from
33303         gconv modules.
33304         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33305         (struct __gconv_trans_data, __gconv_trans_fct,
33306         __gconv_trans_context_fct, __gconv_trans_query_fct,
33307         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
33308         definitions.
33309         (struct __gconv_step_data): Remove __trans member.
33310         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
33311         longer hidden.  Remove unused trans_data argument.
33312         * iconv/gconv_int.h (struct trans_struct): Remove definition.
33313         (__gconv_translit_find): Remove declaration.
33314         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
33315         prototype.
33316         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
33317         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
33318         trans_data argument.  Add hidden definition.
33319         (__gconv_translit_find): Remove.
33320         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
33321         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
33322         * iconv/skeleton.c: Remove transliteration initialization.
33323         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
33324         __gconv_step_data initialization.
33325         * libio/iofwide.c (__libio_translit_): Remove.
33326         (_IO_fwide): Adjust struct __gconv_step_data initialization.
33327         * wcsmbs/btowc.c (__btowc): Likewise.
33328         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33329         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33330         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
33331         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
33332         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
33333         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
33334         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
33335         * wcsmbs/wctob.c (wctob): Likewise.
33337 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33339         [BZ #16194]
33340         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
33341         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
33342         register usage.
33343         * sysdeps/x86/Makefile: Adjust.
33345 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33346             Roland McGrath  <roland@hack.frob.com>
33348         * locale/weight.h: Add include guard.
33349         (findidx): Make static rather than auto; take new parameters
33350         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
33351         * locale/weightwc.h: Likewise.
33352         * posix/fnmatch_loop.c
33353         (FCT): Change type of EXTRA from int32_t to wint_t.
33354         Don't include either header inside the function.
33355         Call FINDIDX rather than findidx, and pass new arguments.
33356         #undef FINDIDX at the end of the file.
33357         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
33358         FINDIDX before including fnmatch_loop.c for the non-wide version.
33359         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
33360         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
33361         for the wide version.
33362         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
33363         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
33364         Pass new arguments to findidx.
33365         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
33366         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
33367         Don't #include it inside the function.  Pass new arguments to findidx.
33368         * posix/regex_internal.h
33369         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
33370         (re_string_elem_size_at): Don't #include it inside the function.
33371         Pass new arguments to findidx.
33372         * string/strcoll_l.c: #include WEIGHT_H at top level.
33373         (get_next_seq): Don't #include it inside the function.
33374         Pass new arguments to findidx.
33375         (get_next_seq_nocache): Likewise.
33376         * string/strxfrm_l.c: #include WEIGHT_H at top level.
33377         (STRXFRM): Don't #include it inside the function.
33378         Pass new arguments to findidx.
33380 2014-09-11  Florian Weimer  <fweimer@redhat.com>
33382         [BZ #17344]
33383         * malloc/malloc.c (unlink): Turn asserts into a call to
33384         malloc_printerr.
33386 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
33388         [BZ #17370]
33389         * libio/wfileops (do_ftell_wide): Free OUT.
33391 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
33393         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33395 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33397         [BZ #17363]
33398         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33399         group if the current group is empty.
33401 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33403         * benchtests/bench-memset.c (test_main): Add more test from size
33404         from 32 to 512 bytes.
33405         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33406         Add POWER8 memset object.
33407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33408         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33409         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33410         implementation.
33411         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33412         Likewise.
33413         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33414         multiarch POWER8 memset optimization.
33415         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33416         POWER8 memset optimization.
33418         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33419         Remove bzero multiarch objects.
33420         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
33421         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
33422         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
33423         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
33424         Remove define.
33425         [__bzero]: Redefine to specific name.
33426         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
33427         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
33428         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
33429         define.
33430         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33431         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33433 2014-09-10  Florian Weimer  <fweimer@redhat.com>
33435         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
33436         warnings into errors.
33438         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
33439         __cxa_thread_atexit_impl prototype.
33441 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33443         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
33444         Fix capitalization of error message.
33446 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33448         * sysdeps/mips/preconfigure: Modify ABI tests.
33450 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
33452         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
33454 2014-09-07  Roland McGrath  <roland@hack.frob.com>
33455             Carlos O'Donell  <carlos@systemhalted.org>
33457         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
33458         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
33459         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
33460         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
33461         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
33462         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
33463         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
33464         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
33465         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
33466         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
33467         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
33468         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
33469         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
33470         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
33471         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
33472         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
33473         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
33474         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
33475         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
33476         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
33477         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
33478         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
33479         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
33480         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
33481         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
33482         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
33483         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
33484         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
33485         Deconditionalize the code that was previously under [RESET_PID].
33486         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
33487         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
33488         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
33489         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
33490         include sysdep.h.
33492 2014-09-08  Allan McRae  <allan@archlinux.org>
33494         * version.h (RELEASE): Set to "development".
33495         (VERSION): Set to "2.20.90"
33497 2014-09-07  Allan McRae  <allan@archlinux.org
33499         * version.h (RELEASE): Set to "stable".
33500         (VERSION): Set to "2.20"
33501         * include/features.h (__GLIBC_MINOR__): Set to 20.
33503         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
33504         Liebler.
33506         * po/ko.po: Update Korean translation from translation project.
33508 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
33510         [BZ #17354]
33511         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
33512         macro for handling signed relocations.
33514 2014-09-03  Florian Weimer  <fweimer@redhat.com>
33516         [BZ #17325]
33517         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
33518         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
33519         assert.
33520         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
33521         * iconvdata/ibm935.c (BODY): Likewise.
33522         * iconvdata/ibm937.c (BODY): Likewise.
33523         * iconvdata/ibm939.c (BODY): Likewise.
33524         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
33525         assert.
33526         * iconvdata/Makefile (iconv-test.out): Pass module list to test
33527         script.
33528         * iconvdata/run-iconv-test.sh: New test loop for checking for
33529         decoder crashers.
33531 2014-09-02  Khem Raj  <raj.khem@gmail.com>
33533         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
33534         libm_hidden_ver.
33536 2014-09-01  Allan McRae  <allan@archlinux.org>
33538         * po/eo.po: Update Esperanto translation from translation project.
33540         * po/ca.po: Update Catalan translation from translation project.
33542 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33544         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
33545         __proc_dostop call.
33547 2014-08-27  Mark Wielaard  <mjw@redhat.com>
33549         [BZ #17319]
33550         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
33551         to call set_thread_area instead of hand written asm.
33552         (__NR_set_thread_area): Removed define.
33553         (TLS_FLAG_WRITABLE): Likewise.
33554         (__ASSUME_SET_THREAD_AREA): Remove check.
33555         (TLS_EBX_ARG): Remove define.
33556         (TLS_LOAD_EBX): Likewise.
33558 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33560         Simplify atomicity of socket creation in bind.
33562         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
33563         looking up the name after linking the file.
33565 2014-08-27  Allan McRae  <allan@archlinux.org>
33567         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33569 2014-08-26  Florian Weimer  <fweimer@redhat.com>
33571         [BZ #17187]
33572         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
33573         trans_compare, open_translit, __gconv_translit_find):
33574         Remove module loading code.
33576 2014-08-26  Allan McRae  <allan@archlinux.org>
33578         * po/vi.po: Update Vietnamese translation from translation project.
33580         * po/uk.po: Update Ukrainian translation from translation project.
33582         * po/fr.po: Update French translation from translation project.
33584         * po/ru.po: Update Russian translation from translation project.
33586         * po/pl.po: Update Polish translation from translation project.
33588         * po/cs.po: Update Czech translation from translation project.
33590         * po/de.po: Update German translation from translation project.
33592         * po/bg.po: Update Bulgarian translation from translation project.
33594         * po/sv.po: Update Sweedish translation from translation project.
33596         * po/nl.po: Update Dutch translation from translation project.
33598         * po/es.po: Update Spanish translation from translation project.
33600 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33602         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
33604         * catgets/Makefile (CPPFLAGS-gencat): Remove.
33605         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
33606         (CPPFLAGS-iconvconfig): Likewise.
33607         * timezone/Makefile (CPPFLAGS-zic): Likewise.
33609         * include/libc-symbols.h: Remove unnecessary check for
33610         NOT_IN_libc.
33611         * nptl/pthreadP.h: Likewise.
33612         * sysdeps/aarch64/setjmp.S: Likewise.
33613         * sysdeps/alpha/setjmp.S: Likewise.
33614         * sysdeps/arm/sysdep.h: Likewise.
33615         * sysdeps/i386/setjmp.S: Likewise.
33616         * sysdeps/m68k/setjmp.c: Likewise.
33617         * sysdeps/posix/getcwd.c: Likewise.
33618         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33619         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33620         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33621         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33622         * sysdeps/sh/sh3/setjmp.S: Likewise.
33623         * sysdeps/sh/sh4/setjmp.S: Likewise.
33624         * sysdeps/unix/alpha/sysdep.h: Likewise.
33625         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33626         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33627         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33628         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33631         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33632         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33633         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33634         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33635         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33636         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33637         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33638         * sysdeps/x86_64/setjmp.S: Likewise.
33640 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
33642         [BZ #17263]
33643         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
33644         <stdint.h>.
33645         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
33646         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
33648 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33650         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
33652         [BZ #17262]
33653         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
33654         and __x86_64__ when disabling x87 inline functions.
33656 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33658         [BZ #17259]
33659         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
33660         asm statement with __cpuid_count.
33662 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
33664         * configure.ac: Change __ehdr_start code to dereference the struct.
33665         Run readelf on the output to look for relocations.
33666         * configure: Regenerated.
33668 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
33670         [BZ #17261]
33671         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
33672         value to 0.
33673         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
33675 2014-08-12  Roland McGrath  <roland@hack.frob.com>
33677         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
33679 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
33681         [BZ #16892]
33682         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
33683         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
33685 2014-08-12  Sean Anderson  <seanga2@gmail.com>
33687         * malloc/malloc.c: Fix typo in comment.
33689 2014-08-09  Allan McRae  <allan@archlinux.org>
33691         * Regenerate libc.po.
33693 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
33695         * intl/tst-gettext2.sh: Check every lang file for creation.
33697 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33699         * sysdeps/aarch64/fpu/math_private.h
33700         (libc_feholdsetround_noex_aarch64_ctx): New function.
33702 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33704         * sysdeps/arm/armv6/strcpy.S (strcpy):
33705         Fix performance issue in misaligned cases.
33707 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33709         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
33710         Move definition from termios.h.
33711         (struct termio): Likewise.
33712         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33713         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33714         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33715         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33716         Likewise.
33717         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
33718         Move definition to ioctl-types.h
33719         (struct termio): Likewise.
33720         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33721         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33722         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33723         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33724         Likewise.
33726 2014-08-05  Richard Henderson  <rth@redhat.com>
33728         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
33729         exceptions.
33730         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
33731         Add fraiseexcpt.
33732         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
33733         Use __feraiseexcept.
33734         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
33735         Protect libm symbols with IS_IN_libm.
33737         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
33739 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
33741         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
33743 2014-08-04  Will Newton  <will.newton@linaro.org>
33745         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
33746         file.
33748 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
33750         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
33751         variants for each function.
33753 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33755         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
33756         appended ...
33757         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33758         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
33759         appended ...
33760         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
33761         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
33762         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
33763         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
33764         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
33765         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33766         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33767         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33768         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33769         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33770         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33771         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33772         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33773         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33774         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33775         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33776         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33777         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33778         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33779         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33780         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33781         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33782         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33783         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33784         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33785         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33786         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33787         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33788         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33789         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33790         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33791         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33792         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33793         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33794         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33795         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33796         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33797         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33798         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33799         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33800         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33801         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33802         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33803         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33804         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33805         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33806         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33807         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33808         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33809         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33810         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33811         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33812         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33813         Update #include.
33814         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33815         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33817 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33819         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33820         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33821         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33822         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33823         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33824         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33826 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33828         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33829         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33830         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33831         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33833 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33835         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33836         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
33837         (__libc_vfork): Define function under this name.
33838         (__vfork): Define as an alias.
33839         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
33840         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
33842 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33844         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
33845         that was previously under [RESET_PID].
33846         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
33848 2014-08-04  Andreas Schwab  <schwab@suse.de>
33850         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
33852 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
33854         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
33855         (main): Likewise.
33857 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33859         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
33861 2014-08-01  Richard Henderon  <rth@redhat.com>
33863         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
33864         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33865         typo in exact zero test.
33866         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33867         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33868         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33870 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33872         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33873         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33874         * sysdeps/arm/sysdep.h: ... here.
33875         [!__ASSEMBLER__]: Include <stdint.h>.
33877 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33879         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33880         (HAVE_WCTYPE_H): Likewise.
33881         (HAVE_ISWCTYPE): Likewise.
33882         (ENABLE_NLS): Likewise.
33883         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33884         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33886         * posix/regex_internal.c: Check if DEBUG is defined and is
33887         set.
33889         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33890         (HAVE_MBSRTOWCS): Likewise.
33891         * posix/fnmatch.c: Include string.h unconditionally.
33893 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33895         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33896         reversal.
33898 2014-07-31  Roland McGrath  <roland@hack.frob.com>
33900         * sysdeps/generic/safe-fatal.h: New file.
33901         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33902         * nptl/forward.c: Include it.
33903         (__pthread_unwind): Use __safe_fatal as default action, rather
33904         than a bogus use of INTERNAL_SYSCALL that could never work.
33906         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
33907         * configure.ac (libc_cv_builtin_trap): New test.
33908         * configure: Regenerated.
33909         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
33910         (ABORT_INSTRUCTION): Define using __builtin_trap.
33912         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
33913         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
33914         * sysdeps/nptl/nptl-signals.h: New file.
33915         * nptl/pthreadP.h: Include <nptl-signals.h>.
33917 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33919         * sysdeps/s390/s390-64/utf16-utf32-z9.c
33920         (ONE_DIRECTION): Define.
33921         * sysdeps/s390/s390-64/utf8-utf16-z9.c
33922         (ONE_DIRECTION): Define.
33923         * sysdeps/s390/s390-64/utf8-utf32-z9.c
33924         (ONE_DIRECTION): Define.
33926 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33928         * sysdeps/s390/Makefile: Delete file.
33929         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
33930         * sysdeps/s390/__longjmp.c: Delete file.
33931         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
33932         Remove fields __flags and __reserved.
33933         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
33934         and add versioning.
33935         * sysdeps/s390/rtld-__longjmp.c: Delete file.
33936         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
33937         * sysdeps/s390/rtld-setjmp.S: Likewise.
33938         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
33939         * sysdeps/s390/s390-32/__longjmp.c: ... here.
33940         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
33941         * sysdeps/s390/s390-32/setjmp.S: ... here.
33942         Add versioning.
33943         (__sigsetjmp): Remove setting __flags field.
33944         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
33945         * sysdeps/s390/s390-64/__longjmp.c: ... here.
33946         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
33947         * sysdeps/s390/s390-64/setjmp.S: ... here.
33948         Add versioning.
33949         (__sigsetjmp): Remove setting __flags field.
33950         * sysdeps/s390/setjmp.S: Delete file.
33951         * sysdeps/s390/sigjmp.c: Likewise.
33952         * sysdeps/s390/v1-longjmp.c: Likewise.
33953         * sysdeps/s390/v1-setjmp.h: Likewise.
33954         * sysdeps/s390/v1-sigjmp.c: Likewise.
33955         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
33956         Remove v1-longjmp_chk.
33957         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
33958         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
33959         Include debug/longjmp_chk.c and add versioning.
33960         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
33961         Include nptl/pt-longjmp.c and add versioning.
33962         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
33963         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
33964         Include __longjmp.c.
33965         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33966         Move to ...
33967         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
33968         (__getcontext): Remove setting __flags field.
33969         Add versioning.
33970         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33971         Don't restore upper high grps.
33972         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
33973         Likewise.
33974         (__swapcontext): Remove setting uc_flags field.
33975         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
33976         Delete file.
33977         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33978         Include __longjmp.c.
33979         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33980         Move to ...
33981         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
33982         (__getcontext): Remove setting __flags field.
33983         Add versioning.
33984         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
33985         (__swapcontext): Remove setting uc_flags field.
33986         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
33987         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
33988         Remove fields uc_high_gprs and __reserved.
33989         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
33990         New file with reverted content.
33991         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
33992         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
33993         Regenerated.
33994         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
33995         Regenerated.
33997 2014-07-31  Andreas Schwab  <schwab@suse.de>
33999         * config.h.in (HAVE_IFUNC): Define to 0.
34000         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
34001         definedness.
34003 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
34005         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34006         memmove-avx-unaligned, memcpy-avx-unaligned and
34007         mempcpy-avx-unaligned.
34008         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34009         Add tests for AVX memcpy functions.
34010         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
34011         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
34012         memcpy_chk.
34013         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
34014         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
34015         memmove_chk.
34016         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
34017         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
34018         mempcpy_chk.
34019         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
34020         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
34021         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
34023 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34025         [BZ #17213]
34026         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
34027         powerpc64le.
34029 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
34031         [BZ #16839]
34032         * manual/llio.texi: Add section about open file description locks.
34033         * manual/examples/ofdlocks.c: Example of open file description
34034         lock usage.
34035         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
34036         F_OFD_SETLK, and F_OFD_SETLKW.
34038 2014-07-23  Allan McRae  <allan@archlinux.org>
34040         * po/es.po: Update Spanish translation from translation project.
34042 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
34044         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
34046 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
34048         [BZ #17078]
34049         * sysdeps/arm/dl-machine.h (elf_machine_rela)
34050         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
34051         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
34053 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
34055         [BZ #17088]
34056         * math/fesetenv.c (__fesetenv)
34057         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
34058         * math/feupdateenv.c (__feupdateenv)
34059         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
34061         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
34062         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34063         (__ASSUME_SOCKETCALL): Do not define.
34065         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
34066         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
34067         (__ASSUME_SOCKETCALL): Do not define.
34068         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
34069         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34070         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34071         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34072         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34073         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
34074         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34075         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34077         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
34078         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
34079         (__ASSUME_SOCKETCALL): Do not define.
34080         (__ASSUME_IPC64): Define unconditionally.
34081         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34082         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34083         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34084         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34085         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
34086         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34087         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
34088         Likewise.
34090         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
34091         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
34092         (__ASSUME_SOCKETCALL): Do not define.
34093         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
34094         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34095         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34096         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34097         (__ASSUME_REQUEUE_PI): Define unconditionally.
34098         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
34099         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
34100         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34101         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
34102         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34103         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34105         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
34106         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
34107         (__ASSUME_SOCKETCALL): Do not define.
34108         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
34109         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34110         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34111         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
34112         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34113         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34115         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
34116         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
34117         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34118         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
34119         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34120         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
34121         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34122         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
34123         (__ASSUME_GETCPU_SYSCALL): Likewise.
34125         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
34126         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
34127         cases for individual architectures.
34128         * sysdeps/gnu/configure: Regenerated.
34129         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
34130         LIBC_SLIBDIR_RTLDDIR.
34131         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
34132         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
34133         LIBC_SLIBDIR_RTLDDIR.
34134         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
34135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
34136         LIBC_SLIBDIR_RTLDDIR.
34137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34138         Regenerated.
34139         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
34140         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
34141         file.
34142         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
34143         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
34144         file.
34145         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
34146         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
34147         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
34148         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
34150         * sysdeps/aarch64/shlib-versions: Move to ...
34151         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
34152         * sysdeps/alpha/shlib-versions: Move to ...
34153         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
34154         * sysdeps/arm/shlib-versions: Move to ...
34155         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
34156         * sysdeps/hppa/shlib-versions: Move all contents except for
34157         libgcc_s entry to ...
34158         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
34159         entry from ...
34160         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
34161         * sysdeps/ia64/shlib-versions: Move to ...
34162         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
34163         entry from ...
34164         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
34165         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
34166         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
34167         * sysdeps/microblaze/shlib-versions: Move to ...
34168         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
34169         * sysdeps/mips/shlib-versions: Move to ...
34170         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
34171         entry from ...
34172         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
34173         * sysdeps/tile/shlib-versions: Move to ...
34174         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
34175         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
34176         from ...
34177         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
34178         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
34179         entry from ...
34180         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
34182 2014-07-17  Will Newton  <will.newton@linaro.org>
34184         * sysdeps/arm/bits/atomic.h
34185         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
34186         (__arch_compare_and_exchange_bool_16_int): Likewise.
34187         (__arch_compare_and_exchange_bool_64_int): Likewise.
34189         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
34190         into an #else block.
34192 2014-07-16  Roland McGrath  <roland@hack.frob.com>
34194         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
34195         just Linux configurations.  Test empirically that the compiler sets
34196         __ARM_EABI__, rather than using the tuple to decide.
34197         * sysdeps/arm/preconfigure: Regenerated.
34198         * sysdeps/unix/sysv/linux/arm/configure: File removed.
34199         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
34200         contents appended ...
34201         * sysdeps/arm/configure.ac: ... here.
34202         * sysdeps/arm/configure: Regenerated.
34204 2014-07-15  Roland McGrath  <roland@hack.frob.com>
34206         * nptl/pthread_kill.c: New file.
34207         * nptl/pthread_sigmask.c: New file.
34208         * nptl/pthread_sigqueue.c: New file.
34210         * sysdeps/nptl/lowlevellock.h: New file.
34211         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
34212         * sysdeps/nptl/lowlevellock-futex.h: New file.
34214         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
34215         Remove dead declarations.
34217 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
34219         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
34220         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
34221         config-cflags-avx2.
34222         * sysdeps/x86_64/configure.ac: Likewise.
34223         * sysdeps/i386/configure: Regenerated.
34224         * sysdeps/x86_64/configure: Likewise.
34225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34226         memset-avx2 only if config-cflags-avx2 is yes.
34227         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34228         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
34229         defined.
34230         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
34231         only if HAVE_AVX2_SUPPORT is defined.
34232         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34234 2014-07-14  Alan Modra  <amodra@gmail.com>
34236         [BZ #17153]
34237         * elf/elf.h (DT_PPC64_NUM): Correct value.
34238         * NEWS: Add to fixed bug list.
34240 2014-07-13  Jim Meyering  <meyering@fb.com>
34242         [BZ 17150]
34243         regex: don't deref NULL upon heap allocation failure
34244         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
34245         failure in one more place.
34246         To trigger the segfault, configure grep -with-included-regex,
34247         build it, and run these commands:
34248         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
34250 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
34252         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34254 2014-07-11  Richard Henderson  <rth@redhat.com>
34256         * sysdeps/aarch64/libm-test-ulps: Update.
34258 2014-07-10  Florian Weimer  <fweimer@redhat.com>
34260         [BZ #17135]
34261         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
34262         * nptl/allocatestack.c (__nptl_setxid_error): New function.
34263         (__nptl_setxid): Initialize error member.  Call
34264         __nptl_setxid_error.
34265         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
34266         * nptl/descr.h (struct xid_command): Add error member.
34267         * nptl/tst-setuid3.c: New file.
34268         * nptl/Makefile (tests): Add it.
34270 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34272         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
34273         New define.
34274         (__lll_trylock): Use __lll_base_trylock.
34275         (__lll_cond_trylock): Likewise.
34277 2014-07-10  Roland McGrath  <roland@hack.frob.com>
34279         * nptl/pthread_create.c (start_thread): Use atomic_or and
34280         lll_futex_wake directly rather than lll_robust_dead.
34281         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34282         (lll_robust_dead): Macro removed.
34283         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
34284         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34285         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34286         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34287         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34288         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34289         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34290         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34291         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34292         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34293         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34294         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34295         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34296         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34297         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34299         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
34300         Use atomic_compare_and_exchange_val_acq directly rather than
34301         lll_robust_trylock.
34302         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34303         (__lll_robust_trylock, lll_robust_trylock): Removed.
34304         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34305         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34306         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34307         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34308         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34309         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34310         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34311         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34312         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34313         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34314         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34315         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34316         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34317         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34319 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34321         * manual/locale.texi (Locale Names): New section documenting
34322         locale name syntax.  Adjust menu and node chaining accordingly.
34323         (Choosing Locale): Reference Locale Names, Locale Categories.
34324         Mention setting LC_ALL=C.  Reflect that name syntax is now
34325         documented.
34326         (Locale Categories): New section title.  Reference Locale Names.
34327         LC_ALL is an environment variable, but not a category.
34328         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
34329         description, now in Locale Name.  Reference that section.  Locale
34330         name syntax is now documented.
34332 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34334         [BZ #17137]
34335         * locale/findlocale.c (name_present, valid_locale_name): New
34336         functions.
34337         (_nl_find_locale): Use the loc_name variable to store name
34338         candidates.  Call name_present and valid_locale_name to check and
34339         validate locale names.  Return an error if the locale is invalid.
34341 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34343         * locale/setlocale.c (setlocale): Use strdup for allocating
34344         composite name copy.
34346 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34348         Sync up with gnulib.
34349         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
34350         [!_LIBC && ENABLE_NLS]: Include gettext.h.
34351         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34352         and _GL_ARG_NONNULL.
34353         [USE_UNLOCKED_IO]: Include unlocked-io.h.
34354         [!_LIBC]: Include code for Windows and Cygwin.
34355         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
34356         Include prototype for int strerror_r.
34357         [!_LIBC] (is_open): New function.
34358         (flush_stdout): New function.
34359         (print_errno_message): Use it.
34360         (error): Likewise.
34361         (error_at_line): Likewise.
34362         (error_tail) Add function attribute macros.  Use
34363         __builtin_expect.
34365         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
34367         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
34369         * io/ftw.c: Include sys/param.h unconditionally.
34371         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
34373         [BZ #17125]
34374         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
34375         libc_freeres_ptr.
34376         (freecache): New function to free CACHE on exit.
34378         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
34379         initialization.
34381 2014-07-09  David S. Miller  <davem@davemloft.net>
34383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34385         * sysdeps/sparc/nptl/internaltypes.h: Delete.
34386         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
34387         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
34388         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
34389         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
34390         * sysdeps/sparc/nptl/sem_init.c: Likewise.
34391         * sysdeps/sparc/nptl/sem_post.c: Likewise.
34392         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
34393         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34394         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34395         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34396         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34397         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34399 2014-07-09  Andreas Schwab  <schwab@suse.de>
34401         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34402         output.
34403         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34404         (do_test): Likewise.
34406         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34408 2014-07-09  Will Newton  <will.newton@linaro.org>
34410         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34411         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34412         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34413         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34414         * sysdeps/hppa/start.S (_start): Likewise.
34416 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34418         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
34420         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
34421         defined.
34423 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34425         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
34426         after checking that it is non-NULL.
34428         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
34430 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34432         * sysdeps/powerpc/memmove.c: Remove file.
34433         * sysdeps/powerpc/powerpc32/power4/memcopy.h
34434         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
34435         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34436         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
34437         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
34438         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
34439         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
34440         string memmove instead of removed powerpc one.
34442         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34443         [weak_alias]: Fix compiler warning due trailing data.
34444         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
34445         [weak_alias]: Likewise.
34446         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
34447         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
34449         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34450         (__libc_ifunc_impl_list): Add memmove functions.
34452 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34454         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
34455         Remove code.
34456         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
34457         Likewise.
34458         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34459         Likewise.
34460         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
34461         Likewise.
34462         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
34463         Likewise.
34464         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
34465         Likewise.
34466         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
34467         Likewise.
34468         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
34469         Likewise.
34470         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
34471         Likewise.
34472         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34473         Likewise.
34474         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
34475         Likewise.
34476         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
34477         Likewise.
34478         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
34479         Likewise.
34480         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
34481         Likewise.
34482         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
34483         Likewise.
34484         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
34485         Likewise.
34486         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
34487         Likewise.
34489 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34491         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
34492         to avoid alignment traps in non-cacheable memory.
34493         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
34496         multiarch objects.
34497         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
34498         file: multiarch power7 memmove.
34499         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34500         multiarch default memmove.
34501         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
34502         multiarch memove for powerpc32/power4.
34504         * string/bcopy.c: Use full path to include memmove.c.
34505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
34506         multiarch objects.
34507         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
34508         bcopy for powerpc64.
34509         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
34510         bcopy for powerpc64.
34511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
34512         and memmove implementations.
34513         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
34514         optimized multiarch memmove for POWER7/powerpc64.
34515         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
34516         default multiarch memmove for powerpc64.
34517         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
34518         multiarch for powerpc64.
34519         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
34520         for POWER7/powerpc64.
34521         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
34522         memmove for POWER7/powerpc64.
34524         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
34525         glibc default one.
34527         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
34528         __ELF_NATIVE_CLASS equal to 64.
34530 2014-07-07  Roland McGrath  <roland@hack.frob.com>
34532         * sysdeps/nptl/lowlevellock.h: File removed.
34534         * NEWS: NPTL is no longer an add-on!
34535         * nptl/internaltypes.h: Moved ...
34536         * sysdeps/nptl/internaltypes.h: ... here.
34537         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
34538         * sysdeps/nptl/fork.c: Likewise.
34539         * sysdeps/nptl/gai_misc.h: Likewise.
34540         * sysdeps/nptl/librt-cancellation.c: Likewise.
34541         * sysdeps/nptl/jmp-unwind.c: Likewise.
34542         * sysdeps/nptl/setxid.h: Likewise.
34543         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
34544         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
34545         * sysdeps/unix/sysv/linux/arm/Implies: New file.
34546         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
34547         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
34548         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
34549         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
34550         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
34551         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
34552         * sysdeps/unix/sysv/linux/mips/Implies: New file.
34553         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
34554         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
34555         * sysdeps/unix/sysv/linux/sh/Implies: New file.
34556         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
34557         * sysdeps/unix/sysv/linux/tile/Implies: New file.
34558         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
34559         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
34560         * nptl/Makeconfig: Moved ...
34561         * sysdeps/nptl/Makeconfig: ... here.
34562         * nptl/configure: File removed.
34563         * nptl/ANNOUNCE: File removed.
34564         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34565         * sysdeps/unix/sysv/linux/configure: Regenerated.
34567         * nptl/Makefile (routines): Add libc_pthread_init,
34568         libc_multiple_threads, register-atfork and unregister-atfork.
34569         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
34570         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
34571         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
34572         pthread-pi-defines.sym, structsem.sym.
34573         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
34574         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
34575         [$(subdir) = nptl] (tests): Add tst-setgetname.
34576         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
34577         * sysdeps/unix/sysv/linux/sigaction.c: Just include
34578         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
34579         [!LIBC_SIGACTION]: Remove aliases.
34580         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34581         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34582         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34583         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
34584         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34585         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
34586         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34587         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34588         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34589         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
34590         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
34591         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
34592         __libc_allocate_rtsig_private.
34593         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
34594         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
34595         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
34596         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
34597         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
34598         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
34599         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
34600         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
34601         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
34602         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
34603         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
34604         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
34605         * nptl/internaltypes.h: ... here.
34606         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
34607         * sysdeps/nptl/jmp-unwind.c: ... here.
34608         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
34609         * nptl/libc-lowlevellock.c: ... here.
34610         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
34611         * nptl/libc_multiple_threads.c: ... here.
34612         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
34613         * nptl/libc_pthread_init.c: ... here.
34614         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
34615         * nptl/lowlevelbarrier.sym: ... here.
34616         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
34617         * nptl/lowlevelcond.sym: ... here.
34618         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
34619         * nptl/lowlevellock.c: ... here.
34620         * nptl/lowlevellock.h: Moved ...
34621         * sysdeps/nptl/lowlevellock.h: ... here.
34622         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
34623         * nptl/lowlevelrobustlock.c: ... here.
34624         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
34625         * nptl/lowlevelrobustlock.sym: ... here.
34626         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
34627         * nptl/lowlevelrwlock.sym: ... here.
34628         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
34629         * nptl/pt-fork.c: ... here.
34630         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
34631         * nptl/pthread-pi-defines.sym: ... here.
34632         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
34633         * nptl/pthread_attr_getaffinity.c: ... here.
34634         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
34635         * nptl/pthread_attr_setaffinity.c: ... here.
34636         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
34637         * nptl/pthread_mutex_cond_lock.c: ... here.
34638         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34639         Update #include.
34640         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
34641         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
34642         * nptl/pthread_once.c: ... here, replacing old file.
34643         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
34644         * nptl/pthread_yield.c: ... here.
34645         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
34646         * nptl/register-atfork.c: ... here.
34647         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
34648         * nptl/sem_post.c: ... here.
34649         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
34650         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
34651         * nptl/sem_timedwait.c: ... here.
34652         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
34653         * nptl/sem_trywait.c: ... here.
34654         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
34655         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
34656         * nptl/sem_wait.c: ... here.
34657         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
34658         * nptl/structsem.sym: ... here.
34659         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
34660         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
34661         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
34662         * nptl/unregister-atfork.c: ... here.
34663         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
34664         * nptl/unwindbuf.sym: ... here.
34665         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
34666         * sysdeps/nptl/fork.c: ... here.
34667         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
34668         * sysdeps/nptl/fork.h: ... here.
34669         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
34670         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
34671         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
34672         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
34673         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
34674         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
34675         * sysdeps/unix/sysv/linux/getpid.c: ... here.
34676         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
34677         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
34678         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
34679         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
34680         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
34681         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
34682         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
34683         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
34684         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
34685         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
34686         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
34687         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
34688         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
34689         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
34690         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
34691         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
34692         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
34693         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
34694         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
34695         * sysdeps/unix/sysv/linux/raise.c: ... here.
34696         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
34697         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
34698         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
34699         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
34700         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
34701         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
34702         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
34703         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
34704         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
34705         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
34706         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
34707         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
34708         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
34709         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
34710         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
34712 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34714         * sysdeps/generic/memcopy.h: Add comment for
34715         MEMCPY_OK_FOR_FWD_MEMMOVE.
34717 2014-07-04  Will Newton  <will.newton@linaro.org>
34719         * string/memchr.c: Merge from gnulib.
34720         [_LIBC]: Remove conditionals.
34721         (__ptr_t): Remove define.
34722         (LONG_MAX_32_BITS): Likewise.
34723         (LONG_MAX): Likewise.
34724         (MEMCHR): Use ANSI prototype and optimize algorithm.
34726         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
34728 2014-07-03  Roland McGrath  <roland@hack.frob.com>
34730         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
34731         (lll_futex_timed_wait_bitset): Fix syscall argument count.
34733         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
34734         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
34735         in a bare environment with no <stdlib.h> installed.
34736         * sysdeps/nptl/configure: Regenerated.
34738         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
34740         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
34741         AC_EGREP_CPP for kernel header checks, so they only succeed if
34742         including <linux/version.h> actually works right.
34743         * sysdeps/unix/sysv/linux/configure: Regenerated.
34745         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
34746         value so it's not diagnosed as unused.
34748         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
34749         thing) with "ifeq ($(subdir),rt)".
34751 2014-07-03  Richard Henderson  <rth@redhat.com>
34753         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
34754         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
34755         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
34757         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
34758         (math_force_eval): New.
34760         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34761         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
34763         * sysdeps/alpha/fpu/s_round.c: Remove file.
34764         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34766         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34767         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34768         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34769         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34770         (_dl_start, print_statistics): Likewise.
34771         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34772         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34774         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34775         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34776         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34777         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34778         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34779         (HP_SMALL_TIMING_AVAIL): Define.
34780         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34781         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34782         (HP_SMALL_TIMING_AVAIL): Define.
34783         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34784         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34786         * sysdeps/aarch64/hp-timing.h: New file.
34788         * sysdeps/generic/hp-timing.h: Remove dead comment.
34789         * sysdeps/generic/hp-timing-common.h: New file.
34790         * sysdeps/alpha/hp-timing.h: Include it.
34791         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34792         * sysdeps/i386/i686/hp-timing.h: Likewise.
34793         * sysdeps/ia64/hp-timing.h: Likewise.
34794         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34795         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34796         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34797         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34798         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34799         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34800         (hp_timing_t): New.
34802         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34803         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34804         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34805         * elf/rtld.c (_dl_start_final): Likewise.
34806         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34807         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34808         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34809         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34810         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34811         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34812         (HP_TIMING_DIFF_INIT): Remove.
34813         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34814         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34815         (HP_TIMING_DIFF_INIT): Remove.
34816         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34817         * sysdeps/i386/i686/hp-timing.c: Remove file.
34818         * sysdeps/x86_64/hp-timing.c: Remove file.
34819         * sysdeps/ia64/hp-timing.c: Remove file.
34820         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34821         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34822         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34823         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34825         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34826         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34827         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34828         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34829         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34830         (HP_TIMING_ACCUM): Remove.
34831         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34832         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34833         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34835         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34836         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
34837         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
34838         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
34839         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
34840         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34841         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
34842         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34844         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
34846 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
34848         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
34850 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34852         Sync up with gettext.
34853         * intl/loadmsgcat.c: Define O_BINARY if not defined.
34854         [_MSC_VER]: Include malloc.h
34855         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
34856         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
34857         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
34858         TEMP_FAILURE_RETRY.  Cast return of alloca.
34859         [!_LIBC] Call gl_rwlock_init.
34860         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
34862 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34864         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34865         before checking its value.
34867 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34869         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34871         * debug/memcpy_chk.c: Don't include pagecopy.h.
34872         * debug/mempcpy_chk.c: Likewise.
34873         * string/memcpy.c: Likewise.
34874         * string/memmove.c: Likewise.
34875         * sysdeps/powerpc/memmove.c: Likewise.
34876         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34877         definition of PAGE_COPY_FWD_MAYBE here...
34878         * sysdeps/generic/pagecopy.h: ... from here.
34879         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34881 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34882             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34884         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34885         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34886         optimizations.
34887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34888         (__libc_ifunc_impl_list): Likewise.
34889         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34890         multiarch strcat for PPC64.
34891         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34892         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34894 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34896         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
34898 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34900         * intl/loadmsgcat.c: Remove declaration of
34901         get_sysdep_segment_value.
34902         (get_sysdep_segment_value): Use ISO C style.
34903         (_nl_load_domain): Use ISO C style.  Get rid of redundant
34904         semicolon.  Fix typo and formatting in comment.
34905         (_nl_unload_domain): Use ISO C style.
34907         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
34909 2014-07-02  Will Newton  <will.newton@linaro.org>
34911         * malloc/obstack.c: Merge from gnulib master.
34912         [HAVE_CONFIG_H]: Remove conditional code.
34913         [!_LIBC]: Include config.h.
34914         [!ELIDE_CODE]: Don't include inttypes.h, include
34915         stdint.h unconditionally.
34916         (print_and_abort): Mark as _Noreturn.
34917         (_obstack_allocated_p): Mark as __attribute_pure__.
34918         (obstack_free): Rename to __obstack_free.
34919         [!__attribute__]: Remove conditional code.
34920         * malloc/obstack.h: Merge from gnulib master.
34921         [__cplusplus]: Move conditional down.
34922         [!__attribute_pure__]: Define __attribute_pure__ here
34923         if it is not already defined.
34924         (_obstack_memory_used): Mark as __attribute_pure__.
34925         [!__obstack_free]: Define as obstack_free.
34926         [__GNUC__]: Remove check for ancient NeXT gcc.
34928 2014-07-02  Will Newton  <will.newton@linaro.org>
34929             Paul Eggert  <eggert@cs.ucla.edu>
34931         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
34933 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34935         * resolv/gethnamaddr.c: Add comment warning that the file is
34936         not maintained.
34938 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
34940         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
34941         entries.
34943         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
34944         entry for aio_cancel and aio_cancel64.
34945         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
34946         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
34947         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
34948         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
34949         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
34950         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
34951         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
34952         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
34953         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
34954         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
34955         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
34956         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
34957         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
34959 2014-07-01  Roland McGrath  <roland@hack.frob.com>
34961         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
34962         * nptl/pthread_mutex_lock.c: Likewise.
34963         * nptl/pthread_mutex_timedlock.c: Likewise.
34964         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
34966 2014-07-01  Richard henderson  <rth@redhat.com>
34968         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
34969         (__isnan, __isnanl): Remove.
34970         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
34972         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34974 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34976         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34978 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34980         * resolv/nss_dns/dns-host.c (getanswer_r)
34981         [MULTI_PTRS_ARE_ALIASES]: Remove code.
34983 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
34985         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34986         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
34987         undefine.
34988         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
34989         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
34991 2014-07-01  Roland McGrath <roland@hack.frob.com>
34993         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
34994         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
34996         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
34997         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
34999         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
35000         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
35001         ... here.
35002         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
35003         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
35005         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
35006         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
35007         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
35008         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
35010         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
35011         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
35012         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
35013         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
35014         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
35015         Moved ...
35016         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
35017         ... here.
35018         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
35019         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
35020         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
35021         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
35022         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
35023         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
35024         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
35025         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
35026         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
35027         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
35028         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
35029         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
35030         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
35031         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
35032         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
35033         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
35034         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
35035         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
35036         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
35037         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
35038         ... here.
35039         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
35040         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
35041         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
35042         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
35043         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
35044         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
35045         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
35046         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
35048 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
35050         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
35051         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
35052         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
35053         Add sysdep.
35055 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35059 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35061         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
35062         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35064         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35066         * sysdeps/arm/libm-test-ulps: Regenerated.
35068 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35069             Roland McGrath <roland@hack.frob.com>
35071         * test-skeleton.c (signal_handler): Kill the whole process group
35072         before killing the child individually.
35073         (main): Report any failure on `setpgid'.
35075 2014-06-30  Roland McGrath  <roland@hack.frob.com>
35077         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
35078         from _TLS_H to _ARM_NPTL_TLS_H.
35079         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
35080         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
35082 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35084         [BZ #16539]
35085         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
35086         (__expm1l): Return argument unchanged when small but not
35087         subnormal.
35089         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
35090         include macro name.
35091         (_FP_UNPACK_RAW_1_P): Likewise.
35092         (_FP_PACK_RAW_1): Likewise.
35093         (_FP_PACK_RAW_1_P): Likewise.
35094         (_FP_MUL_MEAT_1_wide): Likewise.
35095         (_FP_MUL_MEAT_DW_1_hard): Likewise.
35096         (_FP_MUL_MEAT_1_hard): Likewise.
35097         (_FP_DIV_MEAT_1_imm): Likewise.
35098         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
35099         (_FP_DIV_MEAT_1_udiv): Likewise.
35100         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
35101         (_FP_UNPACK_RAW_2): Likewise.
35102         (_FP_UNPACK_RAW_2_P): Likewise.
35103         (_FP_PACK_RAW_2): Likewise.
35104         (_FP_PACK_RAW_2_P): Likewise.
35105         (_FP_MUL_MEAT_DW_2_wide): Likewise.
35106         (_FP_MUL_MEAT_2_wide): Likewise.
35107         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
35108         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35109         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
35110         (_FP_MUL_MEAT_2_gmp): Likewise.
35111         (_FP_DIV_MEAT_2_udiv): Likewise.
35112         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
35113         (_FP_FRAC_SRL_4): Likewise.
35114         (_FP_FRAC_SRST_4): Likewise.
35115         (_FP_FRAC_SRS_4): Likewise.
35116         (_FP_UNPACK_RAW_4): Likewise.
35117         (_FP_UNPACK_RAW_4_P): Likewise.
35118         (_FP_PACK_RAW_4): Likewise.
35119         (_FP_PACK_RAW_4_P): Likewise.
35120         (_FP_MUL_MEAT_DW_4_wide): Likewise.
35121         (_FP_MUL_MEAT_4_wide): Likewise.
35122         (_FP_MUL_MEAT_4_gmp): Likewise.
35123         (umul_ppppmnnn): Likewise.
35124         (_FP_DIV_MEAT_4_udiv): Likewise.
35125         (__FP_FRAC_ADD_4): Likewise.
35126         (__FP_FRAC_SUB_3): Likewise.
35127         (__FP_FRAC_SUB_4): Likewise.
35128         (__FP_FRAC_DEC_3): Likewise.
35129         (__FP_FRAC_DEC_4): Likewise.
35130         (__FP_FRAC_ADDI_4): Likewise.
35131         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
35132         (_FP_FRAC_SRL_8): Likewise.
35133         (_FP_FRAC_SRS_8): Likewise.
35135         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
35136         include macro name.
35137         (FP_UNPACK_RAW_EP): Likewise.
35138         (FP_PACK_RAW_E): Likewise.
35139         (FP_PACK_RAW_EP): Likewise.
35140         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
35141         (_FP_ISSIGNAN): Likewise.
35142         (_FP_ADD_INTERNAL): Likewise.
35143         (_FP_FMA): Likewise.
35144         (_FP_CMP): Likewise.
35145         (_FP_SQRT): Likewise.
35146         (_FP_TO_INT): Likewise.
35147         (_FP_FROM_INT): Likewise.
35148         (FP_EXTEND): Likewise.
35149         (_FP_DIV_MEAT_N_loop): Likewise.
35151 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35153         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
35154         throughout.
35156 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
35158         [BZ #17097]
35159         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
35160         result with correct sign in case of exponents that produce
35161         overflow except for X very close to 1.
35163 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
35165         mktime: merge #if/#ifdef usage from glibc
35166         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
35167         as that works with both Glibc's and Gnulib's style.
35168         See thread starting at Siddhesh Poyarekar's bug report at:
35169         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
35171 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35173         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
35174         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
35175         * sysdeps/tile/tilegx/memmove.c: Remove file.
35177 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35179         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
35180         abi-name definition.
35181         * scripts/soversions.awk: Do not handle or generate ABI lines.
35182         * shlib-versions: Remove ABI entries.
35183         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
35184         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
35186 2014-06-27  Roland McGrath  <roland@hack.frob.com>
35188         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
35189         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
35190         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
35191         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
35192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
35193         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
35194         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
35195         Moved ...
35196         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
35197         ... here.
35198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
35199         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
35200         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
35201         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
35202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
35203         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
35204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
35205         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
35206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
35207         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
35208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
35209         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
35210         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
35211         Moved ...
35212         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
35213         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
35214         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
35215         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
35216         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
35217         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
35218         Moved ...
35219         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
35220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
35221         Moved ...
35222         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
35223         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
35224         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
35225         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
35226         Moved ...
35227         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
35228         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
35229         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
35230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
35231         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
35232         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
35233         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
35234         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
35235         Moved ...
35236         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
35237         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
35238         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
35239         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
35240         Moved ...
35241         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
35242         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
35243         Moved ...
35244         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
35245         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
35246         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
35247         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
35248         Moved ...
35249         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
35250         ... here.
35251         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
35252         Identical file removed.
35253         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
35254         Moved ...
35255         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
35256         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
35257         Identical file removed.
35258         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
35259         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
35260         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
35261         Moved ...
35262         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
35263         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
35264         Identical file removed.
35265         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
35266         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
35267         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
35268         Identical file removed.
35269         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
35270         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
35271         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
35272         Identical file removed.
35273         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
35274         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
35275         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
35276         Identical file removed.
35277         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
35278         Moved ...
35279         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
35280         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
35281         Identical file removed.
35282         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
35283         Moved ...
35284         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
35285         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
35286         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
35287         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
35288         Identical file removed.
35289         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
35290         Moved ...
35291         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
35292         ... here.
35293         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
35294         Identical file removed.
35295         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
35296         Moved ...
35297         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
35298         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
35299         Identical file removed.
35300         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
35301         Moved ...
35302         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
35303         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
35304         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
35305         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
35306         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
35307         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
35308         Moved ...
35309         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
35310         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
35311         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
35313         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
35314         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
35315         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
35316         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
35317         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
35319 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
35321         [BZ #17092]
35322         * nscd/nscd.c (monitor_child): Return exit status of child
35323         instead of return value from wait syscall.
35325 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35327         * configure.ac (libc_commonpagesize): Remove variable.
35328         (libc_relro_required): Likewise.
35329         (libc_cv_z_relro): Remove configure test.
35330         * configure: Regenerated.
35331         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
35332         variable.
35333         (libc_relro_required): Likewise.
35334         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
35335         (libc_relro_required): Likewise.
35336         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
35337         (libc_relro_required): Likewise.
35338         * sysdeps/arm/preconfigure: Regenerated.
35339         * sysdeps/ia64/preconfigure: Remove file.
35340         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
35341         variable.
35342         (libc_relro_required): Likewise.
35344         [BZ #16561]
35345         [BZ #16562]
35346         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
35347         (__ieee754_yn): Set FE_TONEAREST mode internally and then
35348         recompute overflowing results in original rounding mode.
35349         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
35350         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
35351         recompute overflowing results in original rounding mode.
35352         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
35353         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35354         recompute overflowing results in original rounding mode.
35355         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
35356         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35357         recompute overflowing results in original rounding mode.
35358         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35359         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35360         recompute overflowing results in original rounding mode.
35361         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
35362         (libc_feholdsetround_ctx): New macro.
35363         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
35364         * sysdeps/i386/fpu/libm-test-ulps: Update.
35365         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
35367 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35369         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
35370         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
35371         corresponding .cpsetup call.
35373 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35375         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35376         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
35377         * sysdeps/arm/Makefile [$(subdir) = csu]
35378         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
35379         (static-only-routines): Add aeabi_read_tp here.
35380         (shared-only-routines): Add libc-aeabi_read_tp here.
35381         (CFLAGS-libc-start.c): Add -fexceptions here.
35382         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
35383         (sysdep_routines, static-only-routines, shared-only-routines):
35384         Don't add to these here.
35385         (CFLAGS-libc-start.c): Likewise.
35387         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
35388         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35389         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
35390         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35391         * sysdeps/arm/Makefile [$(subdir) = rt]
35392         (librt-sysdep_routines, librt-shared-only-routines):
35393         Append rt-aeabi_unwind_cpp_pr1 here.
35394         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35395         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35396         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35397         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35398         Append nptl-aeabi_unwind_cpp_pr1 here.
35399         (tests): Filter out tst-cleanupx4 here.
35400         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35401         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35402         Don't do those here.
35404 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35406         * scripts/list-sources.sh: Do not handle ports specially.
35408 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35410         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35411         * sysdeps/arm/feupdateenv.c: Likewise.
35413         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35415 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35417         * manual/texinfo.tex: Update to version 2014-05-05.10 with
35418         trailing whitespace removed.
35419         * scripts/config.guess: Update to version 2014-03-23.
35420         * scripts/config.sub: Update to version 2014-05-01
35421         * scripts/install-sh: Update to version 2013-12-25.23.
35422         * scripts/move-if-change: Update from gnulib.
35424 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35426         * debug/memmove_chk.c: Remove pagecopy.h include.
35428 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
35430         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
35431         identical to gnulib mktime.
35433 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35435         * configure.ac: Do not test for machine being rs6000.  Do not test
35436         for powerpc*-*soft.
35437         * configure: Regenerated.
35439         [BZ #11505]
35440         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
35441         test.
35442         * configure: Regenerated.
35443         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
35444         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
35445         Remove configure test.
35446         * sysdeps/arm/configure: Regenerated.
35447         * sysdeps/nptl/configure.ac: Do not check
35448         libc_cv_asm_cfi_directives.
35449         * sysdeps/nptl/configure: Regenerated.
35450         * sysdeps/x86_64/nptl/configure.ac: Remove file.
35451         * sysdeps/x86_64/nptl/configure: Remove generated file.
35452         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
35453         unconditional.
35454         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
35456 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35458         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35459         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
35460         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35461         it is defined.
35463         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
35464         instead of whether it is defined.
35465         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
35466         * sysdeps/hppa/dl-machine.h: Likewise.
35467         * sysdeps/ia64/dl-machine.h: Likewise.
35468         * sysdeps/m68k/dl-machine.h: Likewise.
35469         * sysdeps/microblaze/dl-machine.h: Likewise.
35470         * sysdeps/mips/dl-machine.: Likewise.
35471         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35472         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35473         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35474         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35475         * sysdeps/sh/dl-machine.h: Likewise.
35476         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35477         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35478         * sysdeps/tile/dl-machine.h: Likewise.
35479         * sysdeps/x86_64/dl-machine.h: Likewise.
35481         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
35482         code.
35483         (verify_persistent_db): Likewise.
35485 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
35488         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
35489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35490         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
35491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35492         Moved ...
35493         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35494         ... here.
35495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
35496         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
35497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
35498         Identical file removed.
35499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
35500         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
35501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
35502         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
35503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
35504         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
35505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
35506         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
35507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
35508         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
35509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35510         Moved ...
35511         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
35512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
35513         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
35514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
35515         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
35516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35517         Moved ...
35518         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
35520         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
35521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
35522         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
35523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35524         Identical file removed.
35525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
35526         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
35527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
35528         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
35529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35530         Moved ...
35531         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
35532         ... here.
35533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
35534         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
35535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
35536         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
35537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
35538         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
35539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
35540         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
35541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
35542         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
35543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35544         Moved ...
35545         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
35546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
35547         Moved ...
35548         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
35549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
35550         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
35551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35552         Moved ...
35553         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
35554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
35555         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
35557         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
35558         folded into ...
35559         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
35560         * sysdeps/unix/sysv/linux/s390/Versions
35561         (libpthread: GLIBC_2.19): New version set.
35562         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
35563         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
35564         (librt: GLIBC_2.3.3): New version set.
35565         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
35566         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
35567         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
35568         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
35569         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
35570         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
35571         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
35572         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
35573         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
35574         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
35575         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
35576         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
35577         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
35578         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
35579         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
35580         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
35581         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
35582         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
35583         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
35584         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
35585         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
35586         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
35587         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
35588         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
35589         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
35590         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
35591         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
35592         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
35593         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
35594         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
35595         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
35596         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
35597         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
35598         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
35599         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
35600         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
35601         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
35602         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
35603         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
35604         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
35605         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
35606         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
35607         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
35608         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
35609         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
35611         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
35612         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
35613         (__libc_vfork): Define the function under this name.
35614         [!NOT_IN_libc] (__vfork): Make this an alias.
35615         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35616         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
35617         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
35618         (__libc_vfork): Define the function under this name.
35619         [!NOT_IN_libc] (__vfork): Make this an alias.
35620         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35621         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
35622         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
35623         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
35624         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
35625         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35627         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
35628         code that was previously under [RESET_PID].
35629         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
35630         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
35631         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
35633         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
35634         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
35635         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
35636         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
35637         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
35638         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
35639         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
35640         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
35641         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
35642         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35643         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
35644         Moved ...
35645         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
35646         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
35647         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
35648         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
35649         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
35650         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
35651         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
35652         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
35653         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
35654         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
35655         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
35656         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
35657         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
35658         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
35659         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
35660         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
35661         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
35662         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
35663         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
35664         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
35665         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
35666         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
35667         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
35668         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
35669         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
35670         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
35671         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
35672         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
35673         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
35675 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35677         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
35678         that was previously under [RESET_PID].
35679         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
35681 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35683         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
35684         not undefine and redefine.
35685         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
35686         [O_CLOEXEC]: Make code unconditional.
35687         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
35688         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
35689         <kernel-features.h>.
35690         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
35691         conditional variable definition.
35692         (shm_open) [O_CLOEXEC]: Make code unconditional.
35693         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
35694         code.
35696         * configure.ac (USE_REGPARMS): Don't define here.
35697         * configure: Regenerated.
35698         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
35699         * sysdeps/i386/configure: Regenerated.
35701         * nptl/createthread.c: Don't include kernel-features.h.
35702         * nptl/pthread_cancel.c: Likewise.
35703         * nptl/pthread_condattr_setclock.c: Likewise.
35704         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
35705         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
35706         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
35707         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
35708         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
35709         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
35710         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35711         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
35712         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35713         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
35714         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
35715         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
35716         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
35717         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
35718         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
35719         * nscd/gai.c: Likewise.
35720         * nss/nss_db/db-open.c: Likewise.
35721         * sysdeps/generic/ldsodefs.h: Likewise.
35722         * sysdeps/sh/nptl/tls.h: Likewise.
35723         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35724         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
35725         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
35726         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
35727         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
35728         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35729         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
35730         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35731         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35732         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35733         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35734         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35735         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
35736         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
35737         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
35738         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
35739         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
35740         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
35741         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
35742         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
35743         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
35744         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
35745         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
35746         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
35747         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
35748         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
35749         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
35750         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
35751         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35752         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
35753         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
35754         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
35755         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
35756         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35757         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35758         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35759         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35760         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
35761         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
35762         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
35763         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35764         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
35765         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35766         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35767         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35768         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35769         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35770         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35771         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35772         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35773         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35774         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35775         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35776         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35777         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35778         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35779         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35780         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35803         * sysdeps/unix/sysv/linux/pread.c: Likewise.
35804         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35805         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35806         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35807         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35808         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35809         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35810         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35811         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35812         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35813         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35814         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35815         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35816         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35817         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35818         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35819         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35820         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35821         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35822         * sysdeps/unix/sysv/linux/system.c: Likewise.
35823         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35824         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35825         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35826         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35827         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35828         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35829         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35831         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35832         * configure: Regenerated.
35833         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35835         * configure.ac (base_machine): Do not set specially for particular
35836         machines here.
35837         * configure: Regenerated.
35838         * sysdeps/powerpc/preconfigure: Move machine and base_machine
35839         settings from configure.ac.
35840         * sysdeps/i386/preconfigure: New file.
35841         * sysdeps/s390/preconfigure: Likewise.
35842         * sysdeps/sh/preconfigure: Likewise.
35843         * sysdeps/sparc/preconfigure: Likewise.
35845 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35847         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
35848         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
35849         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
35850         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
35851         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
35852         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
35853         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
35854         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
35855         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
35856         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
35857         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
35858         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
35859         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
35860         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
35861         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
35862         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35863         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
35864         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35865         * sysdeps/sparc/sparc64/Makefile: ... appended here.
35867         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35868         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35869         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35870         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35871         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35872         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35873         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35874         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35875         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35876         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35877         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35878         * sysdeps/sparc/sparc32/sem_post.c: ... here.
35879         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35880         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35881         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35882         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35883         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35884         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35885         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35886         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35887         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35888         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35889         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35890         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35891         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35892         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35893         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35894         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35895         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35896         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35897         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
35898         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
35899         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
35900         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
35901         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
35902         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
35903         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
35904         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
35906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
35907         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
35908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
35909         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
35910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35911         Moved ...
35912         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
35913         ... here.
35914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
35915         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
35916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
35917         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
35918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
35919         Moved ...
35920         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
35921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
35922         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
35923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
35924         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
35925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
35926         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
35927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35928         Moved ...
35929         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
35930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35931         Moved ...
35932         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
35933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
35934         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
35935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35936         Moved ...
35937         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
35938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
35939         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
35940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
35941         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
35942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
35943         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
35944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
35945         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
35946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35947         Moved ...
35948         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
35949         ... here.
35950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
35951         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
35952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
35953         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
35954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
35955         Moved ...
35956         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
35957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
35958         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
35959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
35960         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
35961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
35962         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
35963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35964         Moved ...
35965         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
35966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35967         Moved ...
35968         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
35969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
35970         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
35971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35972         Moved ...
35973         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
35974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
35975         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
35976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
35977         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
35979 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35981         * timezone/checktab.awk: Update from tzcode 2014e.
35982         * timezone/private.h: Likewise.
35983         * timezone/tzfile.h: Likewise.
35984         * timezone/zdump.c: Likewise.
35985         * timezone/zic.c: Likewise.
35987         * sysdeps/unix/sysv/linux/kernel-features.h
35988         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
35989         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
35990         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
35991         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35992         Remove conditional code.
35994 2014-06-25  Will Newton  <will.newton@linaro.org>
35996         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
35997         (_dl_arm_cap_flags): Add HWCAP2 values.
35998         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
35999         (_DL_HWCAP_COUNT): Increase to 37.
36000         (_DL_HWCAP_LAST): New define.
36001         (_DL_HWCAP2_LAST): New define.
36002         (_dl_procinfo): Add support for printing
36003         AT_HWCAP2 entries.
36004         (_dl_string_hwcap): Use _dl_hwcap_string.
36006 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36010 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36012         * README: Do not mention ports directory.
36014         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
36015         Remove macro.
36016         * sysdeps/unix/sysv/linux/futimes.c: Do not include
36017         <kernel-features.h>.
36018         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
36019         conditional variable definition.
36020         (__futimes): Update comment.
36021         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
36022         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
36024         [BZ #16560]
36025         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
36026         arguments close to 0.
36027         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
36028         Likewise.
36029         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
36030         Likewise.
36031         * math/auto-libm-test-in: Add more tests of exp10.
36032         * math/auto-libm-test-out: Regenerated.
36033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36035         * sysdeps/unix/sysv/linux/kernel-features.h
36036         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
36037         * sysdeps/unix/sysv/linux/readv.c: Do not include
36038         <kernel-features.h>.
36039         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36040         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36041         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36042         unconditional.
36043         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36044         conditional code.
36045         * sysdeps/unix/sysv/linux/writev.c: Do not include
36046         <kernel-features.h>.
36047         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36048         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36049         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36050         unconditional.
36051         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36052         conditional code.
36054 2014-06-25  Will Newton  <will.newton@linaro.org>
36056         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
36057         comment changes throughout the file.  Remove checks
36058         for HAVE_*_H definitions that are not required.
36059         (__gen_tempname): Call abort if an unknown kind value is
36060         passed.
36062 2014-06-25  Andreas Schwab  <schwab@suse.de>
36064         [BZ #17086]
36065         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
36066         scalbln, scalblnf, scalblnl in libc.
36068 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36070         [BZ #17086]
36071         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
36072         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36073         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36075 2014-06-24  Roland McGrath  <roland@hack.frob.com>
36077         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
36078         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
36079         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
36080         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
36081         Update #include.
36082         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
36083         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
36084         Update #include.
36085         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
36086         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
36087         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
36088         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
36089         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
36090         * sysdeps/x86/bits/pthreadtypes.h: ... here.
36091         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
36092         * sysdeps/x86/bits/semaphore.h: ... here.
36093         * sysdeps/x86/nptl/elide.h: Moved ...
36094         * sysdeps/x86/elide.h: ... here.
36095         * sysdeps/x86_64/nptl/Implies: File removed.
36096         * sysdeps/i386/nptl/Implies: File removed.
36098 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
36100         [BZ #16539]
36101         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
36102         return the argument for normal arguments with exponent below -64.
36103         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36104         Likewise.
36105         * math/auto-libm-test-in: Add another test of expm1.
36106         * math/auto-libm-test-out: Regenerated.
36108         [BZ #16287]
36109         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
36110         calling __erfcl for arguments at least 16.
36111         * math/auto-libm-test-in: Add more tests of erf.
36112         * math/auto-libm-test-out: Regenerated.
36114         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
36115         individual architectures.
36116         * sysdeps/unix/sysv/linux/configure: Regenerated.
36117         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
36118         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
36119         * sysdeps/unix/sysv/linux/powerpc/configure.ac
36120         (ldd_rewrite_script): Define variable.
36121         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
36123         file.
36124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
36125         generated file.
36126         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
36127         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
36128         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
36129         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
36130         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
36131         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
36132         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
36133         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
36135 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36137         [BZ #17084]
36138         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
36139         Rename member __data.d to __data.__elision_data.
36141 2014-06-24  Wilco  <wdijkstr@arm.com>
36143         * NEWS: Add 16918 to fixed bug list.
36145 2014-06-24  Wilco  <wdijkstr@arm.com>
36147         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
36149 2014-06-24  Wilco  <wdijkstr@arm.com>
36151         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
36152         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
36153         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
36154         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
36155         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
36156         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
36157         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
36158         Use _FPU_MASK_RM.
36160 2014-06-24  Wilco  <wdijkstr@arm.com>
36162         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
36164 2014-06-24  Wilco  <wdijkstr@arm.com>
36166         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
36167         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
36168         * sysdeps/arm/fesetround.c (fesetround): Remove space.
36169         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
36171 2014-06-24  Wilco  <wdijkstr@arm.com>
36173         [BZ #16918]
36174         * sysdeps/arm/feupdateenv.c (feupdateenv):
36175         Rewrite to reduce FPSCR accesses and fix return value.
36177 2014-06-24  Wilco  <wdijkstr@arm.com>
36179         * sysdeps/arm/fclrexcpt.c (feclearexcept):
36180         Optimize to avoid unnecessary FPSCR writes.
36181         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
36182         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
36183         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
36184         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
36186 2014-06-24  Wilco  <wdijkstr@arm.com>
36188         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
36189         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
36190         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
36191         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
36192         Call libc_fetestexcept_vfp.
36193         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
36194         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
36195         __SOFTFP__ ifdef so that they can be built for softfp.
36197 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36199         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
36200         argument type signed char.
36202         * Makerules (check-abi): Dump diff of symlist if the test
36203         fails.
36205 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36207         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
36208         using abort.
36210         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36211         Remove unused variable ST.
36213 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36215         [BZ #16354]
36216         [BZ #17061]
36217         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
36218         small arguments before calling __expm1.
36219         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
36220         small arguments before calling __expm1f.
36221         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
36222         small arguments before calling __expm1l.
36223         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36224         Likewise.
36225         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36226         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
36227         spurious underflow for some cosh tests.
36228         * math/auto-libm-test-out: Regenerated.
36229         * sysdeps/i386/fpu/libm-test-ulps: Update.
36231         [BZ #17050]
36232         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
36233         (__ieee754_y1): Set errno if return value overflows.
36234         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
36235         (__ieee754_y1f): Set errno if return value overflows.
36236         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
36237         (__ieee754_y1l): Set errno if return value overflows.
36238         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
36239         (__ieee754_y1l): Set errno if return value overflows.
36240         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
36241         * math/auto-libm-test-out: Regenerated.
36243         * math/gen-auto-libm-tests.c: Document use of
36244         ignore-zero-inf-sign.
36245         (input_flag_type): Add value flag_ignore_zero_inf_sign.
36246         (input_flags): Add ignore-zero-inf-sign.
36247         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
36248         * math/gen-libm-test.pl (generate_testfile): Handle
36249         ignore-zero-inf-sign.
36250         * math/auto-libm-test-in: Mark some cpow tests with
36251         ignore-zero-inf-sign and some with xfail-rounding.
36252         * math/auto-libm-test-out: Regenerated.
36253         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
36254         * sysdeps/i386/fpu/libm-test-ulps: Update.
36255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36257         [BZ #16315]
36258         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
36259         overflowing or underflowing operations take place with sign of
36260         result.
36261         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36262         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36263         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
36264         (__ieee754_pow): Recompute overflowing and underflowing results in
36265         original rounding mode.
36266         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
36267         (__powl_helper): Allow negative argument X and scale negated value
36268         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
36269         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
36270         overflowing or underflowing operations take place with sign of
36271         result.
36272         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
36273         Include <math.h>.
36274         * math/auto-libm-test-in: Add more tests of pow.
36275         * math/auto-libm-test-out: Regenerated.
36276         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
36277         (pow_tonearest_test_data): Remove.
36278         (pow_test_tonearest): Likewise.
36279         (pow_towardzero_test_data): Likewise.
36280         (pow_test_towardzero): Likewise.
36281         (pow_downward_test_data): Likewise.
36282         (pow_test_downward): Likewise.
36283         (pow_upward_test_data): Likewise.
36284         (pow_test_upward): Likewise.
36285         (main): Don't call removed functions.
36286         * sysdeps/i386/fpu/libm-test-ulps: Update.
36287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36289 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
36292         Moved ...
36293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
36294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36295         Moved ...
36296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
36297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36298         Moved ...
36299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
36300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36301         Moved ...
36302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
36303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36304         File removed.
36305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36306         File removed.
36307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
36308         File removed.
36309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
36310         File removed.
36311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
36312         File removed.
36313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
36314         File removed.
36315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
36316         File removed.
36317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36318         File removed.
36319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
36320         File removed.
36321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36322         File removed.
36323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
36324         File removed.
36325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
36326         File removed.
36327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
36328         Moved ...
36329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
36330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
36331         Moved ...
36332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
36333         ... here.
36334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
36335         Moved ...
36336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
36337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
36338         Moved ...
36339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
36340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
36341         Moved ...
36342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
36343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
36344         Moved ...
36345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
36346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
36347         Moved ...
36348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
36349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
36350         Moved ...
36351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
36352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
36353         Moved ...
36354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
36355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
36356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
36357         ... here.
36358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
36359         Moved ...
36360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
36361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36362         Moved ...
36363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
36364         ... here.
36365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
36366         Moved ...
36367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
36368         ... here.
36369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36370         Moved ...
36371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36372         ... here.
36373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36374         Moved ...
36375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
36376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36377         Moved ...
36378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
36379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
36380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
36381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36382         Moved ...
36383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
36384         ... here.
36385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36386         Moved ...
36387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
36388         ... here.
36389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36390         Moved ...
36391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
36392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36393         Moved ...
36394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36396         Moved ...
36397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36399         Moved ...
36400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36402         Moved ...
36403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36404         ... here.
36405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36406         Moved ...
36407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36409         Moved ...
36410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36412         Moved ...
36413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36415         Moved ...
36416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
36418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
36419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36420         Moved ...
36421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
36422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36423         Moved ...
36424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
36425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36426         Moved ...
36427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
36428         ... here.
36429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36430         Moved ...
36431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
36432         ... here.
36433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36434         Moved ...
36435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
36436         ... here.
36437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36438         Moved ...
36439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
36440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36441         Moved ...
36442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
36443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36444         Moved ...
36445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
36446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36447         Moved ...
36448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
36449         ... here.
36450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36451         Moved ...
36452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
36453         ... here.
36454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36455         Moved ...
36456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
36457         ... here.
36458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36459         Moved ...
36460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
36461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36462         Moved ...
36463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
36465 2014-06-23  Will Newton  <will.newton@linaro.org>
36466             Wilco  <wdijkstr@arm.com>
36468         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
36469         implementation.  Include get-rounding-mode.h.
36470         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
36471         [!libc_feholdsetround_noex_ctx]: Define
36472         libc_feholdsetround_noex_ctx.
36473         [!libc_feholdsetround_noexf_ctx]: Define
36474         libc_feholdsetround_noexf_ctx.
36475         [!libc_feholdsetround_noexl_ctx]: Define
36476         libc_feholdsetround_noexl_ctx.
36477         (libc_feholdsetround_ctx): New function.
36478         (libc_feresetround_ctx): New function.
36479         (libc_feholdsetround_noex_ctx): New function.
36480         (libc_feresetround_noex_ctx): New function.
36482 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36484         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
36485         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
36486         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
36487         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
36488         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
36489         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
36491         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
36492         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
36493         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
36494         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
36495         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
36496         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
36497         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
36498         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
36499         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
36500         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
36501         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
36502         Moved ...
36503         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
36504         ... here.
36505         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
36506         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
36507         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
36508         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
36509         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
36510         Moved ...
36511         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
36512         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
36513         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
36514         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
36515         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
36516         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36517         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
36518         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
36519         Moved ...
36520         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
36521         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
36522         Moved ...
36523         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36524         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
36525         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
36526         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
36527         Moved ...
36528         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
36529         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
36530         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
36531         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
36532         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
36533         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
36534         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
36535         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
36536         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
36537         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
36538         Moved ...
36539         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
36540         ... here.
36541         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
36542         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
36543         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
36544         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
36545         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
36546         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
36547         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
36548         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
36549         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
36550         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
36551         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
36552         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
36553         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
36554         Moved ...
36555         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
36556         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
36557         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
36558         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
36559         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
36560         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
36561         Moved ...
36562         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
36563         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
36564         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
36565         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
36566         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
36568         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
36569         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
36570         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
36571         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
36572         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
36573         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
36574         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
36575         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
36576         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
36577         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
36578         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
36579         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
36580         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
36581         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
36582         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
36583         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
36584         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
36585         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
36586         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
36587         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
36588         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
36589         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
36590         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
36591         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
36592         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
36593         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
36594         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
36595         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
36597 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36599         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
36600         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36601         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
36602         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
36603         (IPV6_PMTUDISC_INTERFACE): Likewise.
36604         (IPV6_PMTUDISC_OMIT): Likewise.
36606 2014-06-23  Andreas Schwab  <schwab@suse.de>
36608         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
36609         Remove unused errout label.
36611 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36613         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
36614         macro: hardware supports Vector Crypto instructions.
36616 2014-06-23  Will Newton  <will.newton@linaro.org>
36618         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
36619         rather than __builtin_expect.
36621         * elf/dl-lookup.c (undefined_msg): Remove variable.
36622         (_dl_lookup_symbol_x): Replace undefined_msg with string
36623         literal.
36625         * elf/dl-lookup.c (do_lookup_unique): New function.
36626         (do_lookup_x): Move STB_GNU_UNIQUE handling code
36627         to a separate function.
36629 2014-06-23  Andreas Schwab  <schwab@suse.de>
36631         [BZ #17079]
36632         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
36633         before reading the next line.
36635 2014-06-23  Will Newton  <will.newton@linaro.org>
36637         * test-skeleton.c (signal_handler): Use printf and %m
36638         rather than perror.  Use printf rather than fprintf to
36639         stderr.  Use puts rather than fputs to stderr.
36640         (main): Likewise.
36642 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
36644         * nscd/nscd.c (thread_info_t): Remove typedef.
36645         (thread_info): Remove variable.
36647 2014-06-21  Allan McRae  <allan@archlinux.org>
36649         * NEWS: Mention CVE-2014-4043.
36651 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36653         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
36654         * nptl/smp.h: ... here.
36656         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
36658         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
36659         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
36660         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
36661         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
36663         * nptl/allocatestack.c: Include <stack-aliasing.h>.
36664         * nptl/stack-aliasing.h: New file.
36665         * sysdeps/i386/i686/stack-aliasing.h: New file.
36666         * sysdeps/i386/i686/nptl/Makefile: File removed.
36667         * sysdeps/x86_64/stack-aliasing.h: New file.
36668         * sysdeps/x86_64/nptl/Makefile
36669         (CFLAGS-pthread_create.c): Variable removed.
36671         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
36672         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
36673         old file.
36674         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
36675         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
36676         old file.
36678 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
36680         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36681         (__ASSUME_SIGFRAME_V2): Remove macro.
36682         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
36683         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
36684         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
36685         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
36686         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
36687         Declare as function.  Remove conditional macro definitions.
36688         (__default_rt_sa_restorer): Likewise.
36689         (__default_sa_restorer_v1): Remove declaration.
36690         (__default_sa_restorer_v2): Likewise.
36691         (__default_rt_sa_restorer_v1): Likewise.
36692         (__default_rt_sa_restorer_v2): Likewise.
36693         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
36694         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
36695         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
36697 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36699         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
36700         (libpthread-routines): Add sysdep.
36701         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
36702         * sysdeps/unix/sysv/linux/sparc/Versions
36703         (libpthread: GLIBC_2.3.3): New version set.
36704         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
36705         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
36706         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
36707         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
36708         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
36709         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
36710         Moved ...
36711         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
36712         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
36713         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
36714         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
36715         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
36716         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
36717         * sysdeps/sparc/nptl/sem_init.c: ... here.
36718         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
36719         * sysdeps/sparc/nptl/sem_post.c: ... here.
36720         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
36721         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
36722         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
36723         * sysdeps/sparc/nptl/sem_wait.c: ... here.
36724         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
36725         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
36726         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
36727         (libpthread-routines): Add cpu_relax.
36728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
36729         File removed.
36730         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
36731         (librt: GLIBC_2.3.3): New version set.
36732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
36733         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
36734         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
36735         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
36736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
36737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
36738         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
36739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
36740         Moved ...
36741         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
36742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
36743         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
36744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
36745         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
36746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
36747         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
36748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
36749         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
36750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
36751         Moved ...
36752         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
36753         Update #include.
36754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
36755         Moved ...
36756         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
36757         Update #include.
36758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
36759         Moved ...
36760         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
36761         Update #include.
36762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
36763         Moved ...
36764         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
36765         Update #include.
36766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36767         Moved ...
36768         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36769         Update #include.
36770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36771         Moved ...
36772         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36773         Update #include.
36774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36775         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36777         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36779         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36781         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36783         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36785         Moved ...
36786         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36788         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36790         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36792 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36794         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36795         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36796         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36797         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36798         * nscd/nscd.c: Likewise.
36799         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36800         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36801         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36802         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36804         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36805         <kernel-features.h>.
36806         (init_mq_netlink): Remove conditional have_sock_cloexec
36807         definitions.  Remove code conditional on have_sock_cloexec < 0.
36808         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36809         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36810         * sysdeps/unix/sysv/linux/opensock.c: Do not include
36811         <kernel-features.h>.
36812         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36813         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36815 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36818         Add tests for memset_chk and memset.
36820         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36821         with AVX2_Usable.
36823 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36825         [BZ #16046]
36826         * elf/tst-dl-iter-static.c: New file.
36827         * elf/Makefile (tests-static): Add tst-dl-iter-static.
36829         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36830         error.
36832 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36834         * sysdeps/unix/sysv/linux/kernel-features.h
36835         (__ASSUME_F_GETOWN_EX): Remove macro.
36836         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
36837         <kernel-features.h>.
36838         (miss_F_GETOWN_EX): Remove variable or macro.
36839         (do_fcntl): Do not check miss_F_GETOWN_EX.
36840         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
36842         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
36843         Remove macro.
36844         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
36845         [!__ASSUME_AT_RANDOM]: Remove conditional code.
36846         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
36848         * sysdeps/unix/sysv/linux/kernel-features.h
36849         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
36850         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
36851         [ADJ_OFFSET_SS_READ]: Make code unconditional.
36852         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
36854 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36856         [BZ #17075]
36857         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
36858         Fix calculation of the symbol's value.
36859         * sysdeps/arm/tst-armtlsdescloc.c: New file.
36860         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
36861         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
36862         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
36863         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
36864         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36865         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36866         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36867         (modules-names): Add `tst-armtlsdescmod',
36868         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36869         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36870         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36871         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36872         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36873         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36874         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36875         ($(objpfx)tst-armtlsdescloc): New dependency.
36876         ($(objpfx)tst-armtlsdescextnow): Likewise.
36877         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36878         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36879         TLS scheme support.
36880         * sysdeps/arm/configure: Regenerate.
36882 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36884         * include/fcntl.h (__atfct_seterrno): Remove prototype.
36885         (__atfct_seterrno_2): Likewise.
36886         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36887         <kernel-features.h>.
36888         (__ASSUME_ATFCTS): Do not undefine and redefine.
36889         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36890         (__have_atfcts): Remove conditional definition.
36891         (__fxstatat([__NR_fstatat64]: Make code unconditional.
36892         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36893         unreachable if [__ASSUME_ATFCTS].
36894         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36895         not undefine and redefine.
36896         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36897         <kernel-features.h>.
36898         (faccessat) [__NR_faccessat]: Make code unconditional.
36899         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
36900         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
36901         <kernel-features.h>.
36902         (fchmodat) [__NR_fchmodat]: Make code unconditional.
36903         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36904         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
36905         <kernel-features.h>.
36906         (fchownat) [__NR_fchownat]: Make code unconditional.
36907         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
36908         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
36909         <kernel-features.h>.
36910         (futimesat) [__NR_futimesat]: Make code unconditional.
36911         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
36912         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36913         <kernel-features.h>.
36914         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36915         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36916         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36917         <kernel-features.h>.
36918         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
36919         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36920         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
36921         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36922         <kernel-features.h>.
36923         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
36924         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36925         * sysdeps/unix/sysv/linux/linkat.c: Do not include
36926         <kernel-features.h>.
36927         (linkat) [__NR_linkat]: Make code unconditional.
36928         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36929         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
36930         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
36931         <kernel-features.h>.
36932         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
36933         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36934         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
36935         <kernel-features.h>.
36936         (mkdirat) [__NR_mkdirat]: Make code unconditional.
36937         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
36938         * sysdeps/unix/sysv/linux/openat.c: Do not include
36939         <kernel-features.h>.
36940         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
36941         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
36942         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
36943         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
36944         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
36945         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
36946         <kernel-features.h>.
36947         (readlinkat) [__NR_readlinkat]: Make code unconditional.
36948         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
36949         result of INLINE_SYSCALL directly, not via int variable.
36950         * sysdeps/unix/sysv/linux/renameat.c: Do not include
36951         <kernel-features.h>.
36952         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
36953         (renameat) [__NR_renameat]: Make code unconditional.
36954         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
36955         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
36956         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
36957         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
36958         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
36959         (__ASSUME_ATFCTS): Do not undefine and redefine.
36960         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
36961         <kernel-features.h>.
36962         (symlinkat) [__NR_symlinkat]: Make code unconditional.
36963         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36964         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
36965         <kernel-features.h>.
36966         (unlinkat) [__NR_unlinkat]: Make code unconditional.
36967         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36968         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
36969         (__ASSUME_ATFCTS): Do not undefine and redefine.
36970         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36971         <kernel-features.h>.
36972         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36973         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36974         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36975         <kernel-features.h>.
36976         (__xmknodat) [__NR_mknodat]: Make code unconditional.
36977         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36979 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36981         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
36983 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
36985         [BZ #17069]
36986         * posix/regcomp.c (parse_reg_exp): Deallocate partially
36987         constructed tree before returning error.
36988         * posix/bug-regexp36.c: Expand test case.
36990 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36992         [BZ #6803]
36993         * math/libm-test.inc (scalbln_test_date):
36994         Add errno expectations.
36995         * math/w_scalblnf.c: New File.
36996         Add wrapper which checks for setting errno to ERANGE.
36997         Add weak_alias for corresponding scalbln function.
36998         * math/w_scalbln.c: Likewise.
36999         * math/w_scalblnl.c: Likewise.
37000         * math/Makefile (libm-calls): Add w_scalbln.
37001         * sysdeps/ieee754/flt-32/s_scalblnf.c:
37002         Remove weak_alias for corresponding scalbln function.
37003         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37004         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37005         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37006         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37007         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
37008         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37009         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
37010         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37011         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
37012         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
37013         Remove long_double_symbol for scalblnl function in libm, libc.
37014         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
37015         Add wrapper which checks for setting errno to ERANGE.
37016         Add long_double_symbol for scalblnl function in libm, libc.
37017         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
37018         Remove long_double_symbol for scalblnl in libm.
37019         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
37020         Add wrapper which checks for setting errno to ERANGE.
37021         Add long_double_symbol for scalblnl function in libm.
37022         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
37023         Do not use wrapper because of own implementation.
37025 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
37027         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
37028         3 bytes for __pad1 for x32.
37029         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
37031 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
37032             H.J. Lu  <hongjiu.lu@intel.com>
37034         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
37035         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
37036         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37037         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37038         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
37040 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
37042         [BZ #17069]
37043         * posix/regcomp.c (parse_expression): Deallocate partially
37044         constructed tree before returning error.
37045         * posix/Makefile.c (tests): Add bug-regex36.
37046         (generated): Add bug-regex36.mtrace.
37047         (tests-special): Add $(objpfx)bug-regex36-mem.out
37048         (bug-regex36-ENV): New variable.
37049         ($(objpfx)bug-regex36-mem.out): New rule.
37050         * posix/bug-regex36.c: New file.
37052 2014-06-19  Will Newton  <will.newton@linaro.org>
37054         * malloc/malloc.c (systrim): If extra is zero then return
37055         early.
37057 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37059         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
37061 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
37063         * sysdeps/aarch64/strchr.S: New file.
37065 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37067         [BZ #17022]
37068         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
37069         from arguments -2 or below.
37070         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37071         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
37073 2014-06-18  Andreas Schwab  <schwab@suse.de>
37075         [BZ #17062]
37076         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
37077         of a bracket expr not to run off the end of the string.
37078         * posix/Makefile (tests): Add tst-fnmatch3.
37079         * posix/tst-fnmatch3.c: New file.
37081 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37083         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
37084         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37085         [$(cross-compiling) = no]: Likewise.
37086         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37087         [$(cross-compiling) = no]: Likewise.
37089 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37091         [BZ #17031]
37092         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
37093         double, adjusted for any remainder from the high double.
37094         * math/libm-test.inc (nearbyint): Add tests.
37095         (rint): Likewise.
37097 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37099         * nptl/sysdeps/powerpc/Makefile: Moved ...
37100         * sysdeps/powerpc/nptl/Makefile: ... here.
37101         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
37102         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
37103         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
37104         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
37105         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
37106         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
37107         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
37108         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
37109         * nptl/sysdeps/powerpc/tls.h: Moved ...
37110         * sysdeps/powerpc/nptl/tls.h: ... here.
37112 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
37114         [BZ #16681]
37115         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
37116         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
37117         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
37118         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
37119         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
37120         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
37121         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
37122         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
37123         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
37125 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
37127         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37129 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
37131         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
37132         defined operator.
37134         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
37135         $TIMEOUTFACTOR.
37137 2014-06-16  Florian Weimer  <fweimer@redhat.com>
37139         [BZ #17058]
37140         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
37141         non-executed part of the test.
37143 2014-06-16  Andreas Schwab  <schwab@suse.de>
37145         * string/bits/string2.h (strdup, strndup): Update feature guard.
37147 2014-06-14  David S. Miller  <davem@davemloft.net>
37149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37151 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
37153         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
37154         that was previously under [RESET_PID].
37155         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
37157         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
37158         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
37159         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
37160         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37161         (__libc_vfork): New strong alias.
37162         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
37164 2014-06-14 Andi Kleen  <ak@linux.intel.com>
37166         * sysdeps/generic/elide.h: New file.
37168 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37170         * Makefile (installed-headers): Adjust path of pthread.h header.
37172 2014-06-13  Roland McGrath  <roland@hack.frob.com>
37174         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
37175         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
37176         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
37177         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
37179         * nptl/sysdeps/s390/Makefile: Moved ...
37180         * sysdeps/s390/nptl/Makefile: ... here.
37181         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
37182         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
37183         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
37184         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
37185         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
37186         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
37187         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
37188         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
37189         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
37190         * sysdeps/s390/nptl/pthreaddef.h: ... here.
37191         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
37192         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
37193         * nptl/sysdeps/s390/tls.h: Moved ...
37194         * sysdeps/s390/nptl/tls.h: ... here.
37196         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
37197         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
37199 2014-06-13  David S. Miller  <davem@davemloft.net>
37201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
37202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
37203         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
37204         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
37205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
37206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
37207         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
37208         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
37209         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
37210         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
37211         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
37212         Remove RESET_PID cpp guards.
37213         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
37214         Remove RESET_PID cpp guards.
37215         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
37217 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
37219         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
37220         __sp to uintptr_t.
37222 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37224         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
37225         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
37226         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
37227         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
37228         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
37229         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
37230         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
37231         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
37232         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
37233         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
37234         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
37235         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
37236         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
37237         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
37238         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
37239         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
37240         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
37241         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
37242         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
37243         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
37245         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
37246         (pthread_rwlock_rdlock): Add elision.
37247         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
37248         (pthread_rwlock_wrlock): Add elision.
37249         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
37250         (pthread_rwlock_trywrlock): Add elision.
37251         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
37252         (pthread_rwlock_tryrdlock): Add elision.
37253         * nptl/pthread_rwlock_unlock.c: Include elide.h.
37254         (pthread_rwlock_tryrdlock): Add elision unlock.
37255         * nptl/sysdeps/pthread/pthread.h:
37256         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
37257         (PTHREAD_RWLOCK_INITIALIZER,
37258         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
37259         Handle new elision field.
37260         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
37261         * sysdeps/arm/nptl/bits/pthreadtypes.h
37262         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37263         * sysdeps/sh/nptl/bits/pthreadtypes.h
37264         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37265         * sysdeps/tile/nptl/bits/pthreadtypes.h
37266         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37267         * sysdeps/a/nptl/bits/pthreadtypes.h
37268         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37269         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37270         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37271         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37272         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37273         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
37274         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37275         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37276         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37277         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37278         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37279         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37280         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37281         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37282         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37283         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
37284         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37285         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
37286         (elision_init): Set try_xbegin to zero when no RTM.
37287         * sysdeps/x86/nptl/bits/pthreadtypes.h
37288         (pthread_rwlock_t): Change __pad1 to __rwelision.
37289         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37291 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37293         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
37294         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
37295         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
37296         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
37298 2014-06-13  Meador Inge  <meadori@codesourcery.com>
37300         [BZ #16996]
37301         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
37302         that the cached result has been set before returning it.
37304 2014-06-12  Roland McGrath  <roland@hack.frob.com>
37306         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
37307         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
37308         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
37309         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
37310         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
37311         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
37313         * nptl/sysdeps/sparc/Makefile: Moved ...
37314         * sysdeps/sparc/nptl/Makefile: ... here.
37315         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
37316         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
37317         * nptl/sysdeps/sparc/tls.h: Moved ...
37318         * sysdeps/sparc/nptl/tls.h: ... here.
37319         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
37320         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
37321         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
37322         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
37323         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
37324         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
37325         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
37326         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
37327         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
37328         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
37329         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
37330         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
37331         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
37332         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
37333         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
37334         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
37335         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
37336         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
37337         Update #include.
37338         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
37339         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37340         Update #include.
37341         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
37342         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
37343         Update #include.
37344         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
37345         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
37346         Update #include.
37348         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37350         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
37351         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
37353         * sysdeps/pthread/posix-timer.h: Include <list.h>.
37354         (struct list_links): Type removed.
37355         (struct thread_node, struct timer_node): Replace struct list_links
37356         with struct list_head.
37357         (list_unlink_ip): Likewise.
37358         * sysdeps/pthread/timer_routines.c
37359         (timer_free_list, thread_free_list, thread_active_list): Likewise.
37360         (list_append, list_insbefore): Likewise.
37361         (list_init): Function removed.
37362         (thread_init, init_module): Use INIT_LIST_HEAD instead.
37363         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
37364         * sysdeps/pthread/Makefile: ... here, new file.
37366         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
37367         * sysdeps/nptl/Implies: ... here.
37368         * sysdeps/unix/sysv/linux/Implies: Add nptl.
37369         * nptl/sysdeps/pthread/list.h: Moved ...
37370         * include/list.h: ... here.
37371         * nptl/sysdeps/pthread/createthread.c: Moved ...
37372         * nptl/createthread.c: ... here.
37373         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
37374         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
37375         * nptl/pt-longjmp.c: ... here.
37376         * nptl/sysdeps/pthread/Makefile: Moved ...
37377         * sysdeps/nptl/Makefile: ... here.
37378         * nptl/sysdeps/pthread/Subdirs: Moved ...
37379         * sysdeps/nptl/Subdirs: ... here.
37380         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
37381         * sysdeps/nptl/aio_misc.h: ... here.
37382         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
37383         * sysdeps/nptl/bits/libc-lock.h: ... here.
37384         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
37385         * sysdeps/nptl/bits/libc-lockP.h: ... here.
37386         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37387         * sysdeps/nptl/bits/stdio-lock.h: ... here.
37388         * nptl/sysdeps/pthread/configure: Moved ...
37389         * sysdeps/nptl/configure: ... here.
37390         * nptl/sysdeps/pthread/configure.ac: Moved ...
37391         * sysdeps/nptl/configure.ac: ... here.
37392         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
37393         * sysdeps/nptl/gai_misc.h: ... here.
37394         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37395         * sysdeps/nptl/librt-cancellation.c: ... here.
37396         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37397         * sysdeps/nptl/malloc-machine.h: ... here.
37398         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37399         * sysdeps/nptl/pthread-functions.h: ... here.
37400         * nptl/sysdeps/pthread/pthread.h: Moved ...
37401         * sysdeps/nptl/pthread.h: ... here.
37402         * nptl/sysdeps/pthread/setxid.h: Moved ...
37403         * sysdeps/nptl/setxid.h: ... here.
37404         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37405         * sysdeps/nptl/sigfillset.c: ... here.
37406         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37407         * sysdeps/nptl/tcb-offsets.h: ... here.
37408         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37409         * sysdeps/nptl/tst-mqueue8x.c: ... here.
37410         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37411         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37412         * nptl/sysdeps/pthread/allocalim.h: Moved ...
37413         * sysdeps/pthread/allocalim.h: ... here.
37414         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37415         * sysdeps/pthread/bits/sigthread.h: ... here.
37416         * nptl/sysdeps/pthread/flockfile.c: Moved ...
37417         * sysdeps/pthread/flockfile.c: ... here.
37418         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
37419         * sysdeps/pthread/ftrylockfile.c: ... here.
37420         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
37421         * sysdeps/pthread/funlockfile.c: ... here.
37422         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
37423         * sysdeps/pthread/posix-timer.h: ... here.
37424         * nptl/sysdeps/pthread/timer_create.c: Moved ...
37425         * sysdeps/pthread/timer_create.c: ... here.
37426         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
37427         * sysdeps/pthread/timer_delete.c: ... here.
37428         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
37429         * sysdeps/pthread/timer_getoverr.c: ... here.
37430         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
37431         * sysdeps/pthread/timer_gettime.c: ... here.
37432         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
37433         * sysdeps/pthread/timer_routines.c: ... here.
37434         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
37435         * sysdeps/pthread/timer_settime.c: ... here.
37436         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
37437         * sysdeps/pthread/tst-timer.c: ... here.
37438         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
37439         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
37441         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
37442         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
37444         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
37445         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
37446         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
37447         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
37448         Update #include target.
37449         * nptl/sysdeps/i386/i686/Makefile: Moved ...
37450         * sysdeps/i386/i686/nptl/Makefile: ... here.
37451         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
37452         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
37453         Update #include target.
37454         * nptl/sysdeps/i386/i686/tls.h: Moved ...
37455         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
37456         * nptl/sysdeps/i386/Makefile: Moved ...
37457         * sysdeps/i386/nptl/Makefile: ... here.
37458         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
37459         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
37460         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
37461         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
37462         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
37463         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
37464         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
37465         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
37466         * sysdeps/i386/nptl/pthreaddef.h: ... here.
37467         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
37468         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
37469         * nptl/sysdeps/i386/tls.h: Moved ...
37470         * sysdeps/i386/nptl/tls.h: ... here.
37472         * sysdeps/sh/Makefile [$(subdir) = csu]
37473         (gen-as-const-headers): Add tcb-offsets.sym.
37474         * nptl/sysdeps/sh/Makefile: File removed.
37475         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
37476         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
37477         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
37478         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
37479         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
37480         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
37481         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
37482         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
37483         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
37484         * sysdeps/sh/nptl/pthreaddef.h: ... here.
37485         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
37486         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
37487         * nptl/sysdeps/sh/tls.h: Moved ...
37488         * sysdeps/sh/nptl/tls.h: ... here.
37489         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
37490         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
37491         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
37492         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
37493         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
37494         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
37495         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
37496         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
37497         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
37498         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
37499         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
37500         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
37501         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
37502         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
37503         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
37504         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
37505         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
37506         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
37507         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
37508         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
37509         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
37510         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
37511         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
37512         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
37513         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
37514         Moved ...
37515         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
37516         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
37517         Moved ...
37518         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
37519         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
37520         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
37521         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
37522         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
37523         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
37524         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
37525         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
37526         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
37527         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
37528         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
37529         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
37530         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
37531         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
37532         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
37533         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
37534         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
37535         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
37536         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
37538 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37540         * posix/spawn_faction_addopen.c: Include string.h.
37542 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37544         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
37545         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
37546         * nptl/sysdeps/x86_64/Makefile: Moved ...
37547         * sysdeps/x86_64/nptl/Makefile: ... here.
37548         * nptl/sysdeps/x86_64/configure: Moved ...
37549         * sysdeps/x86_64/nptl/configure: ... here.
37550         * nptl/sysdeps/x86_64/configure.ac: Moved ...
37551         * sysdeps/x86_64/nptl/configure.ac: ... here.
37552         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
37553         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
37554         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
37555         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
37556         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
37557         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
37558         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
37559         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
37560         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
37561         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
37562         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
37563         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
37564         * nptl/sysdeps/x86_64/tls.h: Moved ...
37565         * sysdeps/x86_64/nptl/tls.h: ... here.
37566         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
37567         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
37568         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
37569         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
37571         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
37573 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37577 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
37579         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
37580         type.
37581         [POSIX] (off_t): Likewise.
37582         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
37583         [POSIX] (S_ISBLK): Require macro.
37584         [POSIX] (S_ISCHR): Likewise.
37585         [POSIX] (S_ISDIR): Likewise.
37586         [POSIX] (S_ISFIFO): Likewise.
37587         [POSIX] (S_ISREG): Likewise.
37588         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
37589         optional-macro.
37590         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
37591         type.
37592         [POSIX] (time_t): Likewise.
37593         [POSIX] (timer_t): Likewise.
37595 2014-06-11  Florian Weimer  <fweimer@redhat.com>
37597         [BZ #17048]
37598         * posix/spawn_int.h (struct __spawn_action): Make the path string
37599         non-const to support deallocation.
37600         * posix/spawn_faction_addopen.c
37601         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
37602         * posix/spawn_faction_destroy.c
37603         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
37604         path in all spawn_do_open actions.
37605         * posix/tst-spawn.c (do_test): Exercise the copy operation in
37606         posix_spawn_file_actions_addopen.
37608 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
37610         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
37611         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
37612         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
37613         conditional code always true.
37614         (__libc_vfork): New alias.
37616 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37618         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37619         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
37621         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
37623         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37624         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
37626         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37627         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
37629         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37630         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
37632 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37634         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
37635         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
37636         multiarch strcmp for PPC64.
37637         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
37638         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
37639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
37640         multiarch optimizations.
37641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37642         (__libc_ifunc_impl_list): Likewise.
37644 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37646         * benchtests/scripts/validate_benchout.py: New script.
37647         * benchtests/Makefile (bench-func): Call it.
37648         * benchtests/scripts/benchout.schema.json: New file.
37650 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
37652         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
37653         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
37654         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
37655         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
37656         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
37657         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
37658         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
37659         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
37660         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
37661         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
37662         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
37663         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
37664         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
37665         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
37666         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
37667         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
37668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
37669         Moved ...
37670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
37671         ... here.
37672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
37673         Moved ...
37674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
37675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
37676         Moved ...
37677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
37678         ... here.
37679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
37680         Moved ...
37681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
37682         ... here.
37683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
37684         Moved ...
37685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
37686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
37687         Moved ...
37688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
37689         ... here.
37690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
37691         Moved ...
37692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
37693         ... here.
37694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
37695         Moved ...
37696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
37697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
37698         Moved ...
37699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
37700         ... here.
37701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
37702         Moved ...
37703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
37704         ... here.
37705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
37706         Moved ...
37707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
37708         ... here.
37709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
37710         Moved ...
37711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
37712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
37713         Moved ...
37714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
37715         ... here.
37716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
37717         Moved ...
37718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
37719         ... here.
37720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
37721         Moved ...
37722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
37723         ... here.
37724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
37725         Moved ...
37726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
37727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
37728         Moved ...
37729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
37730         ... here.
37731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
37732         Moved ...
37733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
37734         ... here.
37735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
37736         Moved ...
37737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
37738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
37739         Moved ...
37740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
37741         ... here.
37742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
37743         Moved ...
37744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
37745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
37746         Moved ...
37747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
37748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
37749         Moved ...
37750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
37751         ... here.
37752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
37753         Moved ...
37754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
37755         ... here.
37756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
37757         Moved ...
37758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
37759         ... here.
37760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
37761         Moved ...
37762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
37763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
37764         Moved ...
37765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37766         ... here.
37767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37768         Moved ...
37769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37770         ... here.
37771         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37772         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37773         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37774         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37775         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37776         Moved ...
37777         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37778         ... here.
37779         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37780         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37781         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37782         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37783         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37784         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37785         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37786         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37787         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37788         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37789         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37790         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37791         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37792         Moved ...
37793         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37794         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37795         Moved ...
37796         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37797         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37798         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37799         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37800         Moved ...
37801         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37802         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37803         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37804         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37805         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37806         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37807         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37809 2014-06-10  Wilco  <wdijkstr@arm.com>
37811         * math/test-fenv-return.c: New file.
37812         * math/Makefile: Add new test test-fenv-return.
37814 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
37816         [BZ #17042]
37817         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37818         when x - 1 is zero.
37819         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37820         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37821         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37822         0.0L for an argument of 1.0L.
37823         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37824         Likewise.
37825         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37826         value when x - 1 is zero.
37827         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37828         * sysdeps/i386/fpu/libm-test-ulps: Update.
37829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37831 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
37833         [BZ #15119]
37834         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37836 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37838         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
37839         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
37841 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37843         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37844         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
37846         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37847         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
37849         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37850         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
37852         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37853         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
37855         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
37856         if not already defined.
37857         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
37858         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
37859         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
37860         (TLS_INIT_TP): Use it.
37861         (TLS_DEFINE_INIT_TP): New macro.
37862         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
37864 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
37866         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37867         constant.
37868         [POSIX] (IXANY): Likewise.
37869         [POSIX] (OLCUC): Likewise.
37870         [POSIX || POSIX2008] (CBAUD): Do not allow.
37871         [POSIX || POSIX2008] (DEFECHO): Likewise.
37872         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37873         [POSIX || POSIX2008] (ECHOKE): Likewise.
37874         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37875         [POSIX || POSIX2008] (EXTA): Likewise.
37876         [POSIX || POSIX2008] (EXTB): Likewise.
37877         [POSIX || POSIX2008] (FLUSHO): Likewise.
37878         [POSIX || POSIX2008] (LOBLK): Likewise.
37879         [POSIX || POSIX2008] (PENDIN): Likewise.
37880         [POSIX || POSIX2008] (SWTCH): Likewise.
37881         [POSIX || POSIX2008] (VDISCARD): Likewise.
37882         [POSIX || POSIX2008] (VDSUSP): Likewise.
37883         [POSIX || POSIX2008] (VLNEXT): Likewise.
37884         [POSIX || POSIX2008] (VREPRINT): Likewise.
37885         [POSIX || POSIX2008] (VSTATUS): Likewise.
37886         [POSIX || POSIX2008] (VWERASE): Likewise.
37887         (B*): Change to B[0123456789]*.
37888         * conform/data/time.h-data [POSIX || UNIX98]
37889         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37890         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37891         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37892         [POSIX] (tm_*): Do not allow.
37894 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
37896         * Makefile (install): Don't set LANGUAGE.
37897         * Makefile.in (install): Likewise.
37898         * assert/Makefile (test-assert-ENV): Remove variable.
37899         (test-assert-perr-ENV): Likewise.
37900         * elf/Makefile (neededtest4-ENV): Likewise.
37901         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37902         [$(cross-compiling) = no]: Don't set LANGUAGE.
37903         * io/ftwtest-sh (LANG): Remove variable.
37904         * libio/Makefile (tst-widetext-ENV): Likewise.
37905         * manual/install.texi (Running make install): Don't refer to
37906         environment settings for make install.
37907         * INSTALL: Regenerated.
37908         * nptl/tst-tls6.sh: Don't set LANG.
37909         * posix/globtest.sh (LANG): Remove variable.
37910         * string/Makefile (tester-ENV): Likewise.
37911         (inl-tester-ENV): Likewise.
37912         (noinl-tester-ENV): Likewise.
37913         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37914         [$(cross-compiling) = no]: Don't set LANGUAGE.
37915         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
37916         without explicit environment settings.
37918 2014-06-06  Roland McGrath  <roland@hack.frob.com>
37920         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
37921         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
37922         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
37923         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
37925 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
37927         * crypt/crypt-private.h [DOS]: Add some includes taken from the
37928         other files in the crypt directory.
37929         * crypt/crypt.c: Remove duplicate includes.
37930         * crypt/crypt-entry.c: Likewise.
37931         * crypt/crypt_util.c: Likewise.
37933 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
37935         * Makeconfig (run-program-env): New variable.
37936         (run-program-prefix-before-env): Likewise.
37937         (run-program-prefix-after-env): Likewise.
37938         (run-program-prefix): Define in terms of new variables.
37939         (built-program-cmd-before-env): New variable.
37940         (built-program-cmd-after-env): Likewise.
37941         (built-program-cmd): Define in terms of new variables.
37942         (test-program-prefix-before-env): New variable.
37943         (test-program-prefix-after-env): Likewise.
37944         (test-program-prefix): Define in terms of new variables.
37945         (test-program-cmd-before-env): New variable.
37946         (test-program-cmd-after-env): Likewise.
37947         (test-program-cmd): Define in terms of new variables.
37948         * Rules (make-test-out): Use $(run-program-env).
37949         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
37950         (help): Do not mention environment variables.  Mention
37951         --timeoutfactor option.
37952         (timeoutfactor): New variable.
37953         (blacklist_exports): Remove function.
37954         (exports): Remove variable.
37955         (command): Do not include ${exports}.
37956         * manual/install.texi (Configuring and compiling): Do not mention
37957         test wrappers preserving environment variables.  Mention that last
37958         assignment to a variable must take precedence.
37959         * INSTALL: Regenerated.
37960         * benchtests/Makefile (run-bench): Use $(run-program-env).
37961         * catgets/Makefile ($(objpfx)test1.cat): Use
37962         $(built-program-cmd-before-env), $(run-program-env) and
37963         $(built-program-cmd-after-env).
37964         ($(objpfx)test2.cat): Do not specify environment variables
37965         explicitly.
37966         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
37967         $(run-program-env) and $(built-program-cmd-after-env).
37968         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
37969         $(run-program-env) and $(test-program-cmd-after-env).
37970         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
37971         explicitly.
37972         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
37973         run_program_env and test_program_cmd_after_env arguments.
37974         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
37975         * elf/tst-pathopt.sh: Use run_program_env argument.
37976         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
37977         $(test-wrapper-env) and $(run-program-env).
37978         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
37979         run_program_env arguments.
37980         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
37981         * intl/Makefile ($(objpfx)tst-gettext.out): Use
37982         $(test-program-prefix-before-env), $(run-program-env) and
37983         $(test-program-prefix-after-env).
37984         ($(objpfx)tst-gettext2.out): Likewise.
37985         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
37986         run_program_env and test_program_prefix_after_env arguments.
37987         * intl/tst-gettext2.sh: Likewise.
37988         * intl/tst-gettext4.sh: Do not set environment variables
37989         explicitly.
37990         * intl/tst-gettext6.sh: Likewise.
37991         * intl/tst-translit.sh: Likewise.
37992         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
37993         $(test-program-prefix-before-env), $(run-program-env) and
37994         $(test-program-prefix-after-env).
37995         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
37996         run_program_env and test_program_prefix_after_env arguments.
37997         * math/Makefile (run-regen-ulps): Use $(run-program-env).
37998         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
37999         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
38000         explicitly with each use of ${test_wrapper_env}.
38001         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
38002         $(test-program-prefix-before-env), $(run-program-env) and
38003         $(test-program-prefix-after-env).
38004         * posix/tst-getconf.sh: Do not set environment variables
38005         explicitly.
38006         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
38007         run_program_env and test_program_prefix_after_env arguments.
38008         * stdio-common/tst-printf.sh: Do not set environment variables
38009         explicitly.
38010         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
38011         $(test-program-prefix-before-env), $(run-program-env) and
38012         $(test-program-prefix-after-env).
38013         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
38014         run_program_env and test_program_prefix_after_env arguments.
38015         Split $test calls into $test_pre and $test.
38016         * timezone/Makefile (build-testdata): Use
38017         $(built-program-cmd-before-env), $(run-program-env) and
38018         $(built-program-cmd-after-env).
38020 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38022         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
38023         strlen for non SHARED builds.
38025 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38027         * nptl/allocatestack.c (check_list): Inlined function...
38028         (__reclaim_stacks): ... here.
38030 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38032         [BZ #15698]
38033         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38034         memory overrun.
38036 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
38038         * Rules (make-test-out): Include
38039         LOCPATH=$(common-objpfx)localedata in default environment.
38040         * debug/Makefile (tst-chk1-ENV): Remove variable.
38041         (tst-chk2-ENV): Likewise.
38042         (tst-chk3-ENV): Likewise.
38043         (tst-chk4-ENV): Likewise.
38044         (tst-chk5-ENV): Likewise.
38045         (tst-chk6-ENV): Likewise.
38046         (tst-lfschk1-ENV): Likewise.
38047         (tst-lfschk2-ENV): Likewise.
38048         (tst-lfschk3-ENV): Likewise.
38049         (tst-lfschk4-ENV): Likewise.
38050         (tst-lfschk5-ENV): Likewise.
38051         (tst-lfschk6-ENV): Likewise.
38052         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
38053         (tst-iconv7-ENV): Likewise.
38054         * intl/Makefile (LOCPATH-ENV): Likewise.
38055         (tst-codeset-ENV): Likewise.
38056         (tst-gettext3-ENV): Likewise.
38057         (tst-gettext5-ENV): Likewise.
38058         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
38059         (tst-fopenloc-ENV): Likewise.
38060         (tst-fgetws-ENV): Remove variable.
38061         (tst-ungetwc1-ENV): Likewise.
38062         (tst-ungetwc2-ENV): Likewise.
38063         (bug-ungetwc2-ENV): Likewise.
38064         (tst-swscanf-ENV): Likewise.
38065         (bug-ftell-ENV): Likewise.
38066         (tst-fgetwc-ENV): Likewise.
38067         (tst-fseek-ENV): Likewise.
38068         (tst-ftell-partial-wide-ENV): Likewise.
38069         (tst-ftell-active-handler-ENV): Likewise.
38070         (tst-ftell-append-ENV): Likewise.
38071         * posix/Makefile (tst-fnmatch-ENV): Likewise.
38072         (tst-regexloc-ENV): Likewise.
38073         (bug-regex1-ENV): Likewise.
38074         (tst-regex-ENV): Likewise.
38075         (tst-regex2-ENV): Likewise.
38076         (bug-regex5-ENV): Likewise.
38077         (bug-regex6-ENV): Likewise.
38078         (bug-regex17-ENV): Likewise.
38079         (bug-regex18-ENV): Likewise.
38080         (bug-regex19-ENV): Likewise.
38081         (bug-regex20-ENV): Likewise.
38082         (bug-regex22-ENV): Likewise.
38083         (bug-regex23-ENV): Likewise.
38084         (bug-regex25-ENV): Likewise.
38085         (bug-regex26-ENV): Likewise.
38086         (bug-regex30-ENV): Likewise.
38087         (bug-regex32-ENV): Likewise.
38088         (bug-regex33-ENV): Likewise.
38089         (bug-regex34-ENV): Likewise.
38090         (bug-regex35-ENV): Likewise.
38091         (tst-rxspencer-ENV): Likewise.
38092         (tst-rxspencer-no-utf8-ENV): Likewise.
38093         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
38094         (tst-sscanf-ENV): Likewise.
38095         (tst-swprintf-ENV): Likewise.
38096         (tst-swscanf-ENV): Likewise.
38097         (test-vfprintf-ENV): Likewise.
38098         (scanf13-ENV): Likewise.
38099         (bug14-ENV): Likewise.
38100         (tst-grouping-ENV): Likewise.
38101         * stdlib/Makefile (tst-strtod-ENV): Likewise.
38102         (tst-strtod3-ENV): Likewise.
38103         (tst-strtod4-ENV): Likewise.
38104         (tst-strtod5-ENV): Likewise.
38105         (testmb2-ENV): Likewise./
38106         * string/Makefile (tst-strxfrm-ENV): Likewise.
38107         (tst-strxfrm2-ENV): Likewise.
38108         (bug-strcoll1-ENV): Likewise.
38109         (test-strcasecmp-ENV): Likewise.
38110         (test-strncasecmp-ENV): Likewise.
38111         * time/Makefile (tst-strptime-ENV): Likewise.
38112         (tst-ftime_l-ENV): Likewise.
38113         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
38114         (tst-mbrtowc-ENV): Likewise.
38115         (tst-wcrtomb-ENV): Likewise.
38116         (tst-mbrtowc2-ENV): Likewise.
38117         (tst-c16c32-1-ENV): Likewise.
38118         (tst-mbsnrtowcs-ENV): Likewise.
38120 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38122         * manual/resource.texi (How to get information about the memory
38123         subsystem?): Fix typo.
38124         Reported by Peon de la Parra Ivan <peon@keba.com>
38126 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
38128         [BZ #16882]
38129         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
38130         (pthread_spin_lock): Branch out of spin loop to proper location.
38131         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
38132         (pthread_spin_lock): Likewise.
38134         * nptl/tst-spin4.c: New test.
38135         * nptl/Makefile (tests): Add tst-spin4.
38137 2014-06-03  Andreas Schwab  <schwab@suse.de>
38139         [BZ #15946]
38140         * resolv/res_send.c (send_dg): Reload file descriptor after
38141         calling reopen.
38143 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
38145         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38147 2014-06-03  Richard Henderson  <rth@redhat.com>
38149         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
38150         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
38151         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
38152         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
38153         in the SAVE_PID block.
38154         (__libc_vfork): New alias.
38155         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
38157         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
38158         child in registers, not on the stack.  Remove RESET_PID conditionals.
38159         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
38161 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38163         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38165 2014-06-03  Wilco  <wdijkstr@arm.com>
38167         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
38168         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
38169         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38170         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
38171         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
38172         Likewise.
38174 2014-06-03  Wilco  <wdijkstr@arm.com>
38176         * sysdeps/aarch64/fpu/math_private.h
38177         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
38178         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
38179         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
38180         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38181         Fix declarations.
38183 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38185         * crypt/crypt-private.h: Include ufc-crypt.h.
38186         (__b64_from_24bit): Declare extern.
38187         * crypt/crypt_util.c(__b64_from_24bit): New function.
38188         (b64t): New static const variable.
38189         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
38190         (b64t): Remove variable.
38191         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
38192         * crypt/sha256-crypt.c: Include crypt-private.h.
38193         (b64t): Remove variable.
38194         (__sha256_crypt_r): Remove b64_from_24bit and replace
38195         with __b64_from_24bit.
38196         * crypt/sha512-crypt.c: Likewise.
38198 2014-06-02  Roland McGrath  <roland@hack.frob.com>
38200         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
38201         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
38202         Label the code __libc_vfork rather than __vfork.
38203         [!NOT_IN_libc] (vfork): Define as weak alias.
38204         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
38205         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
38206         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
38208 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38210         * malloc/malloc.c (malloc_info): Fix format specifier for
38211         n_mmaps.
38213 2014-06-02  Wilco  <wdijkstr@arm.com>
38215         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
38216         FPCR write.
38218 2014-06-02  Wilco  <wdijkstr@arm.com>
38220         [BZ #17009]
38221         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
38222         Rewrite to reduce FPCR/FPSR accesses.
38224 2014-06-01  David S. Miller  <davem@davemloft.net>
38226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38228 2014-05-31  David S. Miller  <davem@davemloft.net>
38230         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
38231         to occur in round to nearest mode when |x| >= 2.0
38233 2014-05-30  Richard Henderson  <rth@twiddle.net>
38235         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
38236         (PSEUDO_RET_NOERRNO): Remove.
38237         (ret): Don't redefine.
38238         (ret_NOERRNO): Define in terms of ret.
38239         (ret_ERRVAL): Likewise.
38241         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
38242         use of PSEUDO_RET; perform the error check directly.
38244 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
38246         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
38247         with __int128_t.
38249 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38251         * malloc/malloc (malloc_info): Fix formatting.
38253 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38254             Roland McGrath  <roland@hack.frob.com>
38256         * malloc/malloc (malloc_info): Also print mmapped statistics.
38258 2014-05-30  Roland McGrath  <roland@hack.frob.com>
38260         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
38261         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
38263 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
38265         * malloc/malloc.c (malloc_info): Inline mi_arena.
38267 2014-05-29  Richard Henderson  <rth@twiddle.net>
38269         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
38270         Remove comma before expanding ASM_ARGS_##nr.
38271         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
38272         Make _x0 a strict output; make _x8 a strict input; adjust expansion
38273         of ASM_ARGS_##nr.
38274         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
38275         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
38276         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
38277         (ASM_ARGS_1): Add leading comma.
38279         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
38280         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
38281         to __errno_location.
38282         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
38283         Remove the expected plt for __errno_location.
38285         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38286         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
38287         call to __read_tp.
38289         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38290         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
38291         it and break it down.
38292         (DOCARGS_0, DOCARGS_1): Do nothing.
38293         (DOCARGS_2): Update to store into the new stack frame.
38294         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38295         (UNDOCARGS_1): Update to restore from the new stack frame.
38296         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
38297         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
38299         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38300         (SINGLE_THREAD_P): New parameter for result regno.
38301         (PSEUDO): Update to match; use cbz instead of beq.
38303         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38304         Use ENTRY to define the _nocancel entry point.  Share the syscall
38305         and syscall error check paths with the cancel path.
38306         (PSEUDO_END): New.
38308         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
38309         whitespace; tabs before and after asm mnemonics.
38311 2014-05-29  Eric Wong  <normalperson@yhbt.net>
38313         [BZ #15132]
38314         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38315         Call fstat64 or stat64 internally, depending on arguments passed.
38316         Replace stat buffer argument with file descriptor argument.
38317         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
38318         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38319         Pass fd to __internal_statvfs instead of calling fstat64.
38320         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
38321         Pass fd to __internal_statvfs64 instead of calling fstat64.
38322         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
38323         Pass -1 to __internal_statvfs instead of calling stat64.
38324         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
38325         Pass -1 to __internal_statvfs64 instead of calling stat64.
38327 2014-05-28  Roland McGrath  <roland@hack.frob.com>
38329         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
38330         that was previously under [RESET_PID].
38331         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
38333         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
38334         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
38336 2014-05-27  Roland McGrath  <roland@hack.frob.com>
38338         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
38340         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
38341         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
38343 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
38345         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
38347 2014-05-27  Andreas Schwab  <schwab@suse.de>
38349         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
38350         TLS_INIT_TP macro.
38351         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
38352         * elf/rtld.c (init_tls, dl_main): Likewise.
38353         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
38354         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
38355         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
38356         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
38357         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
38358         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
38359         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
38360         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
38361         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
38362         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
38363         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
38364         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
38365         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
38366         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
38367         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
38368         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
38369         * sysdeps/generic/tls.h: Update description.
38371 2014-05-27  Will Newton  <will.newton@linaro.org>
38373         [BZ #16990]
38374         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
38375         and restore r2 rather than just restoring.
38377 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38379         [BZ #16724]
38380         * libio/tst-ftell-append.c: New test case.
38381         * libio/Makefile (tests): Add test case.
38382         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
38383         append mode.
38384         * libio/wfileops.c (do_ftell_wide): Likewise.
38386 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38390         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
38391         ...
38392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
38393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38394         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38395         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38396         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38397         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38398         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38399         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38400         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38401         Moved ...
38402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38403         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38404         Moved ...
38405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38406         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38407         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38408         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38409         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38410         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38411         ...
38412         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38413         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38414         Moved ...
38415         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38416         here.
38417         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
38418         ...
38419         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
38420         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
38421         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
38423         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
38424         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38425         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
38426         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
38428         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
38429         merge into ...
38430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
38431         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
38432         ...
38433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
38434         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
38435         ...
38436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
38437         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38438         Moved ...
38439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
38440         here.
38441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38442         Moved ...
38443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
38444         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38445         Moved ...
38446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
38448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
38449         conditional [RESET_PID].
38450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
38451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
38452         removed.
38453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
38454         removed.
38456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38457         <tcb-offsets.h>.
38458         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38459         (__libc_vfork): New strong alias.
38460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
38461         removed.
38462         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
38463         Removed.
38465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
38466         <tcb-offsets.h>.
38467         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
38468         (__libc_vfork): New strong alias.
38469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
38470         removed.
38471         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
38472         removed.
38474 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
38476         * malloc/malloc.c (mi_arena): New function.
38477         (malloc_info): Remove nested function mi_arena. Call non-nosted
38478         function mi_arena.
38480 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38482         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38483         by insrwi.
38484         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38485         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38486         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
38487         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
38488         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
38489         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
38490         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
38492 2014-05-26  Andreas Schwab  <schwab@suse.de>
38494         [BZ #16984]
38495         * locale/programs/repertoire.c (repertoire_read): Add slash
38496         between I18NPATH element and file name.
38497         * locale/programs/locfile.c (locfile_read): Likewise.
38499 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38501         * nptl/pthread_mutexattr_settype.c
38502         (__pthread_mutexattr_settype):
38503         Disable lock elision for PTHREAD_MUTEX_NORMAL.
38505 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38507         * nptl/tst-mutex5 (do_test):
38508         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
38510 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38512         * benchtests/README: Document 'init' directive.
38513         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
38514         BENCH_INIT.
38515         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
38516         (parse_file): Recognize 'init' directive.
38518 2014-05-26  Kyle McMartin  <kyle@redhat.com>
38520         [BZ #16796]
38521         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
38522         alignment of struct pthread.
38524 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38526         [BZ #16878]
38527         * nscd/netgroupcache.c (addgetnetgrentX): Look for
38528         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38529         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
38530         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38532 2014-05-25  Richard Henderson  <rth@twiddle.net>
38534         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38535         (SINGLE_THREAD_P_PIC): Remove.
38536         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
38537         (SINGLE_THREAD_P_PIC): Remove.
38539         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
38540         branch to syscall error ...
38541         (PSEUDO): ... here.
38542         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
38543         from __local_syscall_error to .Lsyscall_error.
38544         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
38545         (SYSCALL_ERROR): Update label name.
38547         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38548         Do not use DOARGS/UNDOARGS.
38549         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
38550         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
38551         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
38552         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
38553         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
38555         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
38556         block comment.
38558         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
38559         define if !NOT_IN_libc.
38560         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38561         define with non-default symbol versions.
38563 2014-05-23  Richard Henderson  <rth@twiddle.net>
38565         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
38566         (vfork, __vfork): Define via compat_symbol.
38568         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
38569         [!HAVE_IFUNC] (vfork_compat): Remove.
38570         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
38572 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38574         [BZ #16978]
38575         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
38576         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
38577         variable.
38579 2014-05-23  Richard Henderson  <rth@twiddle.net>
38581         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38582         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
38583         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
38584         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
38586         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
38587         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
38588         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
38589         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38590         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
38591         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
38592         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38593         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
38594         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
38595         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
38596         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
38597         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
38598         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
38599         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
38600         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
38601         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
38602         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38603         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
38604         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
38605         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
38606         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
38607         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
38608         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
38609         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
38610         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
38611         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
38612         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
38613         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
38614         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
38615         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
38616         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
38617         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
38618         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
38619         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
38620         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
38621         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
38622         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
38623         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
38624         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
38625         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
38626         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
38627         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
38628         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
38629         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
38630         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
38631         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
38632         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
38633         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
38634         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
38635         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
38636         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
38637         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
38638         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
38639         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
38640         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
38641         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
38643         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
38644         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
38645         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
38646         before exiting on error.
38647         (__libc_vfork): New strong alias.
38648         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
38649         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
38651         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
38652         that was previously under [RESET_PID].
38653         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
38655         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
38657 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38659         [BZ #16977]
38660         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
38661         value when x - 1 is zero.
38662         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
38663         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
38664         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
38665         0.0L for an argument of 1.0L.
38666         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
38667         Likewise.
38668         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
38669         value when x - 1 is zero.
38670         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
38671         * sysdeps/i386/fpu/libm-test-ulps: Update.
38672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38674 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38676         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
38677         alphasort and versionsort.
38679 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38681         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
38682         macro.
38683         [copysignf]: Likewise.
38685 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38687         * crypt/md5-crypt.c: Fix formatting.
38689 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38691         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
38692         (b64_from_24bit): New function.
38694 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38696         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
38697         libc_hidden_builtin_def to ifunc.
38698         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38699         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
38701 2014-05-21  Roland McGrath  <roland@hack.frob.com>
38703         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
38704         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
38706 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
38708         * nscd/Depend (linuxthreads): Remove.
38709         (nptl): Add.
38710         * resolv/Depend (linuxthreads): Remove.
38711         * rt/Depend (linuxthreads): Remove.
38713         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
38714         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
38715         $(common-objpfx)elf/.
38716         (link-libc-before-gnulib): Likewise.
38717         (elfobjdir): Remove variable.
38718         * Makefile (install): Use $(elf-objpfx) instead of
38719         $(common-objpfx)elf/.
38720         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
38721         $(elfobjdir)/.
38722         (link-libc-deps): Likewise.
38723         ($(common-objpfx)libc.so): Likewise.
38724         ($(common-objpfx)linkobj/libc.so): Likewise.
38725         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
38726         instead of $(common-objpfx)elf/.
38727         (symbolic-link-list): Likewise.
38728         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38729         [$(cross-compiling) = no]: Likewise.
38730         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
38731         $(elfobjdir)/.
38732         (static-gnulib-arch): Likewise.
38733         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38734         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
38735         $(common-objpfx)elf/.
38737 2014-05-21  Richard Henderson  <rth@redhat.com>
38739         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38740         (SINGLE_THREAD_P): Use the correct width load.  Fold
38741         into the ldr offset.
38743         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
38744         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
38746 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
38748         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
38749         (libgcc_s_resume): Use __attribute_used__.
38750         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
38751         Likewise.
38753 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38755         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
38756         optimization when used with float constants.
38758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38760 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
38762         [BZ #16915]
38763         * locale/nl_langinfo_l.c: Make direct reference to every
38764         _nl_current_CATEGORY symbol.
38765         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38766         (tests-static): Add tst-langinfo-static.
38767         (tests-special): Add tst-langinfo-static.out.
38768         ($(objpfx)tst-langinfo.out): Redirect output.
38769         ($(objpfx)tst-langinfo-static.out): New.
38770         * localedata/tst-langinfo.sh: Send output to stdout.
38771         * localedata/tst-langinfo-static.c: New file.
38773         [BZ #16965]
38774         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38775         when the shift amount is modulo the limb size.
38777 2014-05-20  Richard Henderson  <rth@redhat.com>
38779         [BZ #16967]
38780         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38781         Change type of sa_flags from unsigned int to int.
38783         [BZ #16966]
38784         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38786         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38788 2014-05-20  Will Newton  <will.newton@linaro.org>
38790         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38791         Test the return value of the system call in the nocancel case.
38793 2014-05-20  Will Newton  <will.newton@linaro.org>
38794             Yvan Roux  <yvan.roux@linaro.org>
38796         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38797         #include of asm/ptrace.h.
38798         (PTRACE_GET_THREAD_AREA): Remove #undef.
38799         (PTRACE_GETHBPREGS): Likewise.
38800         (PTRACE_SETHBPREGS): Likewise.
38801         (struct user_regs_struct): New structure.
38802         (struct user_fpsimd_struct): New structure.
38803         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38804         #include of asm/ptrace.h and second #include of sys/user.h.
38805         (PTRACE_GET_THREAD_AREA): Remove #undef.
38806         (PTRACE_GETHBPREGS): Likewise.
38807         (PTRACE_SETHBPREGS): Likewise.
38808         (ELF_NGREG): Use new struct user_regs_struct.
38809         (elf_fpregset_t): Use new struct user_fpsimd_struct.
38811 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38813         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38814         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38816 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38818         [BZ #16958]
38819         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38820         membar to avoid block loads/stores to overlap previous stores.
38822 2014-05-17  Richard Henderson  <rth@redhat.com>
38824         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38825         Create the __##syscall_name##_nocancel entry point.
38826         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38827         Remove; let the sysdep-cancel.h code create it.
38829 2014-05-17  David S. Miller  <davem@davemloft.net>
38831         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38832         Protect with __USE_GNU.
38833         (TIOCSET_TEMPT): Likewise.
38834         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38835         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38836         these are already provided in bits/ioctl-types.h
38838 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38840         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
38841         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
38843         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
38844         Use wait4 regardless of [__NR_waitpid].
38846 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
38848         PR libgcc/60166
38849         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38850         (_FP_NANSIGN_Q): Set the quiet bit.
38852 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
38854         * benchtests/Makefile
38855         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
38856         not $(common-objpfx)math/libm.so.
38857         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
38858         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38859         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
38860         $(common-objpfx)dlfcn/libdl.so.
38861         ($(objpfx)tst-audit8): Depend on $(libm), not
38862         $(common-objpfx)math/libm.so.
38863         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
38864         not $(common-objpfx)dlfcn/libdl.so.
38865         * math/Makefile
38866         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38867         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
38868         [$(build-shared) = yes].
38869         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38870         $(common-objpfx)nptl/libpthread.so.
38871         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38872         $(common-objpfx)math/libm.so$(libm.so-version) or
38873         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38874         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38875         $(common-objpfx)dlfcn/libdl.so.
38876         * setjmp/Makefile (link-libm): Remove variable.
38877         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38878         * stdio-common/Makefile (link-libm): Remove variable.
38879         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38880         * stdlib/Makefile (link-libm): Remove variable.
38881         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38882         ($(objpfx)tst-strtod-round): Likewise.
38883         ($(objpfx)tst-tininess): Likewise.
38884         ($(objpfx)tst-strtod-underflow): Likewise.
38885         ($(objpfx)tst-strtod6): Likewise.
38886         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38887         $(libdl), not $(common-objpfx)nptl/libpthread.so and
38888         $(common-objpfx)dlfcn/libdl.so.
38890 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38892         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38893         BSD terminal modes definitions.
38895 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38897         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
38898         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
38900         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
38901         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
38902         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
38903         Don't do #include_next.
38904         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
38905         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
38906         Don't do #include_next.
38907         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
38908         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
38909         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
38910         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
38912 2014-05-16  Allan McRae  <allan@archlinux.org>
38914         * po/sv.po: Update Swedish translation from translation project.
38916         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
38917         in sed expression.
38919 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
38921         [BZ #16917]
38922         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
38923         errno if the TIOCGPTN ioctl fails with an error different than
38924         EINVAL.
38925         * login/tst-ptsname.c: New file.
38926         * login/Makefile (tests): Add tst-ptsname.
38928         [BZ #16943]
38929         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
38930         and prlimit64.
38932 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38934         [BZ #16849]
38935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
38936         herrno to return EAI_AGAIN.
38938 2014-05-14  Roland McGrath  <roland@hack.frob.com>
38940         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
38941         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
38942         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
38943         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
38944         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
38945         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
38946         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
38947         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
38948         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
38949         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
38950         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
38951         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
38952         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
38953         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
38954         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
38955         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
38956         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
38957         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
38958         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
38959         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
38960         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
38961         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
38962         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
38963         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
38964         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
38965         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
38966         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
38967         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
38968         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
38969         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
38970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
38971         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
38972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
38973         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
38974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38975         Moved ...
38976         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
38977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
38978         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
38979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
38980         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
38981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
38982         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
38983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
38984         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
38985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
38986         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
38987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
38988         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
38989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
38990         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
38991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
38992         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
38993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
38994         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
38995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
38996         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
38997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
38998         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
38999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
39000         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
39001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
39002         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
39003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39004         Moved ...
39005         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
39006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
39007         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
39008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
39009         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
39010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
39011         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
39012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
39013         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
39014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
39015         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
39016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
39017         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
39018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
39019         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
39020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
39021         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
39022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
39023         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
39024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39025         Moved ...
39026         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
39027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
39028         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
39030         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
39031         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
39032         (libpthread-sysdep_routines): Add elision-related stuff here instead.
39033         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
39034         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
39035         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
39036         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
39037         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
39038         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
39039         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
39040         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
39041         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
39042         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
39043         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
39044         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
39045         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
39046         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
39047         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
39048         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
39049         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
39050         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
39051         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
39052         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
39053         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
39054         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
39055         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
39056         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
39057         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
39058         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
39059         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
39060         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
39062         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
39063         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
39065         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
39066         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
39067         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
39068         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
39069         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
39070         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
39071         Moved ...
39072         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
39073         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
39074         Moved ...
39075         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
39076         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
39077         Moved ...
39078         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
39079         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
39080         Moved ...
39081         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
39082         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
39083         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
39084         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
39085         Moved ...
39086         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
39087         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
39088         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
39089         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
39090         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
39091         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
39092         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
39093         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
39094         Moved ...
39095         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
39096         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39097         Moved ...
39098         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39099         ... here.
39100         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
39101         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
39102         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
39103         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
39104         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39105         Moved ...
39106         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39107         ... here.
39108         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
39109         Moved ...
39110         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
39111         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
39112         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
39113         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
39114         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
39115         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
39116         Moved ...
39117         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
39118         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
39119         Moved ...
39120         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
39121         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
39122         Moved ...
39123         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
39124         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
39125         Moved ...
39126         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
39127         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
39128         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
39129         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
39130         Moved ...
39131         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
39132         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
39133         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
39134         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
39135         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
39136         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
39137         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
39138         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
39139         Moved ...
39140         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
39141         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39142         Moved ...
39143         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39144         ... here.
39145         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
39146         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
39147         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
39148         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
39149         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39150         Moved ...
39151         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39152         ... here.
39153         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
39154         Moved ...
39155         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
39156         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
39157         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
39158         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
39159         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
39160         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
39161         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
39162         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
39163         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
39164         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
39165         Moved ...
39166         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
39167         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
39168         Moved ...
39169         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
39170         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
39171         Moved ...
39172         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
39173         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
39174         Moved ...
39175         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
39176         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
39177         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
39178         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
39179         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
39180         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
39181         Moved ...
39182         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
39183         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
39184         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
39185         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
39186         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
39187         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
39188         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
39189         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
39190         Moved ...
39191         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
39192         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39193         Moved ...
39194         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39195         ... here.
39196         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
39197         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
39198         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
39199         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
39200         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39201         Moved ...
39202         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39203         ... here.
39204         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
39205         Moved ...
39206         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
39207         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
39208         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
39209         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
39210         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
39211         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
39212         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
39213         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
39214         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
39215         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
39216         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
39218         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
39219         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
39221         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
39222         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
39224         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
39225         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
39226         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
39227         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
39228         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
39229         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
39230         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
39231         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
39232         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
39233         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
39234         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
39235         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
39236         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
39237         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
39238         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
39239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
39240         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
39241         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
39242         Moved ...
39243         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
39244         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
39245         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
39246         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
39247         Moved ...
39248         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
39249         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
39250         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
39251         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
39252         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
39253         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
39254         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
39255         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
39256         Moved ...
39257         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
39258         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
39259         Moved ...
39260         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
39261         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
39262         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
39263         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
39264         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
39265         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
39266         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
39267         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
39268         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
39269         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
39270         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
39271         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
39272         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
39273         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
39274         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
39275         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
39276         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
39278         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
39279         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
39280         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
39281         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
39282         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
39284         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
39285         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
39286         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
39287         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
39288         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
39289         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
39290         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
39291         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
39292         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
39293         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
39295         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
39296         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
39298         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
39299         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
39300         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
39301         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
39302         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
39303         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
39304         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
39305         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
39306         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
39307         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
39308         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
39309         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
39310         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
39311         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
39312         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
39313         Update #include.
39314         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
39315         Likewise.
39316         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39317         Likewise.
39318         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39319         Likewise.
39320         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39321         Likewise.
39322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
39323         Likewise.
39324         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
39325         Likewise.
39326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39327         Likewise.
39328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
39329         Likewise.
39330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
39331         Likewise.
39332         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
39333         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
39334         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
39335         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
39336         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
39337         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
39338         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
39339         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
39340         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
39341         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
39342         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
39343         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
39344         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
39345         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
39346         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
39348         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39349         that was previously under [RESET_PID].
39350         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39351         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
39352         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
39354         * sysdeps/i386/nptl/Implies: New file.
39355         * sysdeps/x86_64/nptl/Implies: New file.
39356         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
39357         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39358         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
39359         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
39361         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
39362         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39363         (__libc_vfork): New strong alias.
39364         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
39365         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
39367         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
39368         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39369         (__libc_vfork): New strong alias.
39370         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
39371         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
39373         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
39374         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39375         (__libc_vfork): New strong alias.
39376         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
39377         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
39378         * nptl/pt-vfork.c: New file.
39379         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
39380         (libpthread: GLIBC_2.20): New version set (empty).
39382 2014-05-14  Will Newton  <will.newton@linaro.org>
39384         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
39385         rather than #if.
39387 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39389         [BZ #16564]
39390         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
39391         arguments with exponent 65 or above.
39392         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
39393         arguments 0x1p113L or above.
39394         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39395         to arguments 0x1p107L or above.
39396         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39397         positive arguments with exponent 65 or above.
39398         * math/auto-libm-test-in: Add more tests of log1p.
39399         * math/auto-libm-test-out: Regenerated.
39401         [BZ #16928]
39402         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39403         non-finite arguments is +0.
39404         * math/s_cacosf.c (__cacosf): Likewise.
39405         * math/s_cacosl.c (__cacosl): Likewise.
39406         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39407         * sysdeps/i386/fpu/libm-test-ulps: Update.
39408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39410         [BZ #16927]
39411         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39412         value.
39413         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39414         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39415         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39416         for explicit high bit of mantissa when testing for argument equal
39417         to 1.
39418         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
39419         * sysdeps/i386/fpu/libm-test-ulps: Update.
39420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39422         [BZ #16516]
39423         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
39424         (__erf): Scale by 16 instead of 8 in potentially underflowing
39425         case.  Ensure exception if result actually underflows.
39426         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
39427         (__erff): Scale by 16 instead of 8 in potentially underflowing
39428         case.  Ensure exception if result actually underflows.
39429         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
39430         (efx8): Remove variable.
39431         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39432         case.  Ensure exception if result actually underflows.
39433         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
39434         (efx8): Remove variable.
39435         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39436         case.  Ensure exception if result actually underflows.
39437         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
39438         (efx8): Remove variable.
39439         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39440         case.  Ensure exception if result actually underflows.
39441         * math/auto-libm-test-in: Add more tests of erf.
39442         * math/auto-libm-test-out: Regenerated.
39444 2014-05-14  Andreas Schwab  <schwab@suse.de>
39446         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
39447         Remove code conditionalized on USE___THREAD.
39449         * config.h.in (HAVE_PT_CHOWN): Define as 0.
39450         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
39451         not definedness.
39453 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39455         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
39456         Define unconditionally.
39457         (__ASSUME_O_CLOEXEC): Likewise.
39458         (__ASSUME_SOCK_CLOEXEC): Likewise.
39459         (__ASSUME_IN_NONBLOCK): Likewise.
39460         (__ASSUME_PIPE2): Likewise.
39461         (__ASSUME_EVENTFD2): Likewise.
39462         (__ASSUME_SIGNALFD4): Likewise.
39463         (__ASSUME_DUP3): Likewise.
39464         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39465         (__ASSUME_DUP3): Do not define.
39466         (__ASSUME_EVENTFD2): Likewise.
39467         (__ASSUME_IN_NONBLOCK): Likewise.
39468         (__ASSUME_O_CLOEXEC): Likewise.
39469         (__ASSUME_PIPE2): Likewise.
39470         (__ASSUME_SIGNALFD4): Likewise.
39471         (__ASSUME_SOCK_CLOEXEC): Likewise.
39472         (__ASSUME_UTIMES): Undefine.
39473         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39474         (__ASSUME_UTIMES): Do not define.
39475         (__ASSUME_O_CLOEXEC): Likewise.
39476         (__ASSUME_SOCK_CLOEXEC): Likewise.
39477         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
39478         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
39479         0x020621].
39480         (__ASSUME_PIPE2): Likewise.
39481         (__ASSUME_EVENTFD2): Likewise.
39482         (__ASSUME_SIGNALFD4): Likewise.
39483         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
39484         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39485         Do not define.
39486         (__ASSUME_EVENTFD2): Likewise.
39487         (__ASSUME_SIGNALFD4): Likewise.
39488         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39489         (__ASSUME_32BITUIDS): Likewise.
39490         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39491         (__ASSUME_IPC64): Likewise.
39492         (__ASSUME_ST_INO_64_BIT): Likewise.
39493         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
39494         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
39495         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39496         (__ASSUME_UTIMES): Do not define.
39497         (__ASSUME_PSELECT): Likewise.
39498         (__ASSUME_PPOLL): Likewise.
39499         (__ASSUME_O_CLOEXEC): Likewise.
39500         (__ASSUME_SOCK_CLOEXEC): Likewise.
39501         (__ASSUME_IN_NONBLOCK): Likewise.
39502         (__ASSUME_PIPE2): Likewise.
39503         (__ASSUME_EVENTFD2): Likewise.
39504         (__ASSUME_SIGNALFD4): Likewise.
39505         (__ASSUME_DUP3): Likewise.
39506         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39507         (__ASSUME_UTIMES): Likewise.
39508         (__ASSUME_O_CLOEXEC): Likewise.
39509         (__ASSUME_SOCK_CLOEXEC): Likewise.
39510         (__ASSUME_IN_NONBLOCK): Likewise.
39511         (__ASSUME_PIPE2): Likewise.
39512         (__ASSUME_EVENTFD2): Likewise.
39513         (__ASSUME_SIGNALFD4): Likewise.
39514         (__ASSUME_DUP3): Likewise.
39515         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39516         (__ASSUME_UTIMES): Likewise.
39517         (__ASSUME_O_CLOEXEC): Likewise.
39518         (__ASSUME_SOCK_CLOEXEC): Likewise.
39519         (__ASSUME_IN_NONBLOCK): Likewise.
39520         (__ASSUME_PIPE2): Likewise.
39521         (__ASSUME_EVENTFD2): Likewise.
39522         (__ASSUME_SIGNALFD4): Likewise.
39523         (__ASSUME_DUP3): Likewise.
39524         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
39525         Likewise.
39526         (__ASSUME_UTIMES): Likewise.
39527         (__ASSUME_EVENTFD2): Likewise.
39528         (__ASSUME_SIGNALFD4): Likewise.
39529         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39530         (__ASSUME_O_CLOEXEC): Likewise.
39531         (__ASSUME_SOCK_CLOEXEC): Likewise.
39532         (__ASSUME_IN_NONBLOCK): Likewise.
39533         (__ASSUME_PIPE2): Likewise.
39534         (__ASSUME_EVENTFD2): Likewise.
39535         (__ASSUME_SIGNALFD4): Likewise.
39536         (__ASSUME_DUP3): Likewise.
39537         (__ASSUME_UTIMES): Undefine.
39539         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
39540         feclearexcept.  Remove symbol versioning code.
39541         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
39542         symbol versioning code.
39543         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
39544         symbol versioning code.
39545         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
39546         feupdateenv.  Remove symbol versioning code.
39547         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
39548         fegetexceptflag.  Remove symbol versioning code.
39549         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
39550         fesetexceptflag.  Remove symbol versioning code.
39551         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
39552         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
39553         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
39554         (__posix_fadvise64_l32): Remove prototype.
39555         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
39556         code.
39558 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39560         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
39561         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
39562         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
39563         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
39565 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
39567         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
39568         current working directory
39570 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39572         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
39573         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
39574         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
39575         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
39576         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
39577         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
39578         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
39579         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
39580         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
39581         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
39582         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
39583         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
39584         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
39585         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
39586         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
39587         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
39588         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
39589         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
39590         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
39591         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
39592         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
39593         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
39594         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
39595         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39596         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
39597         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
39598         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
39599         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
39600         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
39601         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
39602         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
39603         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
39604         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
39605         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
39606         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
39607         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
39608         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
39609         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
39610         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
39611         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
39612         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
39613         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
39615         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
39616         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
39618         * sysdeps/unix/sysv/linux/arm/Makefile
39619         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39620         Add rt-aeabi_unwind_cpp_pr1.
39621         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
39622         Add nptl-aeabi_unwind_cpp_pr1.
39623         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
39624         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
39625         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
39626         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39627         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
39628         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39630         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
39631         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
39632         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
39633         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
39635         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
39636         Deconditionalize the code that was previously under [RESET_PID].
39637         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
39639         * sysdeps/generic/exit-thread.h: New file.
39640         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
39641         * include/unistd.h (__exit_thread): Remove declaration.
39642         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
39643         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
39644         * csu/libc-start.c: Include <exit-thread.h>.
39645         (LIBC_START_MAIN): Pass no argument to __exit_thread.
39646         * nptl/pthread_create.c: Include <exit-thread.h>.
39647         (start_thread): Call __exit_thread in place of __exit_thread_inline.
39648         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
39649         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
39650         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
39651         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
39652         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
39653         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
39654         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
39655         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
39656         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
39657         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
39658         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
39659         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
39660         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
39661         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
39662         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
39663         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
39665 2014-05-13  Andreas Schwab  <schwab@suse.de>
39667         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
39669 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
39671         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39672         (__ASSUME_UTIMES): Do not condition on kernel version.
39673         (__ASSUME_PSELECT): Define unconditionally.
39674         (__ASSUME_PPOLL): Likewise.
39675         (__ASSUME_ATFCTS): Likewise.
39676         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
39677         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
39678         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
39679         (__ASSUME_UTIMENSAT): Define unconditionally.
39680         (__ASSUME_PRIVATE_FUTEX): Likewise.
39681         (__ASSUME_FALLOCATE): Likewise.
39682         (__ASSUME_O_CLOEXEC): Likewise.
39683         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
39684         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
39685         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
39686         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
39687         (__ASSUME_IN_NONBLOCK): Likewise.
39688         (__ASSUME_PIPE2): Likewise.
39689         (__ASSUME_EVENTFD2): Likewise.
39690         (__ASSUME_SIGNALFD4): Likewise.
39691         (__ASSUME_DUP3): Likewise.
39692         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39693         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
39694         (__ASSUME_AT_RANDOM): Likewise.
39695         (__ASSUME_PREADV): Likewise.
39696         (__ASSUME_PWRITEV): Likewise.
39697         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
39698         (__ASSUME_F_GETOWN_EX): Define unconditionally.
39699         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
39700         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39701         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
39702         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39703         (__ASSUME_O_CLOEXEC): Define unconditionally.
39704         (__ASSUME_PSELECT): Do not undefine conditionally.
39705         (__ASSUME_PPOLL): Likewise.
39706         (__ASSUME_ATFCTS): Likewise.
39707         (__ASSUME_SET_ROBUST_LIST): Likewise.
39708         (__ASSUME_UTIMENSAT): Likewise.
39709         (__ASSUME_FDATASYNC): Define unconditionally.
39710         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39711         (__ASSUME_SIGFRAME_V2): Likewise.
39712         )__ASSUME_EVENTFD2): Likewise.
39713         (__ASSUME_SIGNALFD4): Likewise.
39714         (__ASSUME_PSELECT): Do not undefine conditionally.
39715         (__ASSUME_PPOLL): Likewise.
39716         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39717         (__ASSUME_PSELECT): Define unconditionally.
39718         (__ASSUME_PPOLL): Likewise.
39719         (__ASSUME_O_CLOEXEC): Likewise.
39720         (__ASSUME_SOCK_CLOEXEC): Likewise.
39721         (__ASSUME_IN_NONBLOCK): Likewise.
39722         (__ASSUME_PIPE2): Likewise.
39723         (__ASSUME_EVENTFD2): Likewise.
39724         (__ASSUME_SIGNALFD4): Likewise.
39725         (__ASSUME_DUP3): Likewise.
39726         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39727         (__ASSUME_O_CLOEXEC): Likewise.
39728         (__ASSUME_SOCK_CLOEXEC): Likewise.
39729         (__ASSUME_IN_NONBLOCK): Likewise.
39730         (__ASSUME_PIPE2): Likewise.
39731         (__ASSUME_EVENTFD2): Likewise.
39732         (__ASSUME_SIGNALFD4): Likewise.
39733         (__ASSUME_DUP3): Likewise.
39734         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39735         (__ASSUME_EVENTFD2): Likewise.
39736         (__ASSUME_SIGNALFD4): Likewise.
39737         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39739 2014-05-12  Andreas Schwab  <schwab@suse.de>
39741         [BZ #16932]
39742         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
39743         (_nss_nis_gethostbyname4_r): Return error if item length is larger
39744         than maximum RPC packet size.
39745         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
39746         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
39747         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
39748         (_nss_nis_getservbyport_r): Likewise.
39750 2014-05-12  Will Newton  <will.newton@linaro.org>
39752         * malloc/Makefile (tests): Add tst-mallopt.
39753         * malloc/tst-mallopt.c: New file.
39755 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39757         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
39758         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
39760 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39762         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
39763         (tst-tlsmod6.so): Likewise.
39765 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39767         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39769 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
39771         [BZ #16064]
39772         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39773         and <dl-procinfo.h>.
39774         (__fegetenv): Save SSE state in envp->__eip if supported.
39775         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39776         envp->__eip if supported.
39777         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39778         and <dl-procinfo.h>.
39779         (__fesetenv): Always set __eip, __cs_selector, __opcode,
39780         __data_offset and __data_selector in environment to 0.  Set SSE
39781         state if supported.
39782         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39783         test-fenv-sse.
39784         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39785         -mfpmath=sse.
39786         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39788 2014-05-09  Will Newton  <will.newton@linaro.org>
39790         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39791         and libc_relro_required for ARM.
39792         * sysdeps/arm/preconfigure: Regenerate.
39794 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
39795             Stefan Liebler  <stli@linux.vnet.ibm.com>
39797         * config.make.in (enable-lock-elision): New Makefile variable.
39798         * configure.ac: Likewise.
39799         * configure: Regenerate.
39800         * sysdeps/s390/configure.ac:
39801         Add check for gcc transactions support.
39802         * sysdeps/s390/configure: Regenerate.
39803         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39804         Build elision files if enabled.
39805         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39806         Add lock elision support for s390.
39807         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39808         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39809         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39810         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39811         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39812         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39813         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39814         Likewise.
39815         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39816         Likewise.
39817         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39818         Likewise.
39819         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39820         Likewise.
39821         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39822         (__lll_timedlock_elision, __lll_lock_elision)
39823         (__lll_unlock_elision, __lll_trylock_elision)
39824         (lll_timedlock_elision, lll_lock_elision)
39825         (lll_unlock_elision, lll_trylock_elision): Add.
39826         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39827         (pthread_mutex_t): Add lock elision support for s390.
39829 2014-05-14  Wilco  <wdijkstr@arm.com>
39831         * sysdeps/arm/fclrexcpt.c: Cleanup.
39832         * sysdeps/arm/fedisblxcpt.c: Cleanup.
39833         * sysdeps/arm/feenablxcpt.c: Cleanup.
39834         * sysdeps/arm/fegetenv.c: Cleanup.
39835         * sysdeps/arm/fegetexcept.c: Cleanup.
39836         * sysdeps/arm/fegetround.c: Cleanup.
39837         * sysdeps/arm/feholdexcpt.c: Cleanup.
39838         * sysdeps/arm/fesetenv.c: Cleanup.
39839         * sysdeps/arm/fesetround.c: Cleanup.
39840         * sysdeps/arm/feupdateenv.c: Cleanup.
39841         * sysdeps/arm/fgetexcptflg.c: Cleanup.
39842         * sysdeps/arm/fraiseexcpt.c: Cleanup.
39843         * sysdeps/arm/fsetexcptflg.c: Cleanup.
39844         * sysdeps/arm/ftestexcept.c: Cleanup.
39845         * sysdeps/arm/get-rounding-mode.h: Cleanup.
39846         * sysdeps/arm/setfpucw.c: Cleanup.
39848 2014-05-09  Will Newton  <will.newton@linaro.org>
39850         * sysdeps/arm/armv7/strcmp.S: New file.
39851         * NEWS: Mention addition of ARMv7 optimized strcmp.
39853 2014-05-08  Roland McGrath  <roland@hack.frob.com>
39855         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
39856         look for %.ac rather than %.in.
39858         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
39859         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
39860         * sysdeps/mach/hurd/configure: Regenerated.
39861         * sysdeps/unix/sysv/linux/configure: Regenerated.
39863         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39865 2014-05-07  Steve Ellcey  <sellcey@mips.com>
39867         [BZ# 16922]
39868         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39869         (LONG_SUB): Ditto.
39870         (PTR_SUB): Ditto.
39872 2014-05-07  Andreas Schwab  <schwab@suse.de>
39874         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39875         when skipping over non-matching result from nscd.
39877 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
39879         [BZ #16876]
39880         * nptl/sockperf.c (client): Check socket return value.
39882         [BZ #16877]
39883         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39884         nscd security class.
39886 2014-05-06  Roland McGrath  <roland@hack.frob.com>
39888         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39889         * sysdeps/arm/unwind.h: ... here.
39891 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
39893         [BZ# 16916]
39894         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39895         Define.
39897 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39899         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
39900         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
39901         multiarch strncpy for PPC64.
39902         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
39903         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
39904         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
39905         multiarch optimizations.
39906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39907         (__libc_ifunc_impl_list): Likewise.
39908         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
39909         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
39910         multiarch stpncpy for PPC64.
39911         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
39912         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
39914 2014-05-06  Andreas Schwab  <schwab@suse.de>
39916         [BZ #16912]
39917         * gmon/mcount.c (_MCOUNT_DECL): Use
39918         atomic_compare_and_exchange_bool_acq instead of
39919         catomic_compare_and_exchange_bool_acq.
39921 2014-05-05  Roland McGrath  <roland@hack.frob.com>
39923         * elf/Makefile (others, install-bin): Remove pldd.
39924         (pldd-modules): Variable removed.
39925         ($(objpfx)pldd): Target removed.
39926         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
39927         (others, install-bin): Append pldd here.
39928         ($(objpfx)pldd): New target.
39930         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
39931         to 0, so the first #if test emitted later doesn't see it undefined.
39932         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
39933         * sysdeps/gnu/errlist.c: Regenerated.
39935 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39937         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39938         [libc_hidden_builtin_def]: Define to empty value.
39939         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
39940         [libc_hidden_builtin_def]: Likewise.
39941         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
39942         [libc_hidden_builtin_def]: Likewise.
39943         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
39944         [libc_hidden_builtin_def]: Likewise.
39945         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
39946         __redirect_memcpy and define ifunc as default hidden symbol.
39947         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
39948         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
39950 2014-05-04  Adam Conrad  <adconrad@0c3.net>
39952         * locale/iso-4217.def: Reintroduce XDR currency.
39954 2014-05-04  Allan McRae  <allan@archlinux.org>
39956         * po/eo.po: Update Esperanto translation from translation project.
39958 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
39960         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
39961         and FEATURE_INDEX_MAX to 1.
39962         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
39964 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39966         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
39967         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
39968         * iconvdata/big5.c (ONE_DIRECTION): Define.
39969         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
39970         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
39971         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
39972         * iconvdata/cp932.c (ONE_DIRECTION): Define.
39973         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
39974         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
39975         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
39976         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
39977         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
39978         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
39979         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
39980         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
39981         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
39982         * iconvdata/gbk.c (ONE_DIRECTION): Define.
39983         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
39984         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
39985         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
39986         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
39987         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
39988         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
39989         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
39990         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
39991         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
39992         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
39993         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
39994         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
39995         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
39996         * iconvdata/iso646.c (ONE_DIRECTION): Define.
39997         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
39998         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
39999         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
40000         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
40001         * iconvdata/johab.c (ONE_DIRECTION): Define.
40002         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
40003         * iconvdata/sjis.c (ONE_DIRECTION): Define.
40004         * iconvdata/t.61.c (ONE_DIRECTION): Define.
40005         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
40006         * iconvdata/tscii.c (ONE_DIRECTION): Define.
40007         * iconvdata/uhc.c (ONE_DIRECTION): Define.
40008         * iconvdata/unicode.c (ONE_DIRECTION): Define.
40009         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
40010         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
40011         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
40013 2014-05-01  Roland McGrath  <roland@hack.frob.com>
40015         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
40016         (_IO_JUMPS_OFFSET): Define to 0.
40018         * nptl/sysdeps/pthread/bits/libc-lock.h
40019         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40020         (__libc_lock_define_initialized_recursive): Always define using
40021         initializer.  Modern compilers treat uninitialized (implicit zero) and
40022         explicit zero initializers the same (i.e. put the datum in bss).
40024 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40026         * nscd/nscd-client.h: Include <string.h>.
40028 2014-05-01  David S. Miller  <davem@davemloft.net>
40030         [BZ #16885]
40031         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
40032         multiple zero bytes exist at the end of a string.
40033         Reported by Aurelien Jarno <aurelien@aurel32.net>
40035         * string/test-strcmp.c (check): Add explicit test for situations where
40036         there are multiple zero bytes after the first.
40038 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40040         [BZ #16890]
40041         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
40042         when compiling wprintf.
40043         * stdio-common/tstdiomisc.c (t3): New function.
40044         (main): Call it.
40046 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40048         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
40049         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
40050         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
40051         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
40053 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40055         * stdlib/longlong.h: Updated from GCC.
40057 2014-05-01  Will Newton  <will.newton@linaro.org>
40058             Bernard Ogden  <bernie.ogden@linaro.org>
40060         * NEWS: Update fixed bug list.
40062         [BZ #15119]
40063         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
40065 2014-04-30  David S. Miller  <davem@davemloft.net>
40067         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
40068         (libc_feholdexcept_setround_sparc_ctx): New function.
40069         (libc_fesetenv_sparc_ctx): Likewise.
40070         (libc_feupdateenv_sparc_ctx): Likewise.
40071         (libc_feholdsetround_sparc_ctx): Likewise.
40072         (libc_feholdexcept_setround_ctx): Define.
40073         (libc_feholdexcept_setroundf_ctx): Likewise.
40074         (libc_feholdexcept_setroundl_ctx): Likewise.
40075         (libc_fesetenv_ctx): Likewise.
40076         (libc_fesetenvf_ctx): Likewise.
40077         (libc_fesetenvl_ctx): Likewise.
40078         (libc_feupdateenv_ctx): Likewise.
40079         (libc_feupdateenvf_ctx): Likewise.
40080         (libc_feupdateenvl_ctx): Likewise.
40081         (libc_feresetround_ctx): Likewise.
40082         (libc_feresetroundf_ctx): Likewise.
40083         (libc_feresetroundl_ctx): Likewise.
40084         (libc_feholdsetround_ctx): Likewise.
40085         (libc_feholdsetroundf_ctx): Likewise.
40086         (libc_feholdsetroundl_ctx): Likewise.
40088         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40089         with __USE_GNU instead of XOPEN cpp guards.
40091         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
40092         0.
40094         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40095         with XOPEN cpp guards.
40097 2014-04-30  Julian Brown  <julian@codesourcery.com>
40099         [BZ #16888]
40100         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
40101         handling.
40103 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
40105         [BZ #9894]
40106         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
40107         Change to 2.6.32.
40108         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
40109         * sysdeps/unix/sysv/linux/configure: Regenerated.
40110         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
40111         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
40112         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
40113         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
40114         * README: Update reference to required Linux kernel version.
40115         * manual/install.texi (Linux): Update reference to required Linux
40116         kernel headers version.
40117         * INSTALL: Regenerated.
40119         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
40120         header inclusion.
40121         [POSIX] (limits.h): Likewise.
40122         [POSIX] (math.h): Likewise.
40123         [POSIX] (sys/wait.h): Likewise.
40124         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
40125         function.
40126         [POSIX] (stddef.h): Do not allow header inclusion.
40128 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40130         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
40132 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
40134         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
40135         Return immediately after lll_futex_wake.
40137 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40139         [BZ #16791]
40140         * nscd/nscd-client.h (datahead_init_common): Initialize entire
40141         structure.
40142         (datahead_init_pos): Call datahead_init_common early.
40143         (datahead_init_neg): Likewise.
40145         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
40146         datahead_init_neg): New functions.
40147         * nscd/aicache.c (addhstaiX): Use them.
40148         * nscd/grpcache.c (cache_addgr): Likewise.
40149         * nscd/hstcache.c (cache_addhst): Likewise.
40150         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40151         * nscd/netgroupcache.c (do_notfound): Likewise.
40152         (addgetnetgrentX): Likewise.
40153         (addinnetgrX): Likewise.
40154         * nscd/pwdcache.c (cache_addpw): Likewise.
40155         * nscd/servicescache.c (cache_addserv): Likewise.
40157 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40158             Atsushi Onoe  <atsushi@onoe.org>
40160         [BZ #14308]
40161         [BZ #12994]
40162         [BZ #13651]
40163         * resolv/res_query.c (__libc_res_nsearch): Return if at least
40164         one response is valid.
40165         * resolv/res_send.c (send_dg): Check for validity of other
40166         response if the current response is a referral.
40168 2014-04-29  Steve Ellcey  <sellcey@mips.com>
40170         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
40172 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
40174         [BZ #16823]
40175         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
40176         Always divide by positive zero when computing -Inf result.
40177         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40178         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
40180 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40182         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
40183         FPSCR if value do not change.
40184         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40185         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
40186         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40187         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40188         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
40189         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
40190         function.
40192 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
40194         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
40195         * sysdeps/unix/sysv/linux/hppa: Move directory from
40196         ports/systeps/unix/sysv/linux/hppa.
40197         * README: Update listing for hppa-*-linux-gnu.
40199 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
40201         [BZ #16754]
40202         * manual/stdio.texi (Hook functions): Fix types of stream hook
40203         functions.
40204         [BZ #16854]
40205         * socket/sys/socket.h: Fix typo in comment.
40207 2014-04-28  Wilco  <wdijkstr@arm.com>
40209         * sysdeps/arm/fenv_private.h: New file.
40210         * sysdeps/arm/math_private.h: New file.
40211         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
40213 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
40215         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
40216         with __int128_t.
40217         (La_x86_64_retval): Likewise.
40219 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
40221         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
40222         fpsr if value didn't change.
40223         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
40224         to fpcr if value didn't change.
40225         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
40226         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
40227         fpsr or fpcr if value didn't change.
40228         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40229         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
40230         fpcr if value didn't change.
40231         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
40232         to fpsr if value didn't change.
40234 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40236         * nptl/tst-sem3.c: Use test-skeleton.c
40237         (main): Rename to do_test.  Use return instead of
40238         exit.
40239         * nptl/tst-sem4.c: Use test-skeleton.c
40240         (main): Rename to do_test.
40242 2014-04-22  David S. Miller  <davem@davemloft.net>
40244         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
40245         (struct sigaction): New struct member __glibc_reserved0, change
40246         type of sa_flags to int.
40248 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
40250         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
40251         (COUNT_LEADING_ZEROS_0): Define for AArch64.
40253 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40255         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
40256         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
40258 2014-04-22  Will Newton  <will.newton@linaro.org>
40259             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
40261         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
40262         (__longjmp): Add longjmp and longjmp_target SystemTap
40263         probes.
40264         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
40265         (__sigsetjmp): Add setjmp SystemTap probe.
40267 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
40269         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
40270         match manual order.
40272 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40274         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
40276         * sysdeps/powerpc/fpu/fenv_private.h
40277         (libc_feholdexcept_setroundl_ctx): Define to
40278         libc_feholdexcept_setround_ppc_ctx.
40279         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
40280         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
40281         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
40282         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
40284 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40286         * sysdeps/aarch64/math-tests.h: New file.
40288 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
40290         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
40291         New.
40292         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40293         Check and set bit_AVX2_Usable.
40294         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
40295         macro.
40296         (bit_AVX2): Likewise.
40297         (index_AVX2_Usable): Likewise.
40298         (CPUID_AVX2): Likewise.
40299         (HAS_AVX2): Likewise.
40301 2014-04-17  Will Newton  <will.newton@linaro.org>
40303         * manual/setjmp.texi (System V contexts): Add note that
40304         calling setcontext on a context created by a call to a
40305         signal handler is undefined.  Update text to note that
40306         setcontext from a signal handler is possible but not
40307         recommended.
40309         [BZ #16629]
40310         * stdlib/tst-setcontext.c: Include signal.h.
40311         (main): Check that the signal stack before and
40312         after swapcontext is the same.
40314         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
40315         Re-implement to restore registers in user code and avoid
40316         rt_sigreturn system call.
40318 2014-04-17  Wilco  <wdijkstr@arm.com>
40320         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
40321         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
40322         * math/test-fenv.c: Skip exception trap tests on targets which only
40323         support non-stop mode.
40325 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40326             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40328         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
40329         (libc_feholdsetround_aarch64_ctx)
40330         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
40331         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
40332         (libc_feresetround_ctx, libc_feresetroundf_ctx)
40333         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
40334         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
40335         (libc_feresetround_noexl_ctx): Define.
40337 2014-04-16  Richard Henderson  <rth@redhat.com>
40339         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
40341         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
40342         unwind tables.
40344         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
40345         const from the non-libc, non-ldso copy.
40347         * sysdeps/alpha/libm-test-ulps: Regenerate.
40349 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
40350             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40352         * sysdeps/aarch64/fpu/math_private.h: New file.
40354 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40356         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40358 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
40360         [BZ #16275]
40361         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
40362         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
40363         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
40364         Intel MPX bound registers before _dl_profile_fixup.
40365         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
40366         registers after _dl_profile_fixup.  Save and restore bound
40367         registers bnd0/bnd1 when calling _dl_call_pltexit.
40368         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
40369         (LR_BND_OFFSET): Likewise.
40370         (LRV_BND0_OFFSET): Likewise.
40371         (LRV_BND1_OFFSET): Likewise.
40373 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40375         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
40376         to...
40377         * sysdeps/mach/hurd/i386/tls.h: ... here.
40378         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
40379         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
40380         fields.
40382 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40384         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
40386 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40388         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40390 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40392         [BZ #14770]
40393         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40394         * sysdeps/s390/configure: Regenerate.
40396         [BZ #16824]
40397         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40398         Set round-to-nearest internally to reduce error accumulation.
40400 2014-04-16  Alan Modra  <amodra@gmail.com>
40402         [BZ #16740]
40403         [BZ #16619]
40404         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40405         * math/libm-test.inc (frexp_test_data): Add tests.
40406         * NEWS: Update fixed bug list.
40408 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40410         * benchtests/Makefile: Depend on libraries in build directory.
40411         (bench-math): Separate out math tests.
40412         (bench-pthread): Separate out pthread tests.
40413         (bench): Include math and pthread tests.
40415 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
40417         [BZ #16831]
40418         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
40419         _dl_debug_initialize.
40421         * configure.ac: Remove SELinux header check.
40422         * configure: Regenerate.
40423         * nscd/selinux.c (perms): Array of const char* to permission names.
40424         (nscd_request_avc_has_perm): Call security_deny_unknown to find
40425         default policy. Call string_to_security_class and string_to_av_perm to
40426         translate strings. Enforce default policy and call avs_has_perm with
40427         results of translated strings.
40429 2014-04-13  David S. Miller  <davem@davemloft.net>
40431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40433 2014-04-12  Allan McRae  <allan@archlinux.org>
40435         [BZ #16838]
40436         * manual/string.texi (Collation Functions): Fix qsort argument
40437         order in example.
40438         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40440 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
40442         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
40443         Make the test a no-op if there are no exceptions defined.
40445 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
40447         * elf/Makefile (tests): make tst-dlopen-aout conditional on
40448         enable-hardcoded-path-in-tests
40450 2014-04-11  Will Newton  <will.newton@linaro.org>
40452         * benchtests/Makefile (extra-objs): Add json-lib.o.
40453         (bench-func): Tidy up JSON output.
40454         * benchtests/bench-skeleton.c: Include json-lib.h.
40455         (main): Use JSON library functions to do output of
40456         benchmark results.
40457         * benchtests/bench-timing-type.c (main): Output the
40458         timing type simply, leaving formatting to the user.
40459         * benchtests/json-lib.c: New file.
40460         * benchtests/json-lib.h: Likewise.
40462 2014-04-11  Torvald Riegel  <triegel@redhat.com>
40464         [BZ #15215]
40465         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
40466         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
40467         memory barriers.  Add comments.
40468         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
40469         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
40470         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
40471         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40472         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
40473         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
40475 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40477         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
40478         * sysdeps/s390/s390-64/configure.ac: ... this ...
40479         * sysdeps/s390/configure.ac: ... to here.
40480         * sysdeps/s390/s390-32/configure: Delete file.
40481         * sysdeps/s390/s390-64/configure: Delete file.
40482         * sysdeps/s390/configure: Regenerate.
40484 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
40486         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
40488 2014-04-11  Will Newton  <will.newton@linaro.org>
40490         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
40491         to zero if it is not defined elsewhere.  (mtrim): Test
40492         the value of MALLOC_DEBUG with #if rather than #ifdef.
40494 2014-04-10 Torvald Riegel  <triegel@redhat.com>
40496         * benchtests/pthread_once-inputs: New file.
40497         * benchtests/pthread_once-source.c: New file.
40498         * benchtests/README: Update documentation.
40500 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40501             H.J. Lu  <hongjiu.lu@intel.com>
40503         [BZ #16275]
40504         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
40505         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
40506         * sysdeps/x86_64/configure: Regenerated.
40507         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
40508         macro.
40509         (REGISTER_SAVE_RAX): Likewise.
40510         (REGISTER_SAVE_RCX): Likewise.
40511         (REGISTER_SAVE_RDX): Likewise.
40512         (REGISTER_SAVE_RSI): Likewise.
40513         (REGISTER_SAVE_RDI): Likewise.
40514         (REGISTER_SAVE_R8): Likewise.
40515         (REGISTER_SAVE_R9): Likewise.
40516         (REGISTER_SAVE_BND0): Likewise.
40517         (REGISTER_SAVE_BND1): Likewise.
40518         (REGISTER_SAVE_BND2): Likewise.
40519         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
40520         bound registers when calling _dl_fixup.
40522 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40524         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
40525         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
40526         of its definition.
40527         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40528         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
40529         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
40530         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
40531         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
40532         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
40533         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
40535 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
40537         [BZ #15514]
40538         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
40539         pathconf(_PC_NAME_MAX).
40541 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40543         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
40544         Remove macro usage.
40545         (__PTHREAD_SPINS): Move definition to ...
40546         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40547         (__PTHREAD_SPINS): ... here.
40548         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40549         (__PTHREAD_SPIN): Likewise.
40550         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
40551         (__PTHREAD_SPIN): Likewise.
40552         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
40553         (__PTHREAD_SPIN): Likewise.
40554         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
40555         (__PTHREAD_SPIN): Likewise.
40556         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40557         (__PTHREAD_SPIN): Likewise.
40558         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40559         (__PTHREAD_SPIN): Likewise.
40560         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
40561         (__PTHREAD_SPIN): Likewise.
40562         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40563         (__PTHREAD_SPIN): Likewise.
40564         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40565         (__PTHREAD_SPIN): Likewise.
40566         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40567         (__PTHREAD_SPIN): Likewise.
40568         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40569         (__PTHREAD_SPIN): Likewise.
40570         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
40571         (__PTHREAD_SPIN): Likewise.
40573         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
40574         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
40575         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
40576         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
40577         imply folder.
40578         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
40579         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
40580         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
40581         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40582         correct imply path.
40583         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
40584         strlen symbol for non multi-arch builds.
40585         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
40586         missing hidden_def and weak_alias.
40588 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
40590         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
40592 2014-04-07  Will Newton  <will.newton@linaro.org>
40594         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
40595         and contents.  [!_LIBC] Remove #ifndef and contents.
40596         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
40597         * string/memccpy.c (__memccpy): Use ANSI prototype.
40598         * string/memfrob.c (memfrob): Likewise.
40599         * string/strcoll.c (STRCOLL): Likewise.
40600         * string/strlen.c (strlen): Likewise.
40601         * string/strtok.c (STRTOK): Likewise.
40602         * string/strcat.c: Remove unused #include of memcopy.h.
40603         (strcat): Use ANSI prototype.
40604         * string/strchr.c: Remove unused #include of memcopy.h.
40605         (strchr): Use ANSI prototype.
40606         * string/strcmp.c: Remove unused #include of memcopy.h.
40607         (strcmp): Use ANSI prototype.
40608         * string/strcpy.c: Remove unused #include of memcopy.h.
40609         (strcpy): Use ANSI prototype.
40611 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40613         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
40614         * config.make.in (config-extra-cppflags): Set it from
40615         libc_extra_cppflags.
40616         * configure.ac (libc_extra_cflags): Make it accumulate over
40617         configure fragments.
40618         (libc_extra_cppflags): New flag.
40619         * configure. Regenerate.
40620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40621         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
40622         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
40623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
40625         [BZ #16815]
40626         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
40627         result for FE_DOWNWARD rounding mode.
40628         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
40629         Likewise.
40630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40632 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
40634         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
40635         in function argument name.
40637 2014-04-03  David Svoboda  <svoboda@cert.org>
40639         [BZ #5666]
40640         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
40641         explicitly.
40643 2014-04-03  Roland McGrath  <roland@hack.frob.com>
40645         * elf/dl-unmap-segments.h: New file.
40646         * sysdeps/generic/ldsodefs.h
40647         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
40648         * elf/dl-close.c: Include <dl-unmap-segments.h>.
40649         * elf/dl-fptr.c: Likewise.
40650         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
40651         * sysdeps/aarch64/tlsdesc.c: Likewise.
40652         * sysdeps/arm/tlsdesc.c: Likewise.
40653         * sysdeps/i386/tlsdesc.c: Likewise.
40654         * sysdeps/tile/dl-runtime.c: Likewise.
40655         * sysdeps/x86_64/tlsdesc.c: Likewise.
40656         * elf/dl-load.h: New file.
40657         * elf/dl-load.c: Include it.
40658         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
40659         Macros moved to dl-load.h.
40660         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
40661         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
40662         Use _dl_unmap_segments in place of __munmap.
40663         Break out segment-mapping loop into ...
40664         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
40666 2014-04-03  Will Newton  <will.newton@linaro.org>
40668         * elf/dl-lookup.c (do_lookup_x): Remove comment
40669         referring to nested function and move variable
40670         declarations down to before first use.
40672 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
40674         [BZ #16799]
40675         [BZ #16800]
40676         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
40677         with 0 numerator.
40678         * math/s_catanf.c (__catanf): Likewise.
40679         * math/s_catanh.c (__catanh): Likewise.
40680         * math/s_catanhf.c (__catanhf): Likewise.
40681         * math/s_catanhl.c (__catanhl): Likewise.
40682         * math/s_catanl.c (__catanl): Likewise.
40683         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
40684         by positive zero when computing -Inf result.
40685         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
40686         (catanh_test): Likewise.
40687         * sysdeps/i386/fpu/libm-test-ulps: Update.
40688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40690         [BZ #16789]
40691         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
40692         instead of using underflowing value in computing result.
40693         * math/s_clog10.c (__clog10): Likewise.
40694         * math/s_clog10f.c (__clog10f): Likewise.
40695         * math/s_clog10l.c (__clog10l): Likewise.
40696         * math/s_clogf.c (__clogf): Likewise.
40697         * math/s_clogl.c (__clogl): Likewise.
40698         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
40699         (clog10_test): Likewise.
40700         * sysdeps/i386/fpu/libm-test-ulps: Update.
40701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40703 2014-04-02  Alan Modra  <amodra@gmail.com>
40705         [BZ #16739]
40706         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
40707         output when value is near a power of two.  Use int64_t for lx and
40708         remove casts.  Use decimal rather than hex exponent constants.
40709         Don't use long double multiplication when double will suffice.
40710         * math/libm-test.inc (nextafter_test_data): Add tests.
40711         * NEWS: Add 16739 and 16786 to bug list.
40713         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
40715         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
40717 2014-04-01  Will Newton  <will.newton@linaro.org>
40719         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
40720         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
40722 2014-04-01  Florian Weimer  <fweimer@redhat.com>
40724         [BZ #13347]
40725         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
40726         * nptl/tst-setuid2.c: New file.
40727         * nptl/Makefile (xtests): Add tst-setuid2.
40729 2014-04-01  Alan Modra  <amodra@gmail.com>
40731         [BZ #16786]
40732         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
40734 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40736         [BZ #6803]
40737         [BZ #6804]
40738         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
40739         set errno as appropriate.
40740         * math/w_scalbf.c (__scalbf): Likewise.
40741         * math/w_scalbl.c (__scalbl): Likewise.
40742         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
40743         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
40744         * math/libm-test.inc (scalb_test_data): Add errno expectations.
40745         Add more NaN tests.
40747         [BZ #16349]
40748         * math/w_atan2.c: Include <errno.h>.
40749         (__atan2): Set errno for result underflowing to zero.
40750         * math/w_atan2f.c: Include <errno.h>.
40751         (__atan2f): Set errno for result underflowing to zero.
40752         * math/w_atan2l.c: Include <errno.h>.
40753         (__atan2l): Set errno for result underflowing to zero.
40754         * math/auto-libm-test-in: Don't allow missing errno for some atan2
40755         tests.
40756         * math/auto-libm-test-out: Regenerated.
40758 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40760         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40761         Encode instruction correctly in little endian.
40762         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40763         Likewise.
40764         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40765         Likewise.
40766         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40767         Likewise.
40768         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40769         Likewise.
40771 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40773         [BZ #9894]
40774         * sysdeps/unix/sysv/linux/kernel-features.h
40775         [__sparc__ && !__arch64__ && !__sparc_v9__]
40776         (__ASSUME_SET_ROBUST_LIST): Do not define.
40777         [__sparc__ && !__arch64__ && !__sparc_v9__]
40778         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40779         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40780         Likewise.
40781         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40782         (__ASSUME_FUTEX_LOCK_PI): Undefine.
40783         (__ASSUME_REQUEUE_PI): Likewise.
40784         (__ASSUME_SET_ROBUST_LIST): Likewise.
40785         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40786         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40787         Undefine.
40788         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40789         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40790         Likewise.
40791         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40792         Likewise.
40793         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40794         Likewise.
40795         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40796         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40797         Undefine.
40798         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40799         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40800         Likewise.
40802         [BZ #16648]
40803         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40804         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40805         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40807 2014-03-31  Will Newton  <will.newton@linaro.org>
40809         * benchtests/Makefile (bench): Add ffs and ffsll to list
40810         of tests.
40811         * benchtests/ffs-inputs: New file.
40812         * benchtests/ffsll-inputs: Likewise.
40814 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
40816         [BZ #16770]
40817         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40818         too large before casting to int.
40819         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40820         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40821         * math/libm-test.inc (scalb_test_data): Add more tests.
40823 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40825         * benchtests/Makefile (DETAILED_OPT): New make option.
40826         (bench-func): Run benchmark program with -d if DETAILED_OPT is
40827         set.
40828         * benchtests/bench-skeleton.c: Include stdbool.h.
40829         (main): Store and print timings per input.
40830         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40831         member to each argument value.
40832         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40833         (_print_arg_data): Initialize per-input timing to 0.
40835         * benchtests/Makefile (timing-type): New binary.
40836         (bench-clean): Also remove bench-timing-type.
40837         (bench): New target for timing-type.
40838         (bench-func): Print output in JSON format.
40839         * benchtests/bench-skeleton.c (main): Print output in JSON
40840         format.
40841         * benchtests/bench-timing-type.c: New file.
40842         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
40843         (TIMING_PRINT_STATS): Remove.
40844         * benchtests/scripts/bench.py (_print_arg_data): Store variant
40845         name separately.
40847         * benchtests/bench-modf.c: Remove.
40848         * benchtests/modf-inputs: New inputs file.
40850 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
40852         [BZ #16362]
40853         * math/s_clog10.c (M_PI_LOG10E): New macro.
40854         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
40855         imaginary parts are 0.
40856         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
40857         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
40858         imaginary parts are 0.
40859         * math/s_clog10l.c (M_PI_LOG10El): New macro.
40860         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
40861         imaginary parts are 0.
40862         * math/libm-test.inc (clog10_test_data): Update expected results
40863         for when real and imaginary parts are 0.
40865 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
40867         * elf/dl-load.c: Finish conversion of __builtin_expect into
40868         __glibc_{un}likely.
40870 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40872         [BZ #16348]
40873         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40874         1+x for argument with exponent below -67.
40875         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40876         Likewise.
40877         * math/auto-libm-test-in: Add more tests of exp.
40878         * math/auto-libm-test-out: Regenerated.
40880 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40882         [BZ #16759]
40883         * inet/getnetgrent_r.c (get_nonempty_val): New function.
40884         (nscd_getnetgrent): Use it.
40886         [BZ #16760]
40887         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40888         of stpcpy.
40890 2014-03-27  Andi Kleen  <ak@linux.intel.com>
40892         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40893         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40894         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40895         (lll_robust_unlock): Remove out of line section. Use cfi
40896         intrinsics.
40897         (LLL_STUB_UNWIND_INFO*): Remove.
40898         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
40899         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40900         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40901         (lll_robust_unlock): Remove out of line section. Use cfi
40902         intrinsics.
40903         (LLL_STUB_UNWIND_INFO*): Remove.
40905 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40907         [BZ #16758]
40908         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
40909         blank values.
40911 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
40913         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
40915 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
40917         [BZ #16198]
40918         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
40919         fnstenv.
40920         * math/test-fenv-preserve.c: New file.
40921         * math/Makefile (tests): Add test-fenv-preserve.
40923 2014-03-26  Will Newton <will.newton@linaro.org>
40925         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
40927 2014-03-25  Roland McGrath  <roland@hack.frob.com>
40929         * scripts/versionlist.awk: Partition the version sets and emit all
40930         GLIBC_* (sorted) before all others (sorted).
40932 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40934         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
40935         GLIBC_2.2.5 version.
40937 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40939         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
40940         calls.
40942         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
40943         previous change.
40945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40947 2014-03-25  Andreas Schwab  <schwab@suse.de>
40949         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
40950         label to be used after in6ailist is initialized.
40952 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40954         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40955         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40957 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40959         [BZ #16357]
40960         [BZ #16599]
40961         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
40962         min_plus_half.
40963         (fp_formats): Update initializers.
40964         (init_fp_formats): Initialize new field.
40965         (output_for_one_input_case): Allow underflow for results up to
40966         min_plus_half.
40967         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
40968         * math/auto-libm-test-in: Don't mark some underflows from asin and
40969         atanh as spurious.
40970         * math/auto-libm-test-out: Regenerated.
40971         * sysdeps/i386/fpu/libm-test-ulps: Update.
40972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40974 2014-03-25  Andreas Schwab  <schwab@suse.de>
40976         * libio/Makefile (tst-ftell-partial-wide-ENV)
40977         (tst-ftell-active-handler-ENV): Define.
40979 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
40981         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
40983 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40985         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
40987 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40989         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
40990         * sysdeps/x86_64/fpu/multiarch/e_exp.c
40991         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
40993 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40995         [BZ #16634]
40996         * elf/dl-load.c (open_verify): Add mode parameter.
40997         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
40998         (open_path): Change from boolean 'secure' to complete flag 'mode'
40999         (_dl_map_object): Adjust.
41000         * elf/Makefile (tests): Add tst-dlopen-aout.
41001         * elf/tst-dlopen-aout.c: New test.
41003 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
41005         [BZ #16714]
41006         * sysdeps/unix/sysv/linux/s390/bits/stat.h
41007         (struct stat): Rename member pad0 to __glibc_reserved0.
41009         [BZ #16712]
41010         * sysdeps/s390/s390-32/bits/wordsize.h
41011         (__WORDSIZE32_SIZE_ULONG): New define.
41012         * sysdeps/s390/s390-64/bits/wordsize.h
41013         (__WORDSIZE32_SIZE_ULONG): Likewise.
41014         * sysdeps/generic/stdint.h (SIZE_MAX):
41015         Define as UL if __WORDSIZE32_SIZE_ULONG.
41017         [BZ #16713]
41018         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
41019         (__glibc_reserved0): New variable.
41020         (sa_flags): Change type to int.
41022         * posix/Makefile (before-compile): Use += before-compile instead
41023         of a :=.
41025         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41026         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41028 2014-03-20  Andreas Schwab  <schwab@suse.de>
41030         [BZ #16743]
41031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
41032         non-matching result from nscd.
41034 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41036         * scripts/bench.py: Moved to ...
41037         * benchtests/scripts/bench.py: ... here.
41038         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
41040 2014-03-24  Andreas Schwab  <schwab@suse.de>
41042         [BZ #16002]
41043         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
41044         alloca_account and account alloca use for struct in6ailist.
41046 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41048         [BZ #16284]
41049         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
41050         rounding mode to recompute results that overflow to infinity or
41051         underflow to zero.
41052         * math/auto-libm-test-in: Don't mark tests as expected to fail for
41053         bug 16284.
41054         * math/auto-libm-test-out: Regenerated.
41055         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
41056         (ccosh_test): Likewise.
41057         (csin_test_data): Use plus_oflow.
41058         (csin_test): Use ALL_RM_TEST.
41059         (csinh_test_data): Use plus_oflow.
41060         (csinh_test): Use ALL_RM_TEST.
41061         * sysdeps/i386/fpu/libm-test-ulps: Update.
41062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41064 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
41066         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
41067         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
41068         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
41070         [BZ #16731]
41071         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
41072         when x - 1 is zero.
41073         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
41074         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
41075         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41076         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
41077         argument is 1.
41078         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
41079         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
41080         zero.
41081         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
41082         * sysdeps/i386/fpu/libm-test-ulps: Update.
41083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41085 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41087         * scripts/bench.pl: Remove file.
41088         * scripts/bench.py: New benchmark script.
41089         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
41090         * benchtests/README: Mention python dependency.
41091         * scripts/pylintrc: New file.
41092         * scripts/pylint: New file.
41094         * bits/mathdef.h: Use #ifdef instead of #if.
41095         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
41096         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41097         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
41098         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41099         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
41100         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41102 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41103             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41105         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
41106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
41107         and strpbrk-ppc64 objects.
41108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41109         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
41110         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
41111         multiarch strpbrk for POWER7.
41112         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
41113         multiarch strpbrk for PPC64.
41114         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
41115         ifunc selector.
41116         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
41117         strpbrk for POWER7.
41119 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41121         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
41122         (atan_test): Likewise.
41123         (atanh_test_data): Use NO_TEST_INLINE for two tests.
41124         (atanh_test): Use ALL_RM_TEST.
41125         (atan2_test_data): Likewise.
41126         (cabs_test): Likewise.
41127         (cacosh_test): Likewise.
41128         (carg_test): Likewise.
41129         (casin_test): Likewise.
41130         (casinh_test): Likewise.
41131         (cbrt_test): Likewise.
41132         (csqrt_test): Likewise.
41133         (erf_test): Likewise.
41134         (erfc_test): Likewise.
41135         (pow10_test): Likewise.
41136         (exp2_test): Likewise.
41137         (hypot_test): Likewise.
41138         (j0_test): Likewise.
41139         (j1_test): Likewise.
41140         (lgamma_test): Likewise.
41141         (gamma_test): Likewise.
41142         (sincos_test): Likewise.
41143         (tanh_test): Likewise.
41144         (y0_test): Likewise.
41145         (y1_test): Likewise.
41146         * sysdeps/i386/fpu/libm-test-ulps: Update.
41147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41149 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41151         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
41152         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
41153         and strcspn-ppc64 objects.
41154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41155         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
41156         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
41157         multiarch strcspn for POWER7.
41158         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
41159         multiarch strcspn for PPC64.
41160         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
41161         ifunc selector.
41162         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
41163         strcspn for POWER7.
41165 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41167         * math/gen-libm-test.pl (generate_testfile): Expect only function
41168         name as argument to AUTO_TESTS_* and pass results for all rounding
41169         modes to parse_args.
41170         (parse_auto_input): Separate inputs of automatic tests from
41171         outputs before storing in %auto_tests.
41172         * math/libm-test.inc (acos_test_data): Update call to
41173         AUTO_TESTS_f_f.
41174         (acos_test): Use ALL_RM_TEST.
41175         (acos_tonearest_test_data): Remove.
41176         (acos_test_tonearest): Likewise.
41177         (acos_towardzero_test_data): Likewise.
41178         (acos_test_towardzero): Likewise.
41179         (acos_downward_test_data): Likewise.
41180         (acos_test_downward): Likewise.
41181         (acos_upward_test_data): Likewise.
41182         (acos_test_upward): Likewise.
41183         (acosh_test_data): Update call to AUTO_TESTS_f_f.
41184         (asin_test_data): Likewise.
41185         (asin_test): Use ALL_RM_TEST.
41186         (asin_tonearest_test_data): Remove.
41187         (asin_test_tonearest): Likewise.
41188         (asin_towardzero_test_data): Likewise.
41189         (asin_test_towardzero): Likewise.
41190         (asin_downward_test_data): Likewise.
41191         (asin_test_downward): Likewise.
41192         (asin_upward_test_data): Likewise.
41193         (asin_test_upward): Likewise.
41194         (asinh_test_data): Update call to AUTO_TESTS_f_f.
41195         (atan_test_data): Likewise.
41196         (atanh_test_data): Likewise.
41197         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
41198         (cabs_test_data): Update call to AUTO_TESTS_c_f.
41199         (carg_test_data): Likewise.
41200         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
41201         (ccos_test_data): Update call to AUTO_TESTS_c_c.
41202         (ccosh_test_data): Likewise.
41203         (cexp_test_data): Likewise.
41204         (clog_test_data): Likewise.
41205         (clog10_test_data): Likewise.
41206         (cos_test_data): Update call to AUTO_TESTS_f_f.
41207         (cos_test): Use ALL_RM_TEST.
41208         (cos_tonearest_test_data): Remove.
41209         (cos_test_tonearest): Likewise.
41210         (cos_towardzero_test_data): Likewise.
41211         (cos_test_towardzero): Likewise.
41212         (cos_downward_test_data): Likewise.
41213         (cos_test_downward): Likewise.
41214         (cos_upward_test_data): Likewise.
41215         (cos_test_upward): Likewise.
41216         (cosh_test_data): Update call to AUTO_TESTS_f_f.
41217         (cosh_test): Use ALL_RM_TEST.
41218         (cosh_tonearest_test_data): Remove.
41219         (cosh_test_tonearest): Likewise.
41220         (cosh_towardzero_test_data): Likewise.
41221         (cosh_test_towardzero): Likewise.
41222         (cosh_downward_test_data): Likewise.
41223         (cosh_test_downward): Likewise.
41224         (cosh_upward_test_data): Likewise.
41225         (cosh_test_upward): Likewise.
41226         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
41227         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
41228         (ctan_test_data): Likewise.
41229         (ctan_test): Use ALL_RM_TEST.
41230         (ctan_tonearest_test_data): Remove.
41231         (ctan_test_tonearest): Likewise.
41232         (ctan_towardzero_test_data): Likewise.
41233         (ctan_test_towardzero): Likewise.
41234         (ctan_downward_test_data): Likewise.
41235         (ctan_test_downward): Likewise.
41236         (ctan_upward_test_data): Likewise.
41237         (ctan_test_upward): Likewise.
41238         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
41239         (ctanh_test): Use ALL_RM_TEST.
41240         (ctanh_tonearest_test_data): Remove.
41241         (ctanh_test_tonearest): Likewise.
41242         (ctanh_towardzero_test_data): Likewise.
41243         (ctanh_test_towardzero): Likewise.
41244         (ctanh_downward_test_data): Likewise.
41245         (ctanh_test_downward): Likewise.
41246         (ctanh_upward_test_data): Likewise.
41247         (ctanh_test_upward): Likewise.
41248         (erf_test_data): Update call to AUTO_TESTS_f_f.
41249         (erfc_test_data): Likewise.
41250         (exp_test_data): Likewise.
41251         (exp_test): Use ALL_RM_TEST.
41252         (exp_tonearest_test_data): Remove.
41253         (exp_test_tonearest): Likewise.
41254         (exp_towardzero_test_data): Likewise.
41255         (exp_test_towardzero): Likewise.
41256         (exp_downward_test_data): Likewise.
41257         (exp_test_downward): Likewise.
41258         (exp_upward_test_data): Likewise.
41259         (exp_test_upward): Likewise.
41260         (exp10_test_data): Update call to AUTO_TESTS_f_f.
41261         (exp10_test): Use ALL_RM_TEST.
41262         (exp10_tonearest_test_data): Remove.
41263         (exp10_test_tonearest): Likewise.
41264         (exp10_towardzero_test_data): Likewise.
41265         (exp10_test_towardzero): Likewise.
41266         (exp10_downward_test_data): Likewise.
41267         (exp10_test_downward): Likewise.
41268         (exp10_upward_test_data): Likewise.
41269         (exp10_test_upward): Likewise.
41270         (exp2_test_data): Update call to AUTO_TESTS_f_f.
41271         (expm1_test_data): Likewise.
41272         (expm1_test): Use ALL_RM_TEST.
41273         (expm1_tonearest_test_data): Remove.
41274         (expm1_test_tonearest): Likewise.
41275         (expm1_towardzero_test_data): Likewise.
41276         (expm1_test_towardzero): Likewise.
41277         (expm1_downward_test_data): Likewise.
41278         (expm1_test_downward): Likewise.
41279         (expm1_upward_test_data): Likewise.
41280         (expm1_test_upward): Likewise.
41281         (fma_test_data): Update call to AUTO_TESTS_fff_f.
41282         (fma_test): Use ALL_RM_TEST.
41283         (fma_towardzero_test_data): Remove.
41284         (fma_test_towardzero): Likewise.
41285         (fma_downward_test_data): Likewise.
41286         (fma_test_downward): Likewise.
41287         (fma_upward_test_data): Likewise.
41288         (fma_test_upward): Likewise.
41289         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
41290         (j0_test_data): Update call to AUTO_TESTS_f_f.
41291         (j1_test_data): Likewise.
41292         (jn_test_data): Update call to AUTO_TESTS_if_f.
41293         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
41294         (log_test_data): Update call to AUTO_TESTS_f_f.
41295         (log10_test_data): Likewise.
41296         (log1p_test_data): Likewise.
41297         (log2_test_data): Likewise.
41298         (pow_test_data): Update call to AUTO_TESTS_ff_f.
41299         (pow_tonearest_test_data): Likewise.
41300         (sin_test_data): Update call to AUTO_TESTS_f_f.
41301         (sin_test): Use ALL_RM_TEST.
41302         (sin_tonearest_test_data): Remove.
41303         (sin_test_tonearest): Likewise.
41304         (sin_towardzero_test_data): Likewise.
41305         (sin_test_towardzero): Likewise.
41306         (sin_downward_test_data): Likewise.
41307         (sin_test_downward): Likewise.
41308         (sin_upward_test_data): Likewise.
41309         (sin_test_upward): Likewise.
41310         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
41311         (sinh_test_data): Update call to AUTO_TESTS_f_f.
41312         (sinh_test): Use ALL_RM_TEST.
41313         (sinh_tonearest_test_data): Remove.
41314         (sinh_test_tonearest): Likewise.
41315         (sinh_towardzero_test_data): Likewise.
41316         (sinh_test_towardzero): Likewise.
41317         (sinh_downward_test_data): Likewise.
41318         (sinh_test_downward): Likewise.
41319         (sinh_upward_test_data): Likewise.
41320         (sinh_test_upward): Likewise.
41321         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
41322         (sqrt_test): Use ALL_RM_TEST.
41323         (sqrt_tonearest_test_data): Remove.
41324         (sqrt_test_tonearest): Likewise.
41325         (sqrt_towardzero_test_data): Likewise.
41326         (sqrt_test_towardzero): Likewise.
41327         (sqrt_downward_test_data): Likewise.
41328         (sqrt_test_downward): Likewise.
41329         (sqrt_upward_test_data): Likewise.
41330         (sqrt_test_upward): Likewise.
41331         (tan_test_data): Update call to AUTO_TESTS_f_f.
41332         (tan_test): Use ALL_RM_TEST.
41333         (tan_tonearest_test_data): Remove.
41334         (tan_test_tonearest): Likewise.
41335         (tan_towardzero_test_data): Likewise.
41336         (tan_test_towardzero): Likewise.
41337         (tan_downward_test_data): Likewise.
41338         (tan_test_downward): Likewise.
41339         (tan_upward_test_data): Likewise.
41340         (tan_test_upward): Likewise.
41341         (tanh_test_data): Update call to AUTO_TESTS_f_f.
41342         (tgamma_test_data): Likewise.
41343         (y0_test_data): Likewise.
41344         (y1_test_data): Likewise.
41345         (yn_test_data): Update call to AUTO_TESTS_if_f.
41346         (main): Do not call removed functions.
41348 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41350         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
41351         (ldexp_test_data): Remove.
41352         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
41353         scalbn_test_data.
41354         (scalb_test): Use ALL_RM_TEST.
41356 2014-03-19  Andreas Schwab  <schwab@suse.de>
41358         * nscd/nscd.service: Also invalidate netgroup cache on reload.
41360 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41362         [BZ #16649]
41363         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41364         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
41365         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
41366         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41367         (__ASSUME_PREADV): Undefine.
41368         (__ASSUME_PWRITEV): Likewise.
41370 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41372         * bits/mman-linux.h: Add comment about non-Linux use.
41373         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
41374         bits/mman-linux.h resting place.
41376         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
41377         * bits/mman-linux.h: ... here.
41379 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41381         * conform/conformtest.pl: Add standard definition when calling C
41382         preprocessor on data files.
41383         (checknamespace): Remove unused variable.
41385 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41387         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
41388         minus_oflow, plus_uflow and minus_uflow in expected results.
41389         * math/libm-test.inc (scalbn_test_data): Add more tests of
41390         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
41391         minus_uflow.
41392         (scalbn_test): Use ALL_RM_TEST.
41393         (scalbln_test_data): Add more tests of negative arguments.  Use
41394         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41395         (scalbln_test): Use ALL_RM_TEST.
41397 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41399         * scripts/abilist.awk: Ignore symbols marked with .hidden.
41401 2014-03-18  Will Newton  <will.newton@linaro.org>
41403         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41404         inaccurate comment.
41406 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41408         * Makerules [!subdir] (check-abi): Exit with error status if a
41409         test failed.
41411 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41413         * math/libm-test.inc (nearbyint_test_data): Include all tests used
41414         for rint.  Include results for all rounding modes.
41415         (nearbyint_test): Use ALL_RM_TEST.
41416         (rint_test_data): Include all tests used for nearbyint.
41418 2014-03-17  Will Newton  <will.newton@linaro.org>
41420         * nptl/sysdeps/pthread/pthread.h: Revert previous
41421         change.
41423         * sysdeps/generic/ldsodefs.h: Revert previous
41424         change.
41426         * libio/genops.c: Revert previous change.
41427         * libio/libioP.h: Likewise.
41428         * stdio-common/vfprintf.c: Likewise.
41430         * sysdeps/generic/math_private.h: Revert previous
41431         change.
41433         * sysdeps/generic/math_private.h: Check whether
41434         HAVE_RM_CTX is defined with #ifdef rather
41435         than #if.
41437         * argp/argp-fmtstream.h: Check whether
41438         __STRICT_ANSI__ is defined with #ifdef rather
41439         than #if.
41440         * argp/argp.h: Likewise.
41442         * libio/genops.c: Check whether
41443         _IO_JUMPS_OFFSET is defined with #ifdef rather
41444         than #if.
41445         * libio/libioP.h: Likewise.
41446         * stdio-common/vfprintf.c: Likewise.
41448         * sysdeps/generic/ldsodefs.h: Check whether
41449         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
41450         than #if.
41452         * nptl/sysdeps/pthread/pthread.h: Check
41453         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
41454         its value.
41456 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41458         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
41459         setting O_APPEND.
41460         * libio/tst-ftell-active-handler.c (do_append_test): Add a
41461         test case.
41463         [BZ #16680]
41464         * libio/fileops.c (_IO_file_open): Seek to end of file but
41465         don't cache the offset.
41466         (get_file_offset): Remove function.
41467         (do_ftell): Use cached offset when available.
41468         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
41469         don't cache the offset.
41470         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
41471         case.
41472         (do_one_test): Call it.
41473         (do_ftell_test): Fix up expected old offset for a+ mode.
41474         * libio/wfileops.c (do_ftell_wide): Used cached offset when
41475         available.
41477         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
41478         up test status with function return status.
41479         (do_write_test): Likewise.
41480         (do_append_test): Likewise.
41482         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
41483         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
41484         Remove.
41486 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41488         * math/gen-libm-test.pl (parse_args): Handle results specified for
41489         each rounding mode separately.
41490         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
41491         tests and results from lrint_tonearest_test_data,
41492         lrint_towardzero_test_data, lrint_downward_test_data and
41493         lrint_upward_test_data.
41494         (lrint_test): Use ALL_RM_TEST.
41495         (lrint_tonearest_test_data): Remove.
41496         (lrint_test_tonearest): Likewise.
41497         (lrint_towardzero_test_data): Likewise.
41498         (lrint_test_towardzero): Likewise.
41499         (lrint_downward_test_data): Likewise.
41500         (lrint_test_downward): Likewise.
41501         (lrint_upward_test_data): Likewise.
41502         (lrint_test_upward): Likewise.
41503         (llrint_test_data): Merge in per-rounding-mode tests and results
41504         from llrint_tonearest_test_data, llrint_towardzero_test_data,
41505         llrint_downward_test_data and llrint_upward_test_data.
41506         (llrint_test): Use ALL_RM_TEST.
41507         (llrint_tonearest_test_data): Remove.
41508         (llrint_test_tonearest): Likewise.
41509         (llrint_towardzero_test_data): Likewise.
41510         (llrint_test_towardzero): Likewise.
41511         (llrint_downward_test_data): Likewise.
41512         (llrint_test_downward): Likewise.
41513         (llrint_upward_test_data): Likewise.
41514         (llrint_test_upward): Likewise.
41515         (rint_test_data): Merge in per-rounding-mode tests and results
41516         from rint_tonearest_test_data, rint_towardzero_test_data,
41517         rint_downward_test_data and rint_upward_test_data.  Add
41518         per-rounding-mode results for tests not in those arrays.
41519         (rint_test): Use ALL_RM_TEST.
41520         (rint_tonearest_test_data): Remove.
41521         (rint_test_tonearest): Likewise.
41522         (rint_towardzero_test_data): Likewise.
41523         (rint_test_towardzero): Likewise.
41524         (rint_downward_test_data): Likewise.
41525         (rint_test_downward): Likewise.
41526         (rint_upward_test_data): Likewise.
41527         (rint_test_upward): Likewise.
41528         (main): Don't call removed functions.
41530 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41532         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
41533         "Compiled on ..." crapola.  It is anti-useful.
41535 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
41537         * scripts/evaluate-test.sh: Handle fourth argument to determine
41538         whether test run should stop on failure.
41539         * Makeconfig (stop-on-test-failure): New variable.
41540         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
41541         $(stop-on-test-failure).
41542         * Makefile (tests): Give a summary of results from testing and
41543         exit with failure status if they include an ERROR or FAIL.
41544         (xtests): Likewise.
41545         * manual/install.texi (Configuring and compiling): Mention
41546         stop-on-test-failure=y.
41547         * INSTALL: Regenerated.
41549 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41551         * scripts/versionlist.awk: New file.
41552         * Makerules [$(build-shared) = yes]
41553         (postclean-generated): Add Versions.def, not Versions.def.v and
41554         Versions.def.v.i.
41555         ($(common-objpfx)Versions.def.v.i): Target removed.
41556         ($(common-objpfx)Versions.def): New target.
41557         ($(common-objpfx)Versions.all): Depend on that rather that
41558         $(common-objpfx)Versions.def.v.
41559         * Versions.def: File removed.
41561         * Makeconfig (+gccwarn): Add -Wundef.
41562         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
41563         a dl-sysdep.h breaking its contract.
41564         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
41565         * include/stackinfo.h: New file.
41566         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
41567         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
41568         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
41569         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
41570         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
41571         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
41572         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41573         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41574         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41575         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41576         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41577         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
41578         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41579         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41580         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41582 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41584         [BZ #16707]
41585         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
41586         implementation.
41587         * math/libm-test.inc (round_test_data): Add more tests.
41589         [BZ #16706]
41590         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
41591         implementation.
41592         * math/libm-test.inc (nearbyint_test_data): Add more tests.
41594         [BZ #16701]
41595         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
41596         implementation.
41597         * math/libm-test.inc (ceil_test_data): Add more tests.
41599         * math/libm-test.inc (trunc_test_data): Add more tests related to
41600         BZ#16414.
41602 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41604         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
41605         with #if rather than #ifdef.
41606         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
41608 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
41610         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
41611         first.  Disable AVX-512 GCC support if assembler doesn't support
41612         it.
41613         * sysdeps/x86_64/configure: Regenerated.
41615 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
41617         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
41618         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
41619         (__old_pthread_attr_setstack): Likewise.
41620         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
41621         [!_STACK_GROWS_DOWN]: Likewise.
41623 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
41625         * config.make.in (have-bash2): Delete.
41626         * configure.ac (libc_cv_have_bash2): Delete.
41627         * configure: Regenerate.
41628         * elf/Makefile (common-ldd-rewrite): Rename to ...
41629         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
41630         (sh-ldd-rewrite): Delete.
41631         (bash-ldd-rewrite): Delete.
41632         (have-bash2): Delete checks.
41633         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
41634         ldd-rewrite.
41636         * config.make.in (have-ksh): Delete.
41637         (KSH): Delete.
41638         * configure.ac (libc_cv_have_ksh): Delete.
41639         * configure: Regenerate.
41641         * elf/Makefile: Delete $(have-ksh) check.
41642         ($(objpfx)sotruss): Change KSH to BASH.
41643         * elf/sotruss.ksh: Rename to ...
41644         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
41645         function style to match POSIX.  Drop ksh vim mode setting.
41647         * manual/time.texi (Specifying the Time Zone with TZ): Change
41648         Tuesday to Thursday.
41650         * debug/tst-longjmp_chk2.c: Update header comment.
41651         (stackoverflow_handler): Add comment.  Call assert on pass value.
41653 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
41655         [BZ #16194]
41656         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
41657         (HAVE_AVX512_ASM_SUPPORT): Likewise.
41658         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
41659         (La_x86_64_vector): Add zmm.
41660         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
41661         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
41662         ($(objpfx)tst-audit10): New target.
41663         ($(objpfx)tst-audit10.out): Likewise.
41664         (tst-audit10-ENV): New.
41665         (AVX512-CFLAGS): Likewise.
41666         (CFLAGS-tst-audit10.c): Likewise.
41667         (CFLAGS-tst-auditmod10a.c): Likewise.
41668         (CFLAGS-tst-auditmod10b.c): Likewise.
41669         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
41670         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
41671         * sysdeps/x86_64/configure: Regenerated.
41672         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
41673         AVX-512 zmm register support.
41674         (_dl_x86_64_save_sse): Likewise.
41675         (_dl_x86_64_restore_sse): Likewise.
41676         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
41677         size vector registers.
41678         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
41679         (ZMM_SIZE): Likewise.
41680         * sysdeps/x86_64/tst-audit10.c: New file.
41681         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
41682         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
41684 2014-03-13  Roland McGrath  <roland@hack.frob.com>
41686         * configure.ac (HAVE_EHDR_START): New check.
41687         * configure: Regenerated.
41688         * config.h.in (HAVE_EHDR_START): New #undef.
41689         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
41690         assuming the lowest-addressed segment maps the start of the file.
41692 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
41694         * INSTALL: Regenerated.
41696 2014-03-13  Will Newton  <will.newton@linaro.org>
41698         * manual/setjmp.texi (System V contexts): Improve
41699         clarity and grammar of documentation.
41701 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
41703         [BZ #16381]
41704         * elf/Makefile (tests): Add tst-pie2.
41705         (tests-pie): Add tst-pie2.
41706         * elf/tst-pie2.c: New file.
41707         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
41708         for ET_EXEC.
41709         * elf/rtld.c (map_doit): Load executable as lt_executable.
41710         (dl_main): Likewise.
41712 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
41714         [BZ #16642]
41715         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41716         (__ASSUME_PSELECT): Undefine.
41718 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41720         [BZ #16689]
41721         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
41722         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
41723         static build.
41724         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
41725         selector for static builds.
41727 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41729         [BZ #16695]
41730         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
41731         key in the buffer.
41733 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41735         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
41736         IFUNC selector for static builds.
41738 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
41740         * sysdeps/mips/math_private.h [__mips_hard_float]
41741         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
41742         libc_feresetround_mips_ctx.
41743         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
41744         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
41745         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
41747         [BZ #16677]
41748         * math/s_nextafter.c (__nextafter): Do not return value from
41749         overflowing computation.
41750         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
41751         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
41752         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
41753         Likewise.
41754         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
41755         Likewise.
41756         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
41757         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
41759 2014-03-11  Roland McGrath  <roland@hack.frob.com>
41761         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
41762         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
41763         Move sfi_sp use from the load-multiple (that no longer sets sp) to
41764         the new mov targetting sp.
41766 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41768         [BZ #16683]
41769         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41770         Define it for static builds as well.
41771         (NO_BZERO_IMPL): Likewise.
41773 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41775         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41776         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41777         multiarch strspn for PPC64.
41778         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41779         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41781         (__libc_ifunc_impl_list): Likewise.
41782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41783         multiarch optimizations
41784         * string/strspn.c (strspn): Using macro to redefine symbol name.
41786 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41787             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41789         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41790         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41791         multiarch strncat for PPC64.
41792         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41793         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41795         (__libc_ifunc_impl_list): Likewise.
41796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41797         multiarch optimizations
41799 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41801         [BZ #16639]
41802         * nscd/nscd.service: Make service type forking.
41804 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41806         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41807         sign in non default rounding modes.
41808         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41810 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
41812         * math/libm-test.inc (ALL_RM_TEST): New macro.
41813         (ceil_test): Use ALL_RM_TEST.
41814         (cimag_test): Likewise.
41815         (conj_test): Likewise.
41816         (copysign_test): Likewise.
41817         (cproj_test): Likewise.
41818         (creal_test): Likewise.
41819         (fabs_test): Likewise.
41820         (floor_test): Likewise.
41821         (fmax_test): Likewise.
41822         (fmin_test): Likewise.
41823         (fmod_test): Likewise.
41824         (fpclassify_test): Likewise.
41825         (frexp_test): Likewise.
41826         (ilogb_test): Likewise.
41827         (isfinite_test): Likewise.
41828         (finite_test): Likewise.
41829         (isgreater_test): Likewise.
41830         (isgreaterequal_test): Likewise.
41831         (isinf_test): Likewise.
41832         (isless_test): Likewise.
41833         (islessequal_test): Likewise.
41834         (islessgreater_test): Likewise.
41835         (isnan_test): Likewise.
41836         (isnormal_test): Likewise.
41837         (issignaling_test): Likewise.
41838         (isunordered_test): Likewise.
41839         (logb_test): Likewise.
41840         (logb_downward_test_data): Remove.
41841         (logb_test_downward): Likewise.
41842         (lround_test): Use ALL_RM_TEST.
41843         (llround_test): Likewise.
41844         (modf_test): Likewise.
41845         (nexttoward_test): Likewise.
41846         (remainder_test): Likewise.
41847         (drem_test): Likewise.
41848         (remainder_tonearest_test_data): Likewise.
41849         (remainder_test_tonearest): Likewise.
41850         (drem_test_tonearest): Likewise.
41851         (remainder_towardzero_test_data): Likewise.
41852         (remainder_test_towardzero): Likewise.
41853         (drem_test_towardzero): Likewise.
41854         (remainder_downward_test_data): Likewise.
41855         (remainder_test_downward): Likewise.
41856         (drem_test_downward): Likewise.
41857         (remainder_upward_test_data): Likewise.
41858         (remainder_test_upward): Likewise.
41859         (drem_test_upward): Likewise.
41860         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
41861         (round_test): Use ALL_RM_TEST.
41862         (signbit_test): Likewise.
41863         (trunc_test): Likewise.
41864         (significand_test): Likewise.
41865         (main): Don't call removed functions.
41867 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41869         [BZ #16674]
41870         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41871         || __USE_XOPEN2K8].
41872         (ILL_ILLOPN): Likewise.
41873         (ILL_ILLADR): Likewise.
41874         (ILL_ILLTRP): Likewise.
41875         (ILL_PRVOPC): Likewise.
41876         (ILL_PRVREG): Likewise.
41877         (ILL_COPROC): Likewise.
41878         (ILL_BADSTK): Likewise.
41879         (FPE_INTDIV): Likewise.
41880         (FPE_INTOVF): Likewise.
41881         (FPE_FLTDIV): Likewise.
41882         (FPE_FLTOVF): Likewise.
41883         (FPE_FLTUND): Likewise.
41884         (FPE_FLTRES): Likewise.
41885         (FPE_FLTINV): Likewise.
41886         (FPE_FLTSUB): Likewise.
41887         (SEGV_MAPERR): Likewise.
41888         (SEGV_ACCERR): Likewise.
41889         (BUS_ADRALN): Likewise.
41890         (BUS_ADRERR): Likewise.
41891         (BUS_OBJERR): Likewise.
41892         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41893         (TRAP_TRACE): Likewise.
41894         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41895         __USE_XOPEN2K8].
41896         (CLD_KILLED): Likewise.
41897         (CLD_DUMPED): Likewise.
41898         (CLD_TRAPPED): Likewise.
41899         (CLD_STOPPED): Likewise.
41900         (CLD_CONTINUED): Likewise.
41901         (POLL_IN): Likewise.
41902         (POLL_OUT): Likewise.
41903         (POLL_MSG): Likewise.
41904         (POLL_ERR): Likewise.
41905         (POLL_PRI): Likewise.
41906         (POLL_HUP): Likewise.
41907         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
41908         Likewise.
41909         (ILL_ILLOPN): Likewise.
41910         (ILL_ILLADR): Likewise.
41911         (ILL_ILLTRP): Likewise.
41912         (ILL_PRVOPC): Likewise.
41913         (ILL_PRVREG): Likewise.
41914         (ILL_COPROC): Likewise.
41915         (ILL_BADSTK): Likewise.
41916         (FPE_INTDIV): Likewise.
41917         (FPE_INTOVF): Likewise.
41918         (FPE_FLTDIV): Likewise.
41919         (FPE_FLTOVF): Likewise.
41920         (FPE_FLTUND): Likewise.
41921         (FPE_FLTRES): Likewise.
41922         (FPE_FLTINV): Likewise.
41923         (FPE_FLTSUB): Likewise.
41924         (SEGV_MAPERR): Likewise.
41925         (SEGV_ACCERR): Likewise.
41926         (BUS_ADRALN): Likewise.
41927         (BUS_ADRERR): Likewise.
41928         (BUS_OBJERR): Likewise.
41929         (BUS_MCEERR_AR): Likewise.
41930         (BUS_MCEERR_AO): Likewise.
41931         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41932         (TRAP_TRACE): Likewise.
41933         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41934         __USE_XOPEN2K8].
41935         (CLD_KILLED): Likewise.
41936         (CLD_DUMPED): Likewise.
41937         (CLD_TRAPPED): Likewise.
41938         (CLD_STOPPED): Likewise.
41939         (CLD_CONTINUED): Likewise.
41940         (POLL_IN): Likewise.
41941         (POLL_OUT): Likewise.
41942         (POLL_MSG): Likewise.
41943         (POLL_ERR): Likewise.
41944         (POLL_PRI): Likewise.
41945         (POLL_HUP): Likewise.
41946         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
41947         (ILL_ILLOPN): Likewise.
41948         (ILL_ILLADR): Likewise.
41949         (ILL_ILLTRP): Likewise.
41950         (ILL_PRVOPC): Likewise.
41951         (ILL_PRVREG): Likewise.
41952         (ILL_COPROC): Likewise.
41953         (ILL_BADSTK): Likewise.
41954         (FPE_INTDIV): Likewise.
41955         (FPE_INTOVF): Likewise.
41956         (FPE_FLTDIV): Likewise.
41957         (FPE_FLTOVF): Likewise.
41958         (FPE_FLTUND): Likewise.
41959         (FPE_FLTRES): Likewise.
41960         (FPE_FLTINV): Likewise.
41961         (FPE_FLTSUB): Likewise.
41962         (SEGV_MAPERR): Likewise.
41963         (SEGV_ACCERR): Likewise.
41964         (BUS_ADRALN): Likewise.
41965         (BUS_ADRERR): Likewise.
41966         (BUS_OBJERR): Likewise.
41967         (BUS_MCEERR_AR): Likewise.
41968         (BUS_MCEERR_AO): Likewise.
41969         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41970         (TRAP_TRACE): Likewise.
41971         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41972         __USE_XOPEN2K8].
41973         (CLD_KILLED): Likewise.
41974         (CLD_DUMPED): Likewise.
41975         (CLD_TRAPPED): Likewise.
41976         (CLD_STOPPED): Likewise.
41977         (CLD_CONTINUED): Likewise.
41978         (POLL_IN): Likewise.
41979         (POLL_OUT): Likewise.
41980         (POLL_MSG): Likewise.
41981         (POLL_ERR): Likewise.
41982         (POLL_PRI): Likewise.
41983         (POLL_HUP): Likewise.
41984         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
41985         Likewise.
41986         (ILL_ILLOPN): Likewise.
41987         (ILL_ILLADR): Likewise.
41988         (ILL_ILLTRP): Likewise.
41989         (ILL_PRVOPC): Likewise.
41990         (ILL_PRVREG): Likewise.
41991         (ILL_COPROC): Likewise.
41992         (ILL_BADSTK): Likewise.
41993         (ILL_BADIADDR): Likewise.
41994         (ILL_BREAK): Likewise.
41995         (FPE_INTDIV): Likewise.
41996         (FPE_INTOVF): Likewise.
41997         (FPE_FLTDIV): Likewise.
41998         (FPE_FLTOVF): Likewise.
41999         (FPE_FLTUND): Likewise.
42000         (FPE_FLTRES): Likewise.
42001         (FPE_FLTINV): Likewise.
42002         (FPE_FLTSUB): Likewise.
42003         (FPE_DECOVF): Likewise.
42004         (FPE_DECDIV): Likewise.
42005         (FPE_DECERR): Likewise.
42006         (FPE_INVASC): Likewise.
42007         (FPE_INVDEC): Likewise.
42008         (SEGV_MAPERR): Likewise.
42009         (SEGV_ACCERR): Likewise.
42010         (SEGV_PSTKOVF): Likewise.
42011         (BUS_ADRALN): Likewise.
42012         (BUS_ADRERR): Likewise.
42013         (BUS_OBJERR): Likewise.
42014         (BUS_MCEERR_AR): Likewise.
42015         (BUS_MCEERR_AO): Likewise.
42016         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42017         (TRAP_TRACE): Likewise.
42018         (TRAP_BRANCH): Likewise.
42019         (TRAP_HWBKPT): Likewise.
42020         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42021         __USE_XOPEN2K8].
42022         (CLD_KILLED): Likewise.
42023         (CLD_DUMPED): Likewise.
42024         (CLD_TRAPPED): Likewise.
42025         (CLD_STOPPED): Likewise.
42026         (CLD_CONTINUED): Likewise.
42027         (POLL_IN): Likewise.
42028         (POLL_OUT): Likewise.
42029         (POLL_MSG): Likewise.
42030         (POLL_ERR): Likewise.
42031         (POLL_PRI): Likewise.
42032         (POLL_HUP): Likewise.
42033         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
42034         (ILL_ILLOPN): Likewise.
42035         (ILL_ILLADR): Likewise.
42036         (ILL_ILLTRP): Likewise.
42037         (ILL_PRVOPC): Likewise.
42038         (ILL_PRVREG): Likewise.
42039         (ILL_COPROC): Likewise.
42040         (ILL_BADSTK): Likewise.
42041         (FPE_INTDIV): Likewise.
42042         (FPE_INTOVF): Likewise.
42043         (FPE_FLTDIV): Likewise.
42044         (FPE_FLTOVF): Likewise.
42045         (FPE_FLTUND): Likewise.
42046         (FPE_FLTRES): Likewise.
42047         (FPE_FLTINV): Likewise.
42048         (FPE_FLTSUB): Likewise.
42049         (SEGV_MAPERR): Likewise.
42050         (SEGV_ACCERR): Likewise.
42051         (BUS_ADRALN): Likewise.
42052         (BUS_ADRERR): Likewise.
42053         (BUS_OBJERR): Likewise.
42054         (BUS_MCEERR_AR): Likewise.
42055         (BUS_MCEERR_AO): Likewise.
42056         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42057         (TRAP_TRACE): Likewise.
42058         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42059         __USE_XOPEN2K8].
42060         (CLD_KILLED): Likewise.
42061         (CLD_DUMPED): Likewise.
42062         (CLD_TRAPPED): Likewise.
42063         (CLD_STOPPED): Likewise.
42064         (CLD_CONTINUED): Likewise.
42065         (POLL_IN): Likewise.
42066         (POLL_OUT): Likewise.
42067         (POLL_MSG): Likewise.
42068         (POLL_ERR): Likewise.
42069         (POLL_PRI): Likewise.
42070         (POLL_HUP): Likewise.
42071         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
42072         (ILL_ILLOPN): Likewise.
42073         (ILL_ILLADR): Likewise.
42074         (ILL_ILLTRP): Likewise.
42075         (ILL_PRVOPC): Likewise.
42076         (ILL_PRVREG): Likewise.
42077         (ILL_COPROC): Likewise.
42078         (ILL_BADSTK): Likewise.
42079         (FPE_INTDIV): Likewise.
42080         (FPE_INTOVF): Likewise.
42081         (FPE_FLTDIV): Likewise.
42082         (FPE_FLTOVF): Likewise.
42083         (FPE_FLTUND): Likewise.
42084         (FPE_FLTRES): Likewise.
42085         (FPE_FLTINV): Likewise.
42086         (FPE_FLTSUB): Likewise.
42087         (SEGV_MAPERR): Likewise.
42088         (SEGV_ACCERR): Likewise.
42089         (BUS_ADRALN): Likewise.
42090         (BUS_ADRERR): Likewise.
42091         (BUS_OBJERR): Likewise.
42092         (BUS_MCEERR_AR): Likewise.
42093         (BUS_MCEERR_AO): Likewise.
42094         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42095         (TRAP_TRACE): Likewise.
42096         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42097         __USE_XOPEN2K8].
42098         (CLD_KILLED): Likewise.
42099         (CLD_DUMPED): Likewise.
42100         (CLD_TRAPPED): Likewise.
42101         (CLD_STOPPED): Likewise.
42102         (CLD_CONTINUED): Likewise.
42103         (POLL_IN): Likewise.
42104         (POLL_OUT): Likewise.
42105         (POLL_MSG): Likewise.
42106         (POLL_ERR): Likewise.
42107         (POLL_PRI): Likewise.
42108         (POLL_HUP): Likewise.
42109         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
42110         (ILL_ILLOPN): Likewise.
42111         (ILL_ILLADR): Likewise.
42112         (ILL_ILLTRP): Likewise.
42113         (ILL_PRVOPC): Likewise.
42114         (ILL_PRVREG): Likewise.
42115         (ILL_COPROC): Likewise.
42116         (ILL_BADSTK): Likewise.
42117         (FPE_INTDIV): Likewise.
42118         (FPE_INTOVF): Likewise.
42119         (FPE_FLTDIV): Likewise.
42120         (FPE_FLTOVF): Likewise.
42121         (FPE_FLTUND): Likewise.
42122         (FPE_FLTRES): Likewise.
42123         (FPE_FLTINV): Likewise.
42124         (FPE_FLTSUB): Likewise.
42125         (SEGV_MAPERR): Likewise.
42126         (SEGV_ACCERR): Likewise.
42127         (BUS_ADRALN): Likewise.
42128         (BUS_ADRERR): Likewise.
42129         (BUS_OBJERR): Likewise.
42130         (BUS_MCEERR_AR): Likewise.
42131         (BUS_MCEERR_AO): Likewise.
42132         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42133         (TRAP_TRACE): Likewise.
42134         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42135         __USE_XOPEN2K8].
42136         (CLD_KILLED): Likewise.
42137         (CLD_DUMPED): Likewise.
42138         (CLD_TRAPPED): Likewise.
42139         (CLD_STOPPED): Likewise.
42140         (CLD_CONTINUED): Likewise.
42141         (POLL_IN): Likewise.
42142         (POLL_OUT): Likewise.
42143         (POLL_MSG): Likewise.
42144         (POLL_ERR): Likewise.
42145         (POLL_PRI): Likewise.
42146         (POLL_HUP): Likewise.
42147         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
42148         (ILL_ILLOPN): Likewise.
42149         (ILL_ILLADR): Likewise.
42150         (ILL_ILLTRP): Likewise.
42151         (ILL_PRVOPC): Likewise.
42152         (ILL_PRVREG): Likewise.
42153         (ILL_COPROC): Likewise.
42154         (ILL_BADSTK): Likewise.
42155         (ILL_DBLFLT): Likewise.
42156         (ILL_HARDWALL): Likewise.
42157         (FPE_INTDIV): Likewise.
42158         (FPE_INTOVF): Likewise.
42159         (FPE_FLTDIV): Likewise.
42160         (FPE_FLTOVF): Likewise.
42161         (FPE_FLTUND): Likewise.
42162         (FPE_FLTRES): Likewise.
42163         (FPE_FLTINV): Likewise.
42164         (FPE_FLTSUB): Likewise.
42165         (SEGV_MAPERR): Likewise.
42166         (SEGV_ACCERR): Likewise.
42167         (BUS_ADRALN): Likewise.
42168         (BUS_ADRERR): Likewise.
42169         (BUS_OBJERR): Likewise.
42170         (BUS_MCEERR_AR): Likewise.
42171         (BUS_MCEERR_AO): Likewise.
42172         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42173         (TRAP_TRACE): Likewise.
42174         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42175         __USE_XOPEN2K8].
42176         (CLD_KILLED): Likewise.
42177         (CLD_DUMPED): Likewise.
42178         (CLD_TRAPPED): Likewise.
42179         (CLD_STOPPED): Likewise.
42180         (CLD_CONTINUED): Likewise.
42181         (POLL_IN): Likewise.
42182         (POLL_OUT): Likewise.
42183         (POLL_MSG): Likewise.
42184         (POLL_ERR): Likewise.
42185         (POLL_PRI): Likewise.
42186         (POLL_HUP): Likewise.
42187         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
42188         (ILL_ILLOPN): Likewise.
42189         (ILL_ILLADR): Likewise.
42190         (ILL_ILLTRP): Likewise.
42191         (ILL_PRVOPC): Likewise.
42192         (ILL_PRVREG): Likewise.
42193         (ILL_COPROC): Likewise.
42194         (ILL_BADSTK): Likewise.
42195         (FPE_INTDIV): Likewise.
42196         (FPE_INTOVF): Likewise.
42197         (FPE_FLTDIV): Likewise.
42198         (FPE_FLTOVF): Likewise.
42199         (FPE_FLTUND): Likewise.
42200         (FPE_FLTRES): Likewise.
42201         (FPE_FLTINV): Likewise.
42202         (FPE_FLTSUB): Likewise.
42203         (SEGV_MAPERR): Likewise.
42204         (SEGV_ACCERR): Likewise.
42205         (BUS_ADRALN): Likewise.
42206         (BUS_ADRERR): Likewise.
42207         (BUS_OBJERR): Likewise.
42208         (BUS_MCEERR_AR): Likewise.
42209         (BUS_MCEERR_AO): Likewise.
42210         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42211         (TRAP_TRACE): Likewise.
42212         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42213         __USE_XOPEN2K8].
42214         (CLD_KILLED): Likewise.
42215         (CLD_DUMPED): Likewise.
42216         (CLD_TRAPPED): Likewise.
42217         (CLD_STOPPED): Likewise.
42218         (CLD_CONTINUED): Likewise.
42219         (POLL_IN): Likewise.
42220         (POLL_OUT): Likewise.
42221         (POLL_MSG): Likewise.
42222         (POLL_ERR): Likewise.
42223         (POLL_PRI): Likewise.
42224         (POLL_HUP): Likewise.
42225         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
42226         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42228         [BZ #16670]
42229         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
42230         before #include of <time.h>.
42231         [!__USE_XOPEN2K] (__need_timespec): Likewise.
42232         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
42233         (test-xfail-UNIX98/sched.h/conform): Likewise.
42235 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42237         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
42238         error absence of trapping exception support.
42239         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42241 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42243         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
42244         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
42245         * timezone/Makefile (testdata): Move definition above include of
42246         Rules.
42247         (test-zones): New variable.
42248         (tests-special): Add zone files.
42249         (build-testdata): Use $(evaluate-test).
42251         * elf/Makefile (tests-special): Rename tests to end with .out.
42252         ($(objpfx)noload-mem): Likewise.
42253         ($(objpfx)tst-leaks1-mem): Likewise.
42254         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
42255         * iconv/Makefile (xtests-special): Change test-iconvconfig to
42256         $(objpfx)test-iconvconfig.out.
42257         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
42258         set -e inside subshell and redirect output to file.
42259         * iconvdata/Makefile (generated): Rename tests to end with .out.
42260         Correct type.
42261         (tests-special): Rename tests to end with .out.
42262         ($(objpfx)mtrace-tst-loading): Likewise.
42263         * intl/Makefile (generated): Likewise.
42264         (tests-special): Likewise.
42265         ($(objpfx)mtrace-tst-gettext): Likewise.
42266         * misc/Makefile (generated): Likewise.
42267         (tests-special): Likewise.
42268         ($(objpfx)tst-error1-mem): Likewise.
42269         * nptl/Makefile (tests-special): Likewise.
42270         ($(objpfx)tst-stack3-mem): Likewise.
42271         (generated): Likewise.
42272         * posix/Makefile (generated): Likewise.
42273         (tests-special): Likewise.
42274         (xtests-special): Likewise.
42275         ($(objpfx)tst-fnmatch-mem): Likewise.
42276         ($(objpfx)bug-regex2-mem): Likewise.
42277         ($(objpfx)bug-regex14-mem): Likewise.
42278         ($(objpfx)bug-regex21-mem): Likewise.
42279         ($(objpfx)bug-regex31-mem): Likewise.
42280         ($(objpfx)tst-vfork3-mem): Likewise.
42281         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42282         ($(objpfx)tst-pcre-mem): Likewise.
42283         ($(objpfx)tst-boost-mem): Likewise.
42284         ($(objpfx)bug-ga2-mem): Likewise.
42285         ($(objpfx)bug-glob2-mem): Likewise.
42286         * resolv/Makefile (generate): Likewise.
42287         (tests-special): Likewise.
42288         (xtests-special): Likewise.
42289         (generated): Likewise.
42290         ($(objpfx)mtrace-tst-leaks): Likewise.
42291         ($(objpfx)mtrace-tst-leaks2): Likewise.
42293         * scripts/merge-test-results.sh: New file.
42294         * Makefile (tests-special-notdir): New variable.
42295         (tests): Run merge-test-results.sh.
42296         (xtests): Likewise.
42297         * Rules (tests-special-notdir): New variable.
42298         (xtests-special-notdir): Likewise.
42299         (tests): Run merge-test-results.sh
42300         (xtests): Likewise.
42302         * Makeconfig (test-xfail-name): New variable.
42303         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
42304         compute variable name for expected failures.
42305         * conform/Makefile (conformtest-headers-data): New variable.
42306         (conformtest-standards): Likewise.
42307         (conformtest-headers-ISO): Likewise.
42308         (conformtest-headers-ISO99): Likewise.
42309         (conformtest-headers-ISO11): Likewise.
42310         (conformtest-headers-POSIX): Likewise.
42311         (conformtest-headers-XPG3): Likewise.
42312         (conformtest-headers-XPG4): Likewise.
42313         (conformtest-headers-UNIX98): Likewise.
42314         (conformtest-headers-XOPEN2K): Likewise.
42315         (conformtest-headers-POSIX2008): Likewise.
42316         (conformtest-headers-XOPEN2K8): Likewise.
42317         (conformtest-header-list-base): Likewise.
42318         (conformtest-header-list-tests): Likewise.
42319         (conformtest-header-base): Likewise.
42320         (conformtest-header-tests): Likewise.
42321         (tests-special): Add $(conformtest-header-list-tests).  If
42322         [$(fast-check) && !$(cross-compiling)], add
42323         $(conformtest-header-tests) instead of
42324         $(objpfx)run-conformtest.out.
42325         (generated): Add $(conformtest-header-list-base).  If
42326         [$(fast-check) && !$(cross-compiling)], add
42327         $(conformtest-header-base).  Remove previous setting.
42328         ($(conformtest-header-list-tests)): New target.
42329         (test-xfail-run-conformtest): Remove variable.
42330         ($(objpfx)run-conformtest.out): Remove target.
42331         (test-xfail-ISO11/complex.h/conform): New variable.
42332         (test-xfail-ISO11/stdalign.h/conform): Likewise.
42333         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
42334         (test-xfail-XPG3/varargs.h/conform): Likewise.
42335         (test-xfail-XPG4/varargs.h/conform): Likewise.
42336         (test-xfail-UNIX98/varargs.h/conform): Likewise.
42337         (test-xfail-XPG4/ndbm.h/conform): Likewise.
42338         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
42339         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
42340         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
42341         (test-xfail-XPG3/fcntl.h/conform): Likewise.
42342         (test-xfail-XPG3/ftw.h/conform): Likewise.
42343         (test-xfail-XPG3/grp.h/conform): Likewise.
42344         (test-xfail-XPG3/langinfo.h/conform): Likewise.
42345         (test-xfail-XPG3/limits.h/conform): Likewise.
42346         (test-xfail-XPG3/pwd.h/conform): Likewise.
42347         (test-xfail-XPG3/search.h/conform): Likewise.
42348         (test-xfail-XPG3/signal.h/conform): Likewise.
42349         (test-xfail-XPG3/stdio.h/conform): Likewise.
42350         (test-xfail-XPG3/stdlib.h/conform): Likewise.
42351         (test-xfail-XPG3/string.h/conform): Likewise.
42352         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
42353         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
42354         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42355         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
42356         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
42357         (test-xfail-XPG3/sys/types.h/conform): Likewise.
42358         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
42359         (test-xfail-XPG3/termios.h/conform): Likewise.
42360         (test-xfail-XPG3/time.h/conform): Likewise.
42361         (test-xfail-XPG3/unistd.h/conform): Likewise.
42362         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
42363         (test-xfail-XPG4/fcntl.h/conform): Likewise.
42364         (test-xfail-XPG4/langinfo.h/conform): Likewise.
42365         (test-xfail-XPG4/netdb.h/conform): Likewise.
42366         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
42367         (test-xfail-XPG4/signal.h/conform): Likewise.
42368         (test-xfail-XPG4/stdio.h/conform): Likewise.
42369         (test-xfail-XPG4/stdlib.h/conform): Likewise.
42370         (test-xfail-XPG4/stropts.h/conform): Likewise.
42371         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
42372         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
42373         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
42374         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
42375         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
42376         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
42377         (test-xfail-XPG4/sys/time.h/conform): Likewise.
42378         (test-xfail-XPG4/sys/types.h/conform): Likewise.
42379         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
42380         (test-xfail-XPG4/termios.h/conform): Likewise.
42381         (test-xfail-XPG4/ucontext.h/conform): Likewise.
42382         (test-xfail-XPG4/unistd.h/conform): Likewise.
42383         (test-xfail-XPG4/utmpx.h/conform): Likewise.
42384         (test-xfail-POSIX/sched.h/conform): Likewise.
42385         (test-xfail-POSIX/signal.h/conform): Likewise.
42386         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42387         (test-xfail-POSIX/tar.h/conform): Likewise.
42388         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
42389         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
42390         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
42391         (test-xfail-UNIX98/netdb.h/conform): Likewise.
42392         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
42393         (test-xfail-UNIX98/sched.h/conform): Likewise.
42394         (test-xfail-UNIX98/signal.h/conform): Likewise.
42395         (test-xfail-UNIX98/stdio.h/conform): Likewise.
42396         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42397         (test-xfail-UNIX98/stropts.h/conform): Likewise.
42398         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42399         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42400         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42401         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42402         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42403         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42404         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42405         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42406         (test-xfail-UNIX98/unistd.h/conform): Likewise.
42407         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42408         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42409         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42410         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42411         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42412         (test-xfail-XOPEN2K/math.h/conform): Likewise.
42413         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42414         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42415         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42416         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42417         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
42418         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
42419         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
42420         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
42421         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
42422         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
42423         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
42424         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
42425         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
42426         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
42427         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
42428         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
42429         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
42430         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
42431         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
42432         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
42433         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
42434         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
42435         (test-xfail-POSIX2008/signal.h/conform): Likewise.
42436         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
42437         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
42438         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
42439         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
42440         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
42441         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
42442         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42443         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
42444         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
42445         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
42446         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
42447         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
42448         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
42449         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42450         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
42451         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
42452         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
42453         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
42454         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
42455         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
42456         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
42457         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
42458         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
42459         (conformtest-cc-flags): Likewise.
42460         ($(conformtest-header-tests): New target.
42461         * conform/check-header-lists.sh: New file.
42462         * conform/run-conformtest.sh: Remove.
42464         * conform/conformtest.pl: Allow ' and \ in values given for
42465         constants.
42466         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
42467         inclusion.
42468         [POSIX] (sys/types.h): Likewise.
42469         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
42470         inclusion.
42471         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
42472         inclusion.
42473         * conform/data/signal.h-data (SIGIO): Remove expectation.
42474         [XPG3] (SIGBUS): Do not expect.
42475         [POSIX || XPG3] (SIGPOLL): Likewise.
42476         [POSIX || XPG3] (SIGPROF): Likewise.
42477         [POSIX || XPG3] (SIGSYS): Likewise.
42478         [XPG3] (SIGTRAP): Likewise.
42479         [POSIX || XPG3] (SIGURG): Likewise.
42480         [POSIX || XPG3] (SIGVTALRM): Likewise.
42481         [POSIX || XPG3] (SIGXCPU): Likewise.
42482         [POSIX || XPG3] (SIGXFSZ): Likewise.
42483         [POSIX] (SA_SIGINFO): Expect.
42484         [XPG3] (siginfo_t): Do not expect type or contents.
42485         [POSIX] (si_pid): Do not expect element.
42486         [POSIX] (si_uid): Likewise.
42487         [POSIX] (si_addr): Likewise.
42488         [POSIX] (si_status): Likewise.
42489         [POSIX] (si_band): Likewise.
42490         [XPG4] (si_value): Likewise.
42491         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
42492         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
42493         [POSIX || XPG3] (ILL_ILLADR): Likewise.
42494         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
42495         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
42496         [POSIX || XPG3] (ILL_PRVREG): Likewise.
42497         [POSIX || XPG3] (ILL_COPROC): Likewise.
42498         [POSIX || XPG3] (ILL_BADSTK): Likewise.
42499         [POSIX || XPG3] (FPE_INTDIV): Likewise.
42500         [POSIX || XPG3] (FPE_INTOVF): Likewise.
42501         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
42502         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
42503         [POSIX || XPG3] (FPE_FLTUND): Likewise.
42504         [POSIX || XPG3] (FPE_FLTRES): Likewise.
42505         [POSIX || XPG3] (FPE_FLTINV): Likewise.
42506         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
42507         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
42508         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
42509         [POSIX || XPG3] (BUS_ADRALN): Likewise.
42510         [POSIX || XPG3] (BUS_ADRERR): Likewise.
42511         [POSIX || XPG3] (BUS_OBJERR): Likewise.
42512         [POSIX || XPG3] (CLD_EXITED): Likewise.
42513         [POSIX || XPG3] (CLD_KILLED): Likewise.
42514         [POSIX || XPG3] (CLD_DUMPED): Likewise.
42515         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
42516         [POSIX || XPG3] (CLD_STOPPED): Likewise.
42517         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
42518         [POSIX || XPG3] (POLL_IN): Likewise.
42519         [POSIX || XPG3] (POLL_OUT): Likewise.
42520         [POSIX || XPG3] (POLL_MSG): Likewise.
42521         [POSIX || XPG3] (POLL_ERR): Likewise.
42522         [POSIX || XPG3] (POLL_PRI): Likewise.
42523         [POSIX || XPG3] (POLL_HUP): Likewise.
42524         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
42525         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
42526         (SIG*): Do not allow.
42527         [XPG3] (si_*): Likewise.
42528         [XPG3] (SI_*): Likewise.
42529         [XPG3 || XPG4] (sigev_*): Likewise.
42530         [XPG3 || XPG4] (SIGEV_*): Likewise.
42531         [XPG3 || XPG4] (sival_*): Likewise.
42532         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
42533         [POSIX || XPG3] (BUS_*): Likewise.
42534         [POSIX || XPG3] (CLD_*): Likewise.
42535         [POSIX || XPG3] (FPE_*): Likewise.
42536         [POSIX || XPG3] (ILL_*): Likewise.
42537         [POSIX || XPG3] (POLL_*): Likewise.
42538         [POSIX || XPG3] (SEGV_*): Likewise.
42539         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
42540         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
42541         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
42542         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
42543         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
42544         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
42545         Specify type and value.
42546         (TVERSLEN): Likewise.
42547         (REGTYPE): Likewise.
42548         (AREGTYPE): Likewise.
42549         (LNKTYPE): Likewise.
42550         (SYMTYPE): Likewise.
42551         (CHRTYPE): Likewise.
42552         (BLKTYPE): Likewise.
42553         (DIRTYPE): Likewise.
42554         (FIFOTYPE): Likewise.
42555         (CONTTYPE): Likewise.
42556         (TSUID): Likewise.
42557         (TSGID): Likewise.
42558         (TSVTX): Likewise.
42559         (TUREAD): Likewise.
42560         (TUWRITE): Likewise.
42561         (TUEXEC): Likewise.
42562         (TGREAD): Likewise.
42563         (TGWRITE): Likewise.
42564         (TGEXEC): Likewise.
42565         (TOREAD): Likewise.
42566         (TOWRITE): Likewise.
42567         (TOEXEC): Likewise.
42568         [POSIX] (TSVTX): Expect constant.
42570 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
42572         * Makefile (tests): Change dependencies to ....
42573         (tests-special): ... additions to this variable.
42574         (tests): Depend on $(tests-special).
42575         * Makerules (check-abi-list): New variable.
42576         (check-abi): Depend on $(check-abi-list).
42577         [$(subdir) = elf] (tests-special): Add
42578         $(objpfx)check-abi-libc.out.
42579         [$(build-shared) = yes && subdir] (tests-special): Add
42580         $(check-abi-list).
42581         [$(build-shared) = yes && subdir] (tests): Do not depend on
42582         check-abi.
42583         * Rules (tests): Depend on $(tests-special).
42584         (xtests): Depend on $(xtests-special).
42585         * catgets/Makefile (tests): Change dependencies to ....
42586         (tests-special): ... additions to this variable.
42587         * conform/Makefile (tests): Change dependencies to ....
42588         (tests-special): ... additions to this variable.
42589         * elf/Makefile (tests): Change dependencies to ....
42590         (tests-special): ... additions to this variable.
42591         * grp/Makefile (tests): Change dependencies to ....
42592         (tests-special): ... additions to this variable.
42593         * iconv/Makefile (xtests): Change dependencies to ....
42594         (xtests-special): ... additions to this variable.
42595         * iconvdata/Makefile (tests): Change dependencies to ....
42596         (tests-special): ... additions to this variable.
42597         * intl/Makefile (tests): Change dependencies to ....
42598         (tests-special): ... additions to this variable.  Also add
42599         $(objpfx)tst-gettext.out.
42600         * io/Makefile (tests): Change dependencies to ....
42601         (tests-special): ... additions to this variable.
42602         * libio/Makefile (tests): Change dependencies to ....
42603         (tests-special): ... additions to this variable.
42604         * malloc/Makefile (tests): Change dependencies to ....
42605         (tests-special): ... additions to this variable.
42606         * misc/Makefile (tests): Change dependencies to ....
42607         (tests-special): ... additions to this variable.
42608         * nptl/Makefile (tests): Change dependencies to ....
42609         (tests-special): ... additions to this variable.
42610         * nptl_db/Makefile (tests): Change dependencies to ....
42611         (tests-special): ... additions to this variable.
42612         * posix/Makefile (tests): Change dependencies to ....
42613         (tests-special): ... additions to this variable.
42614         (xtests): Change dependencies to ....
42615         (xtests-special): ... additions to this variable.
42616         * resolv/Makefile (tests): Change dependencies to ....
42617         (tests-special): ... additions to this variable.
42618         (xtests): Change dependencies to ....
42619         (xtests-special): ... additions to this variable.
42620         * stdio-common/Makefile (tests): Change dependencies to ....
42621         (tests-special): ... additions to this variable.
42622         (do-tst-unbputc): Remove target.
42623         (do-tst-printf): Likewise.
42624         * stdlib/Makefile (tests): Change dependencies to ....
42625         (tests-special): ... additions to this variable.
42626         * string/Makefile (tests): Change dependencies to ....
42627         (tests-special): ... additions to this variable.
42628         * sysdeps/x86/Makefile (tests): Change dependencies to ....
42629         (tests-special): ... additions to this variable.
42631         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
42632         whole file.
42633         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
42634         whole file.
42635         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
42636         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
42638         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
42639         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
42640         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
42641         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
42642         * conform/data/libgen.h-data [XPG3]: Likewise.
42643         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
42644         * conform/data/ndbm.h-data [XPG3]: Likewise.
42645         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42646         * conform/data/netdb.h-data [XPG3]: Likewise.
42647         * conform/data/netinet/in.h-data [XPG3]: Likewise.
42648         * conform/data/poll.h-data [XPG3]: Likewise.
42649         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42650         * conform/data/strings.h-data [XPG3]: Likewise.
42651         * conform/data/stropts.h-data [XPG3]: Likewise.
42652         * conform/data/sys/mman.h-data [XPG3]: Likewise.
42653         * conform/data/sys/resource.h-data [XPG3]: Likewise.
42654         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
42655         Likewise.
42656         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
42657         * conform/data/sys/time.h-data [XPG3]: Likewise.
42658         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
42659         * conform/data/sys/uio.h-data [XPG3]: Likewise.
42660         * conform/data/sys/un.h-data [XPG3]: Likewise.
42661         * conform/data/syslog.h-data [XPG3]: Likewise.
42662         * conform/data/ucontext.h-data [XPG3]: Likewise.
42663         * conform/data/utmpx.h-data [XPG3]: Likewise.
42664         * conform/data/varargs.h-data [UNIX98]: Enable file.
42666         * manual/Makefile (INSTALL_INFO): Remove variable setting.
42668         * math/libm-test.inc (struct test_f_f_data): Move expected results
42669         into structure for each rounding mode.
42670         (struct test_ff_f_data): Likewise.
42671         (struct test_ff_f_data_nexttoward): Likewise.
42672         (struct test_fi_f_data): Likewise.
42673         (struct test_fl_f_data): Likewise.
42674         (struct test_if_f_data): Likewise.
42675         (struct test_fff_f_data): Likewise.
42676         (struct test_c_f_data): Likewise.
42677         (struct test_f_f1_data): Likewise.
42678         (struct test_fF_f1_data): Likewise.
42679         (struct test_ffI_f1_data): Likewise.
42680         (struct test_c_c_data): Likewise.
42681         (struct test_cc_c_data): Likewise.
42682         (struct test_f_i_data): Likewise.
42683         (struct test_ff_i_data): Likewise.
42684         (struct test_f_l_data): Likewise.
42685         (struct test_f_L_data): Likewise.
42686         (struct test_fFF_11_data): Likewise.
42687         (RM_): New macro.
42688         (RM_FE_DOWNWARD): Likewise.
42689         (RM_FE_TONEAREST): Likewise.
42690         (RM_FE_TOWARDZERO): Likewise.
42691         (RM_FE_UPWARD): Likewise.
42692         (RUN_TEST_LOOP_f_f): Update references to expected results.
42693         (RUN_TEST_LOOP_2_f): Likewise.
42694         (RUN_TEST_LOOP_fff_f): Likewise.
42695         (RUN_TEST_LOOP_c_f): Likewise.
42696         (RUN_TEST_LOOP_f_f1): Likewise.
42697         (RUN_TEST_LOOP_fF_f1): Likewise.
42698         (RUN_TEST_LOOP_fI_f1): Likewise.
42699         (RUN_TEST_LOOP_ffI_f1): Likewise.
42700         (RUN_TEST_LOOP_c_c): Likewise.
42701         (RUN_TEST_LOOP_cc_c): Likewise.
42702         (RUN_TEST_LOOP_f_i): Likewise.
42703         (RUN_TEST_LOOP_f_i_tg): Likewise.
42704         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42705         (RUN_TEST_LOOP_f_b): Likewise.
42706         (RUN_TEST_LOOP_f_b_tg): Likewise.
42707         (RUN_TEST_LOOP_f_l): Likewise.
42708         (RUN_TEST_LOOP_f_L): Likewise.
42709         (RUN_TEST_LOOP_fFF_11): Likewise.
42710         * math/gen-libm-test.pl (parse_args): Output four copies of
42711         expected results for each test.
42713         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42714         (__ASSUME_UTIMES): Remove.
42715         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42716         (__ASSUME_UTIMES): Likewise.
42718         * math/gen-auto-libm-tests.c: Update comment on output format.
42719         (output_for_one_input_case): Generate before-rounding and
42720         after-rounding information as conditions on output flags not
42721         floating-point format.
42722         * math/auto-libm-test-out: Regenerated.
42723         * math/gen-libm-test.pl (cond_value): New function.
42724         (or_cond_value): Use cond_value.
42725         (generate_testfile): Handle conditional exceptions.
42727 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
42729         * math/libm-test.inc (max_valid_error): New variable.
42730         (init_max_error): Take new argument specifying whether function
42731         results are exactly determined.  Set max_valid_error and bound
42732         other variables for errors based on this argument.
42733         (set_max_error): Do not record results above max_valid_error.
42734         (check_float_internal): Only accept errors of up to 0.5ulps if
42735         also at most max_valid_error.
42736         (START): Take new argument EXACT and pass it to init_max_error.
42737         (acos_test): Update call to START.
42738         (acos_test_tonearest): Likewise.
42739         (acos_test_towardzero): Likewise.
42740         (acos_test_downward): Likewise.
42741         (acos_test_upward): Likewise.
42742         (acosh_test): Likewise.
42743         (asin_test): Likewise.
42744         (asin_test_tonearest): Likewise.
42745         (asin_test_towardzero): Likewise.
42746         (asin_test_downward): Likewise.
42747         (asin_test_upward): Likewise.
42748         (asinh_test): Likewise.
42749         (atan_test): Likewise.
42750         (atanh_test): Likewise.
42751         (atan2_test): Likewise.
42752         (cabs_test): Likewise.
42753         (cacos_test): Likewise.
42754         (cacosh_test): Likewise.
42755         (carg_test): Likewise.
42756         (casin_test): Likewise.
42757         (casinh_test): Likewise.
42758         (catan_test): Likewise.
42759         (catanh_test): Likewise.
42760         (cbrt_test): Likewise.
42761         (ccos_test): Likewise.
42762         (ccosh_test): Likewise.
42763         (ceil_test): Likewise.
42764         (cexp_test): Likewise.
42765         (cimag_test): Likewise.
42766         (clog_test): Likewise.
42767         (clog10_test): Likewise.
42768         (conj_test): Likewise.
42769         (copysign_test): Likewise.
42770         (cos_test): Likewise.
42771         (cos_test_tonearest): Likewise.
42772         (cos_test_towardzero): Likewise.
42773         (cos_test_downward): Likewise.
42774         (cos_test_upward): Likewise.
42775         (cosh_test): Likewise.
42776         (cosh_test_tonearest): Likewise.
42777         (cosh_test_towardzero): Likewise.
42778         (cosh_test_downward): Likewise.
42779         (cosh_test_upward): Likewise.
42780         (cpow_test): Likewise.
42781         (cproj_test): Likewise.
42782         (creal_test): Likewise.
42783         (csin_test): Likewise.
42784         (csinh_test): Likewise.
42785         (csqrt_test): Likewise.
42786         (ctan_test): Likewise.
42787         (ctan_test_tonearest): Likewise.
42788         (ctan_test_towardzero): Likewise.
42789         (ctan_test_downward): Likewise.
42790         (ctan_test_upward): Likewise.
42791         (ctanh_test): Likewise.
42792         (ctanh_test_tonearest): Likewise.
42793         (ctanh_test_towardzero): Likewise.
42794         (ctanh_test_downward): Likewise.
42795         (ctanh_test_upward): Likewise.
42796         (erf_test): Likewise.
42797         (erfc_test): Likewise.
42798         (exp_test): Likewise.
42799         (exp_test_tonearest): Likewise.
42800         (exp_test_towardzero): Likewise.
42801         (exp_test_downward): Likewise.
42802         (exp_test_upward): Likewise.
42803         (exp10_test): Likewise.
42804         (exp10_test_tonearest): Likewise.
42805         (exp10_test_towardzero): Likewise.
42806         (exp10_test_downward): Likewise.
42807         (exp10_test_upward): Likewise.
42808         (pow10_test): Likewise.
42809         (exp2_test): Likewise.
42810         (expm1_test): Likewise.
42811         (expm1_test_tonearest): Likewise.
42812         (expm1_test_towardzero): Likewise.
42813         (expm1_test_downward): Likewise.
42814         (expm1_test_upward): Likewise.
42815         (fabs_test): Likewise.
42816         (fdim_test): Likewise.
42817         (floor_test): Likewise.
42818         (fma_test): Likewise.
42819         (fma_test_towardzero): Likewise.
42820         (fma_test_downward): Likewise.
42821         (fma_test_upward): Likewise.
42822         (fmax_test): Likewise.
42823         (fmin_test): Likewise.
42824         (fmod_test): Likewise.
42825         (fpclassify_test): Likewise.
42826         (frexp_test): Likewise.
42827         (hypot_test): Likewise.
42828         (ilogb_test): Likewise.
42829         (isfinite_test): Likewise.
42830         (finite_test): Likewise.
42831         (isgreater_test): Likewise.
42832         (isgreaterequal_test): Likewise.
42833         (isinf_test): Likewise.
42834         (isless_test): Likewise.
42835         (islessequal_test): Likewise.
42836         (islessgreater_test): Likewise.
42837         (isnan_test): Likewise.
42838         (isnormal_test): Likewise.
42839         (issignaling_test): Likewise.
42840         (isunordered_test): Likewise.
42841         (j0_test): Likewise.
42842         (j1_test): Likewise.
42843         (jn_test): Likewise.
42844         (ldexp_test): Likewise.
42845         (lgamma_test): Likewise.
42846         (gamma_test): Likewise.
42847         (lrint_test): Likewise.
42848         (lrint_test_tonearest): Likewise.
42849         (lrint_test_towardzero): Likewise.
42850         (lrint_test_downward): Likewise.
42851         (lrint_test_upward): Likewise.
42852         (llrint_test): Likewise.
42853         (llrint_test_tonearest): Likewise.
42854         (llrint_test_towardzero): Likewise.
42855         (llrint_test_downward): Likewise.
42856         (llrint_test_upward): Likewise.
42857         (log_test): Likewise.
42858         (log10_test): Likewise.
42859         (log1p_test): Likewise.
42860         (log2_test): Likewise.
42861         (logb_test): Likewise.
42862         (logb_test_downward): Likewise.
42863         (lround_test): Likewise.
42864         (llround_test): Likewise.
42865         (modf_test): Likewise.
42866         (nearbyint_test): Likewise.
42867         (nextafter_test): Likewise.
42868         (nexttoward_test): Likewise.
42869         (pow_test): Likewise.
42870         (pow_test_tonearest): Likewise.
42871         (pow_test_towardzero): Likewise.
42872         (pow_test_downward): Likewise.
42873         (pow_test_upward): Likewise.
42874         (remainder_test): Likewise.
42875         (drem_test): Likewise.
42876         (remainder_test_tonearest): Likewise.
42877         (drem_test_tonearest): Likewise.
42878         (remainder_test_towardzero): Likewise.
42879         (drem_test_towardzero): Likewise.
42880         (remainder_test_downward): Likewise.
42881         (drem_test_downward): Likewise.
42882         (remainder_test_upward): Likewise.
42883         (drem_test_upward): Likewise.
42884         (remquo_test): Likewise.
42885         (rint_test): Likewise.
42886         (rint_test_tonearest): Likewise.
42887         (rint_test_towardzero): Likewise.
42888         (rint_test_downward): Likewise.
42889         (rint_test_upward): Likewise.
42890         (round_test): Likewise.
42891         (scalb_test): Likewise.
42892         (scalbn_test): Likewise.
42893         (scalbln_test): Likewise.
42894         (signbit_test): Likewise.
42895         (sin_test): Likewise.
42896         (sin_test_tonearest): Likewise.
42897         (sin_test_towardzero): Likewise.
42898         (sin_test_downward): Likewise.
42899         (sin_test_upward): Likewise.
42900         (sincos_test): Likewise.
42901         (sinh_test): Likewise.
42902         (sinh_test_tonearest): Likewise.
42903         (sinh_test_towardzero): Likewise.
42904         (sinh_test_downward): Likewise.
42905         (sinh_test_upward): Likewise.
42906         (sqrt_test): Likewise.
42907         (sqrt_test_tonearest): Likewise.
42908         (sqrt_test_towardzero): Likewise.
42909         (sqrt_test_downward): Likewise.
42910         (sqrt_test_upward): Likewise.
42911         (tan_test): Likewise.
42912         (tan_test_tonearest): Likewise.
42913         (tan_test_towardzero): Likewise.
42914         (tan_test_downward): Likewise.
42915         (tan_test_upward): Likewise.
42916         (tanh_test): Likewise.
42917         (tgamma_test): Likewise.
42918         (trunc_test): Likewise.
42919         (y0_test): Likewise.
42920         (y1_test): Likewise.
42921         (yn_test): Likewise.
42922         (significand_test): Likewise.
42924         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
42925         individual tests in comment.
42926         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
42927         (prev_max_error): New variable.
42928         (prev_real_max_error): Likewise.
42929         (prev_imag_max_error): Likewise.
42930         (compare_ulp_data): Don't refer to test names in comment.
42931         (find_test_ulps): Remove function.
42932         (find_function_ulps): Likewise.
42933         (find_complex_function_ulps): Likewise.
42934         (init_max_error): Take function name as argument.  Look up ulps
42935         for that function.
42936         (print_ulps): Remove function.
42937         (print_max_error): Use prev_max_error instead of calling
42938         find_function_ulps.
42939         (print_complex_max_error): Use prev_real_max_error and
42940         prev_imag_max_error instead of calling find_complex_function_ulps.
42941         (check_float_internal): Take max_ulp parameter instead of calling
42942         find_test_ulps.  Don't call print_ulps.
42943         (check_float): Update call to check_float_internal.
42944         (check_complex): Update calls to check_float_internal.
42945         (START): Pass argument to init_max_error.
42946         * math/gen-libm-test.pl (%results): Don't include "kind"
42947         information.
42948         (parse_ulps): Don't handle ulps of individual tests.
42949         (print_ulps_file): Likewise.
42950         (output_ulps): Likewise.
42951         * math/README.libm-test: Update.
42952         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
42953         individual tests.
42954         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
42955         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
42956         * sysdeps/arm/libm-test-ulps: Likewise.
42957         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
42958         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
42959         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
42960         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
42961         * sysdeps/microblaze/libm-test-ulps: Likewise.
42962         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
42963         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42964         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42965         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
42966         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42967         * sysdeps/sh/libm-test-ulps: Likewise.
42968         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42969         * sysdeps/tile/libm-test-ulps: Likewise.
42970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42972 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
42974         * math/libm-test.inc (print_complex_max_error): Check separately
42975         whether real and imaginary errors are within allowed range and
42976         pass 0 to print_complex_function_ulps instead of value within
42977         allowed range.
42979 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42981         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
42982         formatting.
42983         (get_handles_fopen): Likewise.
42984         (do_write_test): Likewise.
42986         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
42988         * libio/fileops.c (do_ftell): Use cached offset when
42989         available.
42990         * libio/iofwide.c (do_ftell_wide): Likewise.
42991         * libio/iofdopen.c (_IO_new_fdopen): Don't use
42992         _IO_file_attach.
42993         * libio/wfileops.c (_IO_fwide): Don't cache offset.
42995         [BZ #16532]
42996         * libio/libioP.h (get_file_offset): New function.
42997         * libio/fileops.c (get_file_offset): Likewise.
42998         (do_ftell): Likewise.
42999         (_IO_new_file_seekoff): Split out ftell logic.
43000         * libio/wfileops.c (do_ftell_wide): Likewise.
43001         (_IO_wfile_seekoff): Split out ftell logic.
43002         * libio/tst-ftell-active-handler.c: New test case.
43003         * libio/Makefile (tests): Add it.
43005 2014-03-03  Roland McGrath  <roland@hack.frob.com>
43007         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
43008         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
43010 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43012         [BZ #16639]
43013         * nscd/connections.c (nscd_init): Call do_exit.
43014         (start_threads): Call do_exit and notify_parent.
43015         (begin_drop_privileges): Call do_exit.
43016         (finish_drop_privileges): Likewise.
43017         * nscd/selinux.c (preserve_capabilities): Likewise.
43018         (install_real_capabilities): Likewise.
43019         (nscd_selinux_enabled): Likewise.
43020         (avc_create_thread): Likewise.
43021         (avc_alloc_lock): Likewise.
43022         (nscd_avc_init): Likewise.
43023         * nscd/nscd.c (parent_fd): New static variable.
43024         (main): Create a pipe between parent and child processes.
43025         Skip closing parent_fd.
43026         (monitor_child): New function.
43027         (do_exit): Likewise.
43028         (notify_parent): Likewise.
43029         * nscd/nscd.h (notify_parent): Likewise.
43030         (do_exit): Likewise.
43032 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
43034         * malloc/malloc.c (__libc_calloc): Revert last change.
43036 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43040 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43042         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
43043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
43044         implementation.
43045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43046         (__libc_ifunc_impl_list): Likewise.
43047         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
43048         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
43049         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
43050         * string/strrchr.c: Define STRRCHR.
43052 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
43054         * benchtest/bench-strtok.c (simple_strtok): Delete.
43055         (strtok_string): Use as benchmark.
43056         * string/strtok (STRTOK): New macro.
43058 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
43060         * manual/threads.texi: Add header and standard comments to all
43061         functions.
43063         * elf/dl-lookup.c (check_match): New function.
43064         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
43065         (do_lookup_x): Remove nested function check_match. Use non-nested
43066         function check_match.
43068 2014-02-28  Roland McGrath  <roland@hack.frob.com>
43070         * csu/Makefile (generated, before-compile): Use += rather than =.
43071         * catgets/Makefile (generated, generated-dirs): Likewise.
43072         * debug/Makefile (generated): Likewise.
43073         * dlfcn/Makefile (generated): Likewise.
43074         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
43075         * iconvdata/Makefile (before-compile, generated): Likewise.
43076         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
43077         * libio/Makefile (generated): Likewise.
43078         * malloc/Makefile (generated): Likewise.
43079         * manual/Makefile (generated, generated-dirs): Likewise.
43080         * misc/Makefile (generated): Likewise.
43081         * posix/Makefile (generated): Likewise.
43082         * resolv/Makefile (generated): Likewise.
43083         * sunrpc/Makefile (generated, generated-dirs): Likewise.
43084         * timezone/Makefile (generated, generated-dirs): Likewise.
43086         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
43088 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43090         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43091         power8 implementation.
43092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
43093         file: POWER8 llround ifunc implementation.
43094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
43095         (__lllround): Add POWER8 implementation.
43096         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
43097         POWER8 llround implementation.
43099         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
43100         power8 implementation.
43101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
43102         file: POWER8 llrint ifunc implementation.
43103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
43104         Add POWER8 implementation.
43105         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
43106         POWER8 llrint implementation.
43108         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
43109         power8 implementation.
43110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
43111         file: POWER8 finite ifunc implementation.
43112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
43113         Add POWER8 implementation.
43114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
43115         Likewise.
43116         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
43117         POWER8 finite implementation.
43118         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
43120         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
43121         power8 implementation.
43122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
43123         file: POWER8 isinf ifunc implementation.
43124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
43125         POWER8 implementation.
43126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
43127         Likewise.
43128         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
43129         isinf implementation.
43130         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
43132         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
43133         (INIT_ARCH): Add hwcap2 initialization.
43134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43135         power8 implementation.
43136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
43137         file: POWER8 isnan ifunc implementation.
43138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
43139         POWER8 implementation.
43140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
43141         Likewise.
43142         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
43143         isnan implementation.
43144         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
43146 2014-02-27  Joey Ye  <joey.ye@arm.com>
43148         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43149         (_FP_NANFRAC_Q): Set to zero.
43151 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43153         [BZ #16623]
43154         * math/auto-libm-test-in: New test inputs.
43155         * math/auto-libm-test-out: Regenerate.
43156         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
43157         and DA.
43158         (__cos): Likewise.
43159         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43161 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
43163         * scripts/evaluate-test.sh: Take new argument indicating whether
43164         failure is expected.
43165         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
43166         indicating whether failure is expected.
43167         * conform/Makefile (test-xfail-run-conformtest): New variable.
43168         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
43169         level.
43170         * posix/Makefile (test-xfail-annexc): New variable.
43171         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
43173 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
43175         * argp/Makefile: Include Makeconfig immediately after defining
43176         subdir.
43177         * assert/Makefile: Likewise.
43178         * benchtests/Makefile: Likewise.
43179         * catgets/Makefile: Likewise.
43180         * conform/Makefile: Likewise.
43181         * crypt/Makefile: Likewise.
43182         * csu/Makefile: Likewise.
43183         (all): Remove target.
43184         * ctype/Makefile: Include Makeconfig immediately after defining
43185         subdir.
43186         * debug/Makefile: Likewise.
43187         * dirent/Makefile: Likewise.
43188         * dlfcn/Makefile: Likewise.
43189         * gmon/Makefile: Likewise.
43190         * gnulib/Makefile: Likewise.
43191         * grp/Makefile: Likewise.
43192         * gshadow/Makefile: Likewise.
43193         * hesiod/Makefile: Likewise.
43194         * hurd/Makefile: Likewise.
43195         (all): Remove target.
43196         * iconvdata/Makefile: Include Makeconfig immediately after
43197         defining subdir.
43198         * inet/Makefile: Likewise.
43199         * intl/Makefile: Likewise.
43200         * io/Makefile: Likewise.
43201         * libio/Makefile: Likewise.
43202         (all): Remove target.
43203         * locale/Makefile: Include Makeconfig immediately after defining
43204         subdir.
43205         * login/Makefile: Likewise.
43206         * mach/Makefile: Likewise.
43207         (all): Remove target.
43208         * malloc/Makefile: Include Makeconfig immediately after defining
43209         subdir.
43210         (all): Remove target.
43211         * manual/Makefile: Include Makeconfig immediately after defining
43212         subdir.
43213         * math/Makefile: Likewise.
43214         * misc/Makefile: Likewise.
43215         * nis/Makefile: Likewise.
43216         * nss/Makefile: Likewise.
43217         * po/Makefile: Likewise.
43218         (all): Remove target.
43219         * posix/Makefile: Include Makeconfig immediately after defining
43220         subdir.
43221         * pwd/Makefile: Likewise.
43222         * resolv/Makefile: Likewise.
43223         * resource/Makefile: Likewise.
43224         * rt/Makefile: Likewise.
43225         * setjmp/Makefile: Likewise.
43226         * shadow/Makefile: Likewise.
43227         * signal/Makefile: Likewise.
43228         * socket/Makefile: Likewise.
43229         * soft-fp/Makefile: Likewise.
43230         * stdio-common/Makefile: Likewise.
43231         * stdlib/Makefile: Likewise.
43232         * streams/Makefile: Likewise.
43233         * string/Makefile: Likewise.
43234         * sunrpc/Makefile: Likewise.
43235         (all): Remove target.
43236         * sysvipc/Makefile: Include Makeconfig immediately after defining
43237         subdir.
43238         * termios/Makefile: Likewise.
43239         * time/Makefile: Likewise.
43240         * timezone/Makefile: Likewise.
43241         (all): Remove target.
43242         * wcsmbs/Makefile: Include Makeconfig immediately after defining
43243         subdir.
43244         * wctype/Makefile: Likewise.
43246 2014-02-26  Steve Ellcey  <sellcey@mips.com>
43248         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
43249         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
43250         (libc_feholdexcept_setround_mips): Ditto.
43251         (libc_feholdsetround): New.
43252         (libc_feholdsetroundf): New.
43253         (libc_feholdsetroundl): New.
43254         (libc_feupdateenv_test_mips): New.
43255         (libc_feupdateenv_test): New.
43256         (libc_feupdateenv_testf): New.
43257         (libc_feupdateenv_testl): New.
43258         (libc_feresetround): New.
43259         (libc_feresetroundf): New.
43260         (libc_feresetroundl): New.
43261         (libc_fetestexcept_mips): New.
43262         (libc_fetestexcept): New.
43263         (libc_fetestexceptf): New.
43264         (libc_fetestexceptl): New.
43265         (HAVE_RM_CTX): New.
43266         (libc_feholdexcept_setround_mips_ctx): New.
43267         (libc_feholdexcept_setround_ctx): New.
43268         (libc_feholdexcept_setroundf_ctx): New.
43269         (libc_feholdexcept_setroundl_ctx): New.
43270         (libc_fesetenv_mips_ctx): New.
43271         (libc_fesetenv_ctx): New.
43272         (libc_fesetenv_ctxf): New.
43273         (libc_fesetenv_ctxl): New.
43274         (libc_feupdateenv_mips_ctx): New.
43275         (libc_feupdateenv_ctx): New.
43276         (libc_feupdateenvf_ctx): New.
43277         (libc_feupdateenvl_ctx): New.
43278         (libc_feholdsetround_mips_ctx): New.
43279         (libc_feholdsetround_ctx): New.
43280         (libc_feholdsetroundf_ctx): New.
43281         (libc_feholdsetroundl_ctx): New.
43282         (libc_feresetround_mips_ctx): New.
43283         (libc_feresetround_ctx): New.
43284         (libc_feresetroundf_ctx): New.
43285         (libc_feresetroundl_ctx): New.
43287 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
43289         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
43291         * manual/ipc.texi: New file.
43292         * manual/Makefile (chapters): Add ipc.
43293         * manual/job.texi: Add "Inter-Process Communication" to next.
43294         * manual/process.texi: Add "Inter-Process Communication" to prev.
43296 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43300 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
43302         * malloc/malloc.c (__libc_calloc): Simplify implementation.
43304         * manual/arith.texi: Fix spaces after sentences.
43305         * manual/charset.texi: Likewise.
43306         * manual/errno.texi: Likewise.
43307         * manual/install.texi: Likewise.
43308         * manual/llio.texi: Likewise.
43309         * manual/locale.texi: Likewise.
43310         * manual/maint.texi: Likewise.
43311         * manual/math.texi: Likewise.
43312         * manual/memory.texi: Likewise.
43313         * manual/message.texi: Likewise.
43314         * manual/probes.texi: Likewise.
43315         * manual/resource.texi: Likewise.
43316         * manual/signal.texi: Likewise.
43317         * manual/socket.texi: Likewise.
43318         * manual/stdio.texi: Likewise.
43319         * manual/string.texi: Likewise.
43320         * manual/time.texi: Likewise.
43321         * manual/users.texi: Likewise.
43323 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
43325         [BZ #16632]
43326         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
43327         _DEFAULT_SOURCE is defined.
43329 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
43330             Carlos O'Donell  <carlos@redhat.com>
43332         [BZ #16613]
43333         * elf/dl-tls.c (_dl_count_modids): New function.
43334         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
43335         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
43336         audit library and increment generation counter.
43337         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
43338         * elf/tst-audit9.c: New file.
43339         * elf/tst-auditmod9a.c: New file.
43340         * elf/tst-auditmod9b.c: New file.
43341         * elf/Makefile: Add rules to build and run tst-audit9.
43343 2014-02-25  Florian Weimer  <fweimer@redhat.com>
43345         [BZ #15347]
43346         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
43348 2014-02-25  Will Newton  <will.newton@linaro.org>
43350         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
43351         (__longjmp): Restore sp and lr before restoring callee
43352         saved registers.  Add longjmp and longjmp_target
43353         SystemTap probe point.
43354         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
43355         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
43356         Define to zero to match jmpbuf layout.
43357         * sysdeps/arm/setjmp.S: Include stap-probe.h.
43358         (__sigsetjmp): Save sp and lr before saving callee
43359         saved registers.  Add setjmp SystemTap probe point.
43361 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
43363         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43365 2014-02-24  Andreas Schwab  <schwab@suse.de>
43367         [BZ #15804]
43368         * elf/pldd.c (wait_for_ptrace_stop): New function.
43369         (main): Call it after attaching.
43371 2014-02-22  Roland McGrath  <roland@hack.frob.com>
43373         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
43374         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
43375         Versions files is now verboten.
43376         * hurd/Versions (libc: GLIBC_2.0):
43377         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
43378         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
43379         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
43380         * mach/Versions: Likewise.
43382         * csu/Versions: Remove unused %include.
43383         * resolv/Versions: Likewise.
43385 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
43387         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
43388         ($(objpfx)check-local-headers.out): Likewise.
43389         ($(objpfx)begin-end-check.out): Likewise.
43390         * Makerules (check-abi-%.out): Likewise.
43391         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
43392         ($(objpfx)test2.cat): Likewise.
43393         ($(objpfx)de/libc.cat): Likewise.
43394         ($(objpfx)test-gencat.out): Likewise.
43395         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43396         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43397         ($(objpfx)noload-mem): Likewise.
43398         ($(objpfx)tst-pathopt.out): Likewise.
43399         ($(objpfx)tst-rtld-load-self.out): Likewise.
43400         ($(objpfx)tst-array1-cmp.out): Likewise.
43401         ($(objpfx)tst-array1-static-cmp.out): Likewise.
43402         ($(objpfx)tst-array2-cmp.out): Likewise.
43403         ($(objpfx)tst-array3-cmp.out): Likewise.
43404         ($(objpfx)tst-array4-cmp.out): Likewise.
43405         ($(objpfx)tst-array5-cmp.out): Likewise.
43406         ($(objpfx)tst-array5-static-cmp.out): Likewise.
43407         ($(objpfx)check-textrel.out): Likewise.
43408         ($(objpfx)check-execstack.out): Likewise.
43409         ($(objpfx)check-localplt.out): Likewise.
43410         ($(objpfx)order2-cmp.out): Likewise.
43411         ($(objpfx)tst-leaks1-mem): Likewise.
43412         ($(objpfx)tst-leaks1-static-mem): Likewise.
43413         ($(objpfx)tst-initorder-cmp.out): Likewise.
43414         ($(objpfx)tst-initorder2-cmp.out): Likewise.
43415         ($(objpfx)tst-unused-dep.out): Likewise.
43416         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43417         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
43418         * iconv/Makefile (test-iconvconfig): Likewise.
43419         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
43420         ($(objpfx)iconv-test.out): Likewise.
43421         ($(objpfx)tst-tables.out): Likewise.
43422         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
43423         ($(objpfx)tst-gettext.out): Likewise.
43424         ($(objpfx)tst-translit.out): Likewise.
43425         ($(objpfx)tst-gettext2.out): Likewise.
43426         ($(objpfx)tst-gettext4.out): Likewise.
43427         ($(objpfx)tst-gettext6.out): Likewise.
43428         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
43429         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
43430         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
43431         ($(objpfx)tst-fopenloc-mem.out): Likewise.
43432         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
43433         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
43434         * posix/Makefile ($(objpfx)globtest.out): Likewise.
43435         ($(objpfx)wordexp-tst.out): Likewise.
43436         ($(objpfx)annexc.out): Likewise.
43437         ($(objpfx)tst-fnmatch-mem): Likewise.
43438         ($(objpfx)bug-regex2-mem): Likewise.
43439         ($(objpfx)bug-regex14-mem): Likewise.
43440         ($(objpfx)bug-regex21-mem): Likewise.
43441         ($(objpfx)bug-regex31-mem): Likewise.
43442         ($(objpfx)tst-vfork3-mem): Likewise.
43443         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43444         ($(objpfx)tst-pcre-mem): Likewise.
43445         ($(objpfx)tst-boost-mem): Likewise.
43446         ($(objpfx)tst-getconf.out): Likewise.
43447         ($(objpfx)bug-ga2-mem): Likewise.
43448         ($(objpfx)bug-glob2-mem): Likewise.
43449         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
43450         ($(objpfx)mtrace-tst-leaks2): Likewise.
43451         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
43452         ($(objpfx)tst-printf.out): Likewise.
43453         ($(objpfx)tst-setvbuf1.out): Likewise.
43454         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
43455         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
43456         ($(objpfx)tst-fmtmsg.out): Likewise.
43457         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
43458         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
43460         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
43461         * bits/sigaction.h [__USE_MISC]: Likewise.
43462         * bits/waitstatus.h: Update #endif comments.
43463         * ctype/ctype.h: Likewise.
43464         * dirent/dirent.h: Likewise.
43465         [__USE_MISC]: Remove redundant conditionals.
43466         * grp/grp.h: Update #endif comments.
43467         [__USE_GNU]: Remove redundant conditionals.
43468         [__USE_MISC]: Likewise.
43469         * inet/netinet/in.h [__USE_GNU]: Likewise.
43470         * io/sys/stat.h [__USE_MISC]: Likewise.
43471         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
43472         * libio/bits/stdio.h: Update #endif comments.
43473         [__USE_MISC]: Remove redundant conditionals.
43474         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
43475         * libio/stdio.h: Update #endif comments.
43476         [__USE_MISC]: Remove redundant conditionals.
43477         * math/bits/math-finite.h [__USE_MISC]: Likewise.
43478         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
43479         * math/math.h: Update #else and #endif comments.
43480         [__USE_MISC]: Remove redundant conditionals.
43481         * misc/sys/uio.h: Update #endif comments.
43482         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
43483         * posix/glob.h [__USE_MISC]: Likewise.
43484         * posix/sys/types.h: Update #endif comments.
43485         [__USE_MISC]: Remove redundant conditionals.
43486         * posix/sys/wait.h: Update #endif comments.
43487         [__USE_MISC]: Remove redundant conditionals.
43488         * posix/unistd.h: Update #endif comments.
43489         [__USE_MISC]: Remove redundant conditionals.
43490         * pwd/pwd.h [__USE_GNU]: Likewise.
43491         [__USE_MISC]: Likewise.
43492         * resolv/netdb.h [__USE_GNU]: Likewise.
43493         * signal/signal.h: Update #endif comments.
43494         [__USE_MISC]: Remove redundant conditionals.
43495         * stdlib/stdlib.h: Update #else and #endif comments.
43496         [__USE_MISC]: Remove redundant conditionals.
43497         [__USE_GNU]: Likewise.
43498         * string/bits/string2.h [__USE_MISC]: Likewise.
43499         * string/string.h: Update #endif comments.
43500         [__USE_MISC]: Remove redundant conditionals.
43501         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
43502         Likewise.
43503         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
43504         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
43505         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
43506         Likewise.
43507         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
43508         Likewise.
43509         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
43510         comments.
43511         [__USE_MISC]: Remove redundant conditionals.
43512         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
43513         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
43514         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
43515         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
43516         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
43517         Likewise.
43518         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
43519         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
43520         Likewise.
43521         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
43522         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
43523         Likewise.
43524         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
43525         Likewise.
43526         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
43527         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
43528         Likewise.
43529         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
43530         Likewise.
43531         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
43532         * sysdeps/x86/bits/string.h: Update #endif comments.
43533         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
43534         conditionals.
43535         * time/sys/time.h: Update #endif comments.
43536         * time/time.h: Likewise.
43537         [__USE_MISC]: Remove redundant conditionals.
43539 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
43541         [BZ #16600]
43542         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
43544 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
43546         * Versions.def (librt): Add GLIBC_2.17.
43548 2014-02-21  Adam Conrad  <adconrad@0c3.net>
43550         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
43551         synonym for _SYS_AUXV_H to allow direct inclusion.
43552         * sysdeps/sparc/bits/hwcap.h: Likewise.
43553         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
43554         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
43555         * sysdeps/sparc/sysdep.h: Likewise.
43557 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43559         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
43561 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43563         * benchtests/bench-strrchr.c: Print length instead of position.
43565 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
43567         [BZ #16611]
43568         * sysdeps/unix/sysv/linux/kernel-features.h
43569         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
43570         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
43571         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
43572         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
43573         Likewise.
43574         [__i386__ || __powerpc__ || __sh__ || __sparc__]
43575         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43576         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
43577         (__ASSUME_SENDMMSG): Define instead of using previous
43578         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
43579         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43580         (__ASSUME_SENDMMSG_SYSCALL): Define.
43581         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43582         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
43583         Likewise.
43584         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43585         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43586         Likewise.
43587         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43588         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43589         Likewise.
43590         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
43591         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43592         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43593         [__ASSUME_SENDMMSG]: Change conditionals to
43594         [__ASSUME_SENDMMSG_SOCKETCALL].
43595         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43596         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
43597         Define.
43598         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43599         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
43600         Likewise.
43601         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
43602         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43603         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43604         [!__ASSUME_SENDMMSG]: Change conditional to
43605         [!__ASSUME_SENDMMSG_SOCKETCALL].
43606         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43607         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43608         Define.
43610         [BZ #16610]
43611         * sysdeps/unix/sysv/linux/kernel-features.h
43612         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
43613         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
43614         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
43615         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
43616         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43617         [__i386__ || __sparc__]
43618         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43619         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
43620         (__ASSUME_RECVMMSG): Define instead of using previous
43621         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
43622         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43623         (__ASSUME_RECVMMSG_SYSCALL): Define.
43624         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43625         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43626         Likewise.
43627         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43628         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43629         Likewise.
43630         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43631         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43632         Likewise.
43633         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
43634         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43635         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43636         [__ASSUME_RECVMMSG]: Change condition to
43637         [__ASSUME_RECVMMSG_SOCKETCALL].
43638         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43639         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43640         Define.
43641         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43642         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43643         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43644         Likewise.
43645         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
43646         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43647         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43648         [!__ASSUME_RECVMMSG]: Change condition to
43649         [!__ASSUME_RECVMMSG_SOCKETCALL].
43650         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43651         (__ASSUME_RECVMMSG_SYSCALL): Define.
43653         [BZ #16609]
43654         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
43655         __powerpc__ || __s390__ || __sh__ || __sparc__]
43656         (__ASSUME_SOCKETCALL): Define.
43657         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
43658         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
43659         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
43660         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
43661         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43662         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43663         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
43664         (__ASSUME_ACCEPT4): Define instead of using previous
43665         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
43666         __powerpc__ || __sparc__ || __s390__)] condition.
43667         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43668         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43669         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
43670         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43671         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43672         [!__ASSUME_ACCEPT4]: Change condition to
43673         [!__ASSUME_ACCEPT4_SOCKETCALL].
43674         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43675         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
43676         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
43677         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43678         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
43679         __ASSUME_ACCEPT4_SYSCALL.
43680         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
43681         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
43682         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43683         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
43684         __ASSUME_ACCEPT4_SYSCALL.
43685         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
43686         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43687         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43688         [__ASSUME_ACCEPT4]: Change condition to
43689         [__ASSUME_ACCEPT4_SOCKETCALL].
43690         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43691         (__ASSUME_SOCKETCALL): Define.
43692         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
43693         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43694         (__ASSUME_SOCKETCALL): Define.
43695         (__ASSUME_ACCEPT4): Remove.
43696         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
43697         Define.
43698         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43699         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
43700         Likewise.
43701         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43702         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43704         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
43705         macro.
43706         (HWCAP_ARM_LPAE): Likewise.
43707         (HWCAP_ARM_EVTSTRM): Likewise.
43708         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
43709         Add vpfd32, lpae and evtstrm.
43710         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
43711         Increase to 22.
43713 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
43715         * math/auto-libm-test-in: Add tests of clog10.
43716         * math/auto-libm-test-out: Regenerated.
43717         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
43718         * sysdeps/i386/fpu/libm-test-ulps: Update.
43719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43721 2014-02-18  Andreas Schwab  <schwab@suse.de>
43723         [BZ #16574]
43724         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
43725         Store non-zero if the second buffer was newly allocated.
43726         (send_dg): Likewise.
43727         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
43728         to send_vc and send_dg.
43729         (res_nsend): Pass NULL for ansp2_malloced.
43730         * resolv/res_query.c (__libc_res_nquery): Add parameter
43731         answerp2_malloced and pass it down to __libc_res_nsend.
43732         (res_nquery): Pass additional NULL to __libc_res_nquery.
43733         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
43734         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
43735         second answer buffer if answerp2_malloced was set.
43736         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
43737         (__libc_res_nquerydomain): Add parameter
43738         answerp2_malloced and pass it down to __libc_res_nquery.
43739         (res_nquerydomain): Pass additional NULL to
43740         __libc_res_nquerydomain.
43741         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
43742         additional NULL to __libc_res_nsend and __libc_res_nquery.
43743         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43744         additional NULL to __libc_res_nsearch.
43745         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
43746         parameter of __libc_res_nsearch to check for separately allocated
43747         second buffer.
43748         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
43749         __libc_res_nquery.
43750         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
43751         additional NULL to __libc_res_nquery.
43752         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
43753         __libc_res_nsearch.
43754         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
43755         * include/resolv.h: Update prototypes of __libc_res_nquery,
43756         __libc_res_nsearch, __libc_res_nsend.
43758 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
43760         * math/auto-libm-test-in: Add tests of fma.
43761         * math/auto-libm-test-out: Regenerated.
43762         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43763         (fma_towardzero_test_data): Likewise.
43764         (fma_downward_test_data): Likewise.
43765         (fma_upward_test_data): Likewise.
43766         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43767         mpc_mode.
43768         (rounding_modes): Add values for new field.
43769         (func_calc_method): Add value mpfr_fff_f.
43770         (func_calc_desc): Add mpfr_fff_f union field.
43771         (test_function): Add field exact_args.
43772         (FUNC): Add macro argument EXACT_ARGS.
43773         (FUNC_mpfr_f_f): Update call to FUNC.
43774         (FUNC_mpfr_f_f): Likewise.
43775         (FUNC_mpfr_ff_f): Likewise.
43776         (FUNC_mpfr_if_f): Likewise.
43777         (FUNC_mpc_c_f): Likewise.
43778         (FUNC_mpc_c_c): Likewise.
43779         (test_functions): Add fma.  Update calls to FUNC.
43780         (handle_input_arg): Add argument exact_args.
43781         (add_test): Update call to handle_input_arg.
43782         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
43783         (output_for_one_input_case): Update call to calc_generic_results.
43784         Recalculate exact zero results in each rounding mode.
43786         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43787         non-negative before setting low bit.
43788         * math/auto-libm-test-in: Mark one asin test possibly having
43789         spurious underflow.
43790         * math/auto-libm-test-out: Regenerated.
43791         * sysdeps/i386/fpu/libm-test-ulps: Update.
43792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43794 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
43796         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43797         * sysdeps/unix/sysv/linux/microblaze: Move directory from
43798         ports/sysdeps/unix/sysv/linux/microblaze.
43799         * README: Add missing listing for microblaze*-*-linux-gnu.
43801 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
43803         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43804         duplicate code
43806 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
43808         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43809         * sysdeps/unix/sysv/linux/ia64: Move directory from
43810         ports/sysdeps/unix/sysv/linux/ia64.
43811         * README: Update listing for ia64-*-linux-gnu.
43813 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
43814             Joseph Myers  <joseph@codesourcery.com>
43816         * Makeconfig (test-name): New variable.
43817         (evaluate-test): Likewise.
43818         * Makerules (do-test-clean): Remove .test-result files.
43819         (common-mostlyclean): Likewise.
43820         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43821         * scripts/evaluate-test.sh: New file.
43823 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
43825         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43826         separate $(objpfx)tst-fopenloc-cmp.out and
43827         $(objpfx)tst-fopenloc-mem.out targets.
43828         (tests): Update dependencies.
43829         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43830         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43831         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43832         (tst-rxspencer-no-utf8-ARGS): New variable.
43833         (tst-rxspencer-no-utf8-ENV): Likewise.
43834         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43835         instead of $(objpfx)tst-rxspencer-mem.
43836         ($(objpfx)tst-rxspencer-mem): Change target to
43837         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
43838         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
43839         * posix/tst-rxspencer-no-utf8.c: New file.
43841         * elf/Makefile ($(objpfx)order.out): Remove rule.
43842         [$(run-built-tests) = yes] (tests): Depend on
43843         $(objpfx)order-cmp.out.
43844         ($(objpfx)order-cmp.out): New rule.
43845         [$(run-built-tests) = yes] (tests): Depend on
43846         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
43847         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
43848         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
43849         $(objpfx)tst-array5-static-cmp.out.
43850         ($(objpfx)tst-array1.out): Remove rule.
43851         ($(objpfx)tst-array1-cmp.out): New rule.
43852         ($(objpfx)tst-array1-static.out): Remove rule.
43853         ($(objpfx)tst-array1-static-cmp.out): New rule.
43854         ($(objpfx)tst-array2.out): Remove rule.
43855         ($(objpfx)tst-array2-cmp.out): New rule.
43856         ($(objpfx)tst-array3.out): Remove rule.
43857         ($(objpfx)tst-array3-cmp.out): New rule.
43858         ($(objpfx)tst-array4.out): Remove rule.
43859         ($(objpfx)tst-array4-cmp.out): New rule.
43860         ($(objpfx)tst-array5.out): Remove rule.
43861         ($(objpfx)tst-array5-cmp.out): New rule.
43862         ($(objpfx)tst-array5-static.out): Remove rule.
43863         ($(objpfx)tst-array5-static-cmp.out): New rule.
43864         [$(run-built-tests) = yes] (tests): Depend on
43865         $(objpfx)order2-cmp.out.
43866         ($(objpfx)order2.out): Remove rule.
43867         ($(objpfx)order2-cmp.out): New rule.
43868         ($(objpfx)tst-initorder.out): Remove rule.
43869         [$(run-built-tests) = yes] (tests): Depend on
43870         $(objpfx)tst-initorder-cmp.out.
43871         ($(objpfx)tst-initorder-cmp.out): New rule.
43872         ($(objpfx)tst-initorder2.out): Remove rule.
43873         [$(run-built-tests) = yes] (tests): Depend on
43874         $(objpfx)tst-initorder2-cmp.out.
43875         ($(objpfx)tst-initorder2-cmp.out): New rule.
43876         [$(run-built-tests) = yes] (tests): Depend on
43877         $(objpfx)tst-unused-dep-cmp.out.
43878         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43879         ($(objpfx)tst-unused-dep-cmp.out): New rule.
43880         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43881         on $(objpfx)tst-setvbuf1-cmp.out.
43882         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43883         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43884         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43885         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43886         ($(objpfx)tst-svc.out): Remove rule.
43887         ($(objpfx)tst-svc-cmp.out): New rule.
43889 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
43891         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43892         * ctype/ctype.h [__USE_MISC]: Likewise.
43893         * dirent/dirent.h [__USE_MISC]: Likewise.
43894         * grp/grp.h [__USE_MISC]: Likewise.
43895         * io/fcntl.h [__USE_MISC]: Likewise.
43896         * io/sys/stat.h [__USE_MISC]: Likewise.
43897         * libio/stdio.h [__USE_MISC]: Likewise.
43898         * posix/unistd.h [__USE_MISC]: Likewise.
43899         * pwd/pwd.h [__USE_MISC]: Likewise.
43900         * stdlib.h [__USE_MISC]: Likewise.
43901         * string/bits/string2.h [__USE_MISC]: Likewise.
43902         * string/string.h [__USE_MISC]: Likewise.
43903         * time/time.h [__USE_MISC]: Likewise.
43905 2014-02-13  Andreas Schwab  <schwab@suse.de>
43907         [BZ #16574]
43908         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
43909         second answer buffer if it was separately allocated.
43911 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
43913         * sysdeps/mips/math-tests.h: Include <features.h>.
43914         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43915         (ROUNDING_TESTS_long_double): Do not define.
43916         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43917         (EXCEPTION_TESTS_long_double): Likewise.
43918         * sysdeps/mips/mips64/libm-test-ulps: Update.
43920         * include/features.h (__USE_BSD): Remove macro definitions.
43921         (__USE_SVID): Likewise.
43922         (_BSD_SOURCE): Likewise.
43923         (_SVID_SOURCE): Likewise.
43924         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
43925         from definition of _DEFAULT_SOURCE.
43926         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
43927         [_DEFAULT_SOURCE].
43928         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
43929         * bits/mman.h [__USE_BSD]: Likewise.
43930         * bits/termios.h [__USE_BSD]: Likewise.
43931         * bits/waitstatus.h [__USE_BSD]: Likewise.
43932         * ctype/ctype.h [__USE_SVID]: Likewise.
43933         * dirent/dirent.h [__USE_BSD]: Likewise.
43934         * grp/grp.h [__USE_SVID]: Likewise.
43935         [__USE_BSD]: Likewise.
43936         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
43937         * io/fcntl.h [__USE_BSD]: Likewise.
43938         * io/ftw.h [__USE_BSD]: Likewise.
43939         * io/sys/stat.h [__USE_BSD]: Likewise.
43940         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
43941         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
43942         * libio/stdio.h [__USE_SVID]: Likewise.
43943         [__USE_BSD]: Likewise.
43944         * math/math.h [__USE_SVID]: Likewise.
43945         [__USE_BSD]: Likewise.
43946         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
43947         * misc/bits/syslog.h [__USE_BSD]: Likewise.
43948         * misc/search.h [__USE_SVID]: Likewise.
43949         * misc/sys/mman.h [__USE_BSD]: Likewise.
43950         * misc/sys/syslog.h [__USE_BSD]: Likewise.
43951         * misc/sys/uio.h [__USE_BSD]: Likewise.
43952         * posix/bits/unistd.h [__USE_BSD]: Likewise.
43953         * posix/glob.h [__USE_BSD]: Likewise.
43954         * posix/regex.h [__USE_BSD]: Likewise.
43955         * posix/sys/types.h [__USE_BSD]: Likewise.
43956         [__USE_SVID]: Likewise.
43957         * posix/sys/utsname.h [__USE_SVID]: Likewise.
43958         * posix/sys/wait.h [__USE_BSD]: Likewise.
43959         [__USE_SVID]: Likewise.
43960         * posix/unistd.h [__USE_BSD]: Likewise.
43961         [__USE_SVID]: Likewise.
43962         * pwd/pwd.h [__USE_SVID]: Likewise.
43963         * resolv/netdb.h [__USE_BSD]: Likewise.
43964         * setjmp/setjmp.h [__USE_BSD]: Likewise.
43965         * signal/signal.h [__USE_BSD]: Likewise.
43966         [__USE_SVID]: Likewise.
43967         * socket/sys/socket.h [__USE_BSD]: Likewise.
43968         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
43969         * stdlib/stdlib.h [__USE_BSD]: Likewise.
43970         [__USE_SVID]: Likewise.
43971         * string/bits/string2.h [__USE_BSD]: Likewise.
43972         [__USE_SVID]: Likewise.
43973         * string/bits/string3.h [__USE_BSD]: Likewise.
43974         * string/endian.h [__USE_BSD]: Likewise.
43975         * string/string.h [__USE_SVID]: Likewise.
43976         [__USE_BSD]: Likewise.
43977         * string/strings.h [__USE_BSD]: Likewise.
43978         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
43979         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
43980         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
43981         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
43982         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
43983         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
43984         Likewise.
43985         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
43986         Likewise.
43987         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
43988         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
43989         Likewise.
43990         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
43991         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
43992         Likewise.
43993         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
43994         Likewise.
43995         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
43996         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
43997         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
43998         Likewise.
43999         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
44000         Likewise.
44001         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
44002         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
44003         * termios/termios.h [__USE_BSD]: Likewise.
44004         * time/sys/time.h [__USE_BSD]: Likewise.
44005         * time/time.h [__USE_BSD]: Likewise.
44006         [__USE_SVID]: Likewise.
44008         * Makefile (subdir_targets): Remove subdir_lint.out.
44010         * stdio-common/Makefile (do-tst-unbputc): Remove target.
44011         (do-tst-printf): Likewise.
44012         (tests): Depend directly on $(objpfx)tst-unbputc.out and
44013         $(objpfx)tst-printf.out.
44015         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
44017         * Makerules (check-abi-%): Change target to
44018         $(objpfx)check-abi-%.out.
44019         (check-abi target): Update dependencies.
44020         (check-abi-pattern variable): Redirect output of diff to $@.
44021         (check-abi variable): Likewise.
44022         * elf/Makefile (check-abi): Update dependencies.
44024         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
44025         unused.
44026         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
44027         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
44028         subnormal range.
44029         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
44030         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
44031         value has largest subnormal exponent.
44032         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
44033         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
44034         * sysdeps/aarch64/soft-fp/sfp-machine.h
44035         (_FP_TININESS_AFTER_ROUNDING): New macro.
44036         * sysdeps/alpha/soft-fp/sfp-machine.h
44037         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44038         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44039         Likewise.
44040         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
44041         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44042         * sysdeps/mips/soft-fp/sfp-machine.h
44043         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44044         * sysdeps/powerpc/soft-fp/sfp-machine.h
44045         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44046         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44047         Likewise.
44048         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44049         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44050         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44051         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44052         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44053         Likewise.
44055 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
44057         [BZ #16545]
44058         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
44059         model 1.
44061 2014-02-12  Richard Henderson  <rth@redhat.com>
44063         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
44064         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
44065         * sysdeps/unix/sysv/linux/alpha: Move directory from
44066         ports/sysdeps/unix/sysv/linux/alpha.
44067         * README: Update listing for alpha-*-linux-gnu.
44069 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
44071         * include/features.h: Update comment documenting feature test
44072         macros.
44073         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
44074         _DEFAULT_SOURCE.
44075         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
44076         (_SVID_SOURCE): Likewise.
44077         (_DEFAULT_SOURCE): Update description of default features.
44078         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
44079         with _GNU_SOURCE.
44080         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
44081         (S_ISVTX): Likewise.
44082         * manual/math.texi (Mathematical Constants): Likewise.
44083         * manual/signal.texi (Interrupted Primitives): Likewise.
44084         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
44085         * math/test-matherr.c (_SVID_SOURCE): Do not define.
44086         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
44087         Don't refer to _SVID_SOURCE in warning text.
44089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44091         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
44092         already defined.
44093         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
44094         * sysdeps/mips/dl-lookup.c: Remove.
44095         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
44097 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44099         [BZ #16447]
44100         * math/auto-libm-test-in: Add testcase for expl.
44101         * math/auto-libm-test-out: Regenerate.
44102         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
44103         calculation of unsafe.
44104         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
44106 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44108         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
44109         * sysdeps/unix/sysv/linux/aarch64: Move directory from
44110         ports/sysdeps/unix/sysv/linux/aarch64.
44111         * README: Update listing for aarch64*-*-linux-gnu.
44113 2014-02-11  Will Newton  <will.newton@linaro.org>
44115         * manual/probes.texi (Mathematical Function Probes): Use
44116         "triggered" instead of "hit".
44118         * manual/probes.texi (Internal Probes): Add documentation
44119         of setjmp, longjmp and longjmp_target probes.
44121         * include/stap-probe.h: Add comment about probe argument
44122         format.
44124         * malloc/mtrace.c (attribute_hidden): Remove unused macro
44125         definition.  (tr_where, tr_freehook, tr_mallochook,
44126         tr_reallochook, tr_memalignhook): Use ANSI protoype.
44128 2014-02-11  David S. Miller  <davem@davemloft.net>
44130         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
44131         processing int_tests.
44133 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
44135         * sysdeps/mips: Move directory from ports/sysdeps/mips.
44136         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
44137         * sysdeps/unix/sysv/linux/mips: Move directory from
44138         ports/sysdeps/unix/sysv/linux/mips.
44139         * README: Update listing for mips-*-linux-gnu and
44140         mips64-*-linux-gnu.
44142 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
44144         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
44145         * sysdeps/unix/sysv/linux/m68k: Move directory from
44146         ports/sysdeps/unix/sysv/linux/m68k.
44147         * README: Update listing for m68k-*-linux-gnu.
44149 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
44151         * sysdeps/tile: Move directory from ports/sysdeps/tile.
44152         * sysdeps/unix/sysv/linux/generic: Move directory from
44153         ports/sysdeps/unix/sysv/linux/generic.
44154         * sysdeps/unix/sysv/linux/tile: Move directory from
44155         ports/sysdeps/unix/sysv/linux/tile.
44156         * README: Update listing for tile*-*-linux-gnu.
44158 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
44160         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
44161         __builtin_expect.
44162         * benchtests/bench-memmem.c (simple_memmem): Likewise.
44163         * catgets/open_catalog.c (__open_catalog): Likewise.
44164         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
44165         * debug/confstr_chk.c: Likewise.
44166         * debug/fread_chk.c (__fread_chk): Likewise.
44167         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
44168         * debug/getgroups_chk.c: Likewise.
44169         * debug/mbsnrtowcs_chk.c: Likewise.
44170         * debug/mbsrtowcs_chk.c: Likewise.
44171         * debug/mbstowcs_chk.c: Likewise.
44172         * debug/memcpy_chk.c: Likewise.
44173         * debug/memmove_chk.c: Likewise.
44174         * debug/mempcpy_chk.c: Likewise.
44175         * debug/memset_chk.c: Likewise.
44176         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44177         * debug/strcat_chk.c (__strcat_chk): Likewise.
44178         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
44179         * debug/strncat_chk.c (__strncat_chk): Likewise.
44180         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
44181         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
44182         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
44183         * debug/wcpncpy_chk.c: Likewise.
44184         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44185         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
44186         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
44187         * debug/wcsncpy_chk.c: Likewise.
44188         * debug/wcsnrtombs_chk.c: Likewise.
44189         * debug/wcsrtombs_chk.c: Likewise.
44190         * debug/wcstombs_chk.c: Likewise.
44191         * debug/wmemcpy_chk.c: Likewise.
44192         * debug/wmemmove_chk.c: Likewise.
44193         * debug/wmempcpy_chk.c: Likewise.
44194         * debug/wmemset_chk.c: Likewise.
44195         * dirent/scandirat.c (SCANDIRAT): Likewise.
44196         * dlfcn/dladdr1.c (dladdr1): Likewise.
44197         * dlfcn/dladdr.c (dladdr): Likewise.
44198         * dlfcn/dlclose.c (dlclose_doit): Likewise.
44199         * dlfcn/dlerror.c (__dlerror): Likewise.
44200         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
44201         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
44202         * dlfcn/dlopen.c (dlopen_doit): Likewise.
44203         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
44204         * dlfcn/dlsym.c (dlsym_doit): Likewise.
44205         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
44206         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
44207         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
44208         Likewise.
44209         * elf/dl-conflict.c: Likewise.
44210         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
44211         * elf/dl-dst.h: Likewise.
44212         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
44213         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
44214         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
44215         * elf/dl-init.c (call_init, _dl_init): Likewise.
44216         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
44217         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
44218         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
44219         Likewise.
44220         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
44221         Likewise.
44222         * elf/dl-minimal.c (__libc_memalign): Likewise.
44223         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
44224         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44225         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
44226         * elf/dl-sym.c (do_sym): Likewise.
44227         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
44228         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
44229         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
44230         * elf/dl-writev.h (_dl_writev): Likewise.
44231         * elf/ldconfig.c (search_dir): Likewise.
44232         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
44233         (dl_main): Likewise.
44234         * elf/setup-vdso.h (setup_vdso): Likewise.
44235         * grp/compat-initgroups.c (compat_call): Likewise.
44236         * grp/fgetgrent.c (fgetgrent): Likewise.
44237         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
44238         * grp/putgrent.c (putgrent): Likewise.
44239         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44240         Likewise.
44241         * hurd/hurdinit.c: Likewise.
44242         * iconvdata/8bit-gap.c (struct): Likewise.
44243         * iconvdata/ansi_x3.110.c : Likewise.
44244         * iconvdata/big5.c : Likewise.
44245         * iconvdata/big5hkscs.c : Likewise.
44246         * iconvdata/cp1255.c: Likewise.
44247         * iconvdata/cp1258.c : Likewise.
44248         * iconvdata/cp932.c : Likewise.
44249         * iconvdata/euc-cn.c: Likewise.
44250         * iconvdata/euc-jisx0213.c : Likewise.
44251         * iconvdata/euc-jp.c: Likewise.
44252         * iconvdata/euc-jp-ms.c : Likewise.
44253         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
44254         * iconvdata/gb18030.c : Likewise.
44255         * iconvdata/gbbig5.c (const): Likewise.
44256         * iconvdata/gbgbk.c: Likewise.
44257         * iconvdata/gbk.c : Likewise.
44258         * iconvdata/ibm1364.c : Likewise.
44259         * iconvdata/ibm930.c : Likewise.
44260         * iconvdata/ibm932.c: Likewise.
44261         * iconvdata/ibm933.c : Likewise.
44262         * iconvdata/ibm935.c : Likewise.
44263         * iconvdata/ibm937.c : Likewise.
44264         * iconvdata/ibm939.c : Likewise.
44265         * iconvdata/ibm943.c: Likewise.
44266         * iconvdata/iso_11548-1.c: Likewise.
44267         * iconvdata/iso-2022-cn.c : Likewise.
44268         * iconvdata/iso-2022-cn-ext.c : Likewise.
44269         * iconvdata/iso-2022-jp-3.c: Likewise.
44270         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
44271         * iconvdata/iso-2022-kr.c : Likewise.
44272         * iconvdata/iso646.c (gconv_end): Likewise.
44273         * iconvdata/iso_6937-2.c : Likewise.
44274         * iconvdata/iso_6937.c : Likewise.
44275         * iconvdata/iso8859-1.c: Likewise.
44276         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
44277         * iconvdata/shift_jisx0213.c : Likewise.
44278         * iconvdata/sjis.c : Likewise.
44279         * iconvdata/t.61.c : Likewise.
44280         * iconvdata/tcvn5712-1.c : Likewise.
44281         * iconvdata/tscii.c: Likewise.
44282         * iconvdata/uhc.c : Likewise.
44283         * iconvdata/unicode.c (gconv_end): Likewise.
44284         * iconvdata/utf-16.c (gconv_end): Likewise.
44285         * iconvdata/utf-32.c (gconv_end): Likewise.
44286         * iconvdata/utf-7.c (base64): Likewise.
44287         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
44288         * iconv/gconv_close.c (__gconv_close): Likewise.
44289         * iconv/gconv_open.c (__gconv_open): Likewise.
44290         * iconv/gconv_simple.c (internal_ucs4_loop_single)
44291         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
44292         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
44293         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
44294         (ucs4le_internal_loop_single): Likewise.
44295         * iconv/iconv.c (iconv): Likewise.
44296         * iconv/iconv_close.c: Likewise.
44297         * iconv/loop.c (SINGLE): Likewise.
44298         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
44299         * include/atomic.h: Likewise.
44300         * inet/inet6_option.c (option_alloc): Likewise.
44301         * intl/bindtextdom.c (set_binding_values): Likewise.
44302         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
44303         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
44304         * intl/localealias.c (read_alias_file): Likewise.
44305         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
44306         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
44307         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
44308         * libio/fmemopen.c (fmemopen): Likewise.
44309         * libio/iofgets.c (_IO_fgets): Likewise.
44310         * libio/iofgets_u.c (fgets_unlocked): Likewise.
44311         * libio/iofgetws.c (fgetws): Likewise.
44312         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
44313         * libio/iogetdelim.c (_IO_getdelim): Likewise.
44314         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
44315         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
44316         * locale/findlocale.c (_nl_find_locale): Likewise.
44317         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
44318         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
44319         Likewise.
44320         * locale/setlocale.c (setlocale): Likewise.
44321         * login/programs/pt_chown.c (main): Likewise.
44322         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
44323         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
44324         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
44325         (mmap, mmap64, mremap, munmap): Likewise.
44326         * math/e_exp2l.c: Likewise.
44327         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
44328         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
44329         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
44330         * math/s_catan.c (__catan): Likewise.
44331         * math/s_catanf.c (__catanf): Likewise.
44332         * math/s_catanh.c (__catanh): Likewise.
44333         * math/s_catanhf.c (__catanhf): Likewise.
44334         * math/s_catanhl.c (__catanhl): Likewise.
44335         * math/s_catanl.c (__catanl): Likewise.
44336         * math/s_ccosh.c (__ccosh): Likewise.
44337         * math/s_ccoshf.c (__ccoshf): Likewise.
44338         * math/s_ccoshl.c (__ccoshl): Likewise.
44339         * math/s_cexp.c (__cexp): Likewise.
44340         * math/s_cexpf.c (__cexpf): Likewise.
44341         * math/s_cexpl.c (__cexpl): Likewise.
44342         * math/s_clog10.c (__clog10): Likewise.
44343         * math/s_clog10f.c (__clog10f): Likewise.
44344         * math/s_clog10l.c (__clog10l): Likewise.
44345         * math/s_clog.c (__clog): Likewise.
44346         * math/s_clogf.c (__clogf): Likewise.
44347         * math/s_clogl.c (__clogl): Likewise.
44348         * math/s_csin.c (__csin): Likewise.
44349         * math/s_csinf.c (__csinf): Likewise.
44350         * math/s_csinh.c (__csinh): Likewise.
44351         * math/s_csinhf.c (__csinhf): Likewise.
44352         * math/s_csinhl.c (__csinhl): Likewise.
44353         * math/s_csinl.c (__csinl): Likewise.
44354         * math/s_csqrt.c (__csqrt): Likewise.
44355         * math/s_csqrtf.c (__csqrtf): Likewise.
44356         * math/s_csqrtl.c (__csqrtl): Likewise.
44357         * math/s_ctan.c (__ctan): Likewise.
44358         * math/s_ctanf.c (__ctanf): Likewise.
44359         * math/s_ctanh.c (__ctanh): Likewise.
44360         * math/s_ctanhf.c (__ctanhf): Likewise.
44361         * math/s_ctanhl.c (__ctanhl): Likewise.
44362         * math/s_ctanl.c (__ctanl): Likewise.
44363         * math/w_pow.c: Likewise.
44364         * math/w_powf.c: Likewise.
44365         * math/w_powl.c: Likewise.
44366         * math/w_scalb.c (sysv_scalb): Likewise.
44367         * math/w_scalbf.c (sysv_scalbf): Likewise.
44368         * math/w_scalbl.c (sysv_scalbl): Likewise.
44369         * misc/error.c (error_tail): Likewise.
44370         * misc/pselect.c (__pselect): Likewise.
44371         * nis/nis_callback.c (__nis_create_callback): Likewise.
44372         * nis/nis_call.c (__nisfind_server): Likewise.
44373         * nis/nis_creategroup.c (nis_creategroup): Likewise.
44374         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
44375         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
44376         * nis/nis_getservlist.c (nis_getservlist): Likewise.
44377         * nis/nis_lookup.c (nis_lookup): Likewise.
44378         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
44379         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
44380         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
44381         * nis/nis_xdr.c (xdr_endpoint): Likewise.
44382         * nis/nss_compat/compat-grp.c (getgrent_next_file)
44383         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
44384         * nis/nss_compat/compat-initgroups.c (add_group)
44385         (internal_getgrent_r): Likewise.
44386         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
44387         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
44388         * nis/nss_compat/compat-spwd.c (getspent_next_file)
44389         (internal_getspnam_r): Likewise.
44390         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
44391         (_nss_nis_getaliasbyname_r): Likewise.
44392         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
44393         (_nss_nis_getntohost_r): Likewise.
44394         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44395         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44396         (_nss_nis_getgrgid_r): Likewise.
44397         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44398         (internal_nis_gethostent_r, internal_gethostbyname2_r)
44399         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44400         (_nss_nis_gethostbyname4_r): Likewise.
44401         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44402         (initgroups_netid): Likewise.
44403         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44404         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44405         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44406         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44407         (_nss_nis_getprotobynumber_r): Likewise.
44408         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44409         (_nss_nis_getsecretkey): Likewise.
44410         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44411         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44412         (_nss_nis_getpwuid_r): Likewise.
44413         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44414         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44415         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44416         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44417         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
44418         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
44419         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
44420         Likewise.
44421         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
44422         (_nss_nisplus_getntohost_r): Likewise.
44423         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
44424         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
44425         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
44426         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
44427         Likewise.
44428         * nis/nss_nisplus/nisplus-initgroups.c
44429         (_nss_nisplus_initgroups_dyn): Likewise.
44430         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
44431         (_nss_nisplus_getnetbyaddr_r): Likewise.
44432         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
44433         (_nss_nisplus_getprotobynumber_r): Likewise.
44434         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
44435         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
44436         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
44437         Likewise.
44438         * nis/nss_nisplus/nisplus-service.c
44439         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
44440         (_nss_nisplus_getservbyport_r): Likewise.
44441         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
44442         (_nss_nisplus_getspnam_r): Likewise.
44443         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
44444         Likewise.
44445         * nscd/aicache.c (addhstaiX): Likewise.
44446         * nscd/cache.c (cache_search, prune_cache): Likewise.
44447         * nscd/connections.c (register_traced_file, send_ro_fd)
44448         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
44449         (main_loop_epoll): Likewise.
44450         * nscd/grpcache.c (addgrbyX): Likewise.
44451         * nscd/hstcache.c (addhstbyX): Likewise.
44452         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44453         * nscd/mem.c (gc, mempool_alloc): Likewise.
44454         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
44455         (addinnetgrX): Likewise.
44456         * nscd/nscd-client.h (__nscd_acquire_maplock)
44457         (__nscd_drop_map_ref): Likewise.
44458         * nscd/nscd_getai.c (__nscd_getai): Likewise.
44459         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
44460         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
44461         Likewise.
44462         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
44463         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44464         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
44465         (__nscd_get_map_ref): Likewise.
44466         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
44467         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
44468         Likewise.
44469         * nscd/pwdcache.c (addpwbyX): Likewise.
44470         * nscd/selinux.c (preserve_capabilities): Likewise.
44471         * nscd/servicescache.c (addservbyX): Likewise.
44472         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
44473         * posix/fnmatch.c (fnmatch): Likewise.
44474         * posix/getopt.c (_getopt_internal_r): Likewise.
44475         * posix/glob.c (glob, glob_in_dir): Likewise.
44476         * posix/wordexp.c (exec_comm_child): Likewise.
44477         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
44478         (getanswer_r, gaih_getanswer_slice): Likewise.
44479         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
44480         * resolv/res_init.c: Likewise.
44481         * resolv/res_mkquery.c (res_nmkquery): Likewise.
44482         * resolv/res_query.c (__libc_res_nquery): Likewise.
44483         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
44484         Likewise.
44485         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
44486         * stdio-common/perror.c (perror): Likewise.
44487         * stdio-common/printf_fp.c (___printf_fp): Likewise.
44488         * stdio-common/tmpnam.c (tmpnam): Likewise.
44489         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44490         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
44491         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
44492         Likewise.
44493         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
44494         * stdlib/putenv.c (putenv): Likewise.
44495         * stdlib/setenv.c (__add_to_environ): Likewise.
44496         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44497         * stdlib/strtol_l.c (INTERNAL): Likewise.
44498         * string/memmem.c (memmem): Likewise.
44499         * string/strerror.c (strerror): Likewise.
44500         * string/strnlen.c (__strnlen): Likewise.
44501         * string/test-memmem.c (simple_memmem): Likewise.
44502         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
44503         * sunrpc/pm_getport.c (__get_socket): Likewise.
44504         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
44505         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
44506         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
44507         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
44508         Likewise.
44509         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
44510         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
44511         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
44512         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
44513         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
44514         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
44515         Likewise.
44516         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
44517         Likewise.
44518         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
44519         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
44520         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44521         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
44522         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
44523         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
44524         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44525         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
44526         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
44527         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
44528         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44529         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
44530         Likewise.
44531         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
44532         Likewise.
44533         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
44534         Likewise.
44535         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
44536         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44537         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
44538         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
44539         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
44540         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
44541         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44542         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
44543         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
44544         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
44545         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
44546         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44547         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44548         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
44549         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44550         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
44551         Likewise.
44552         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
44553         Likewise.
44554         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
44555         Likewise.
44556         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
44557         Likewise.
44558         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44559         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44560         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
44561         Likewise.
44562         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
44563         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
44564         * sysdeps/posix/opendir.c (__opendirat): Likewise.
44565         * sysdeps/posix/sleep.c: Likewise.
44566         * sysdeps/posix/tempname.c: Likewise.
44567         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
44568         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44569         Likewise.
44570         * sysdeps/powerpc/powerpc32/dl-machine.h
44571         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
44572         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44573         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44574         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
44575         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
44576         Likewise.
44577         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
44578         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
44579         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44580         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
44581         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44582         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
44583         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
44584         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
44585         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44586         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
44587         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
44588         (elf_machine_lazy_rel): Likewise.
44589         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44590         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
44591         (elf_machine_lazy_rel): Likewise.
44592         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
44593         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
44594         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
44595         * sysdeps/unix/grantpt.c (grantpt): Likewise.
44596         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
44597         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
44598         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
44599         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44600         Likewise.
44601         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
44602         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
44603         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
44604         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
44605         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44606         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44607         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
44608         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
44609         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
44610         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44611         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44612         Likewise.
44613         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
44614         (__posix_fallocate64_l64): Likewise.
44615         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
44616         (posix_fallocate): Likewise.
44617         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
44618         Likewise.
44619         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44620         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
44621         (getifaddrs_internal): Likewise.
44622         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
44623         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
44624         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
44625         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
44626         * sysdeps/unix/sysv/linux/posix_fallocate64.c
44627         (__posix_fallocate64_l64): Likewise.
44628         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
44629         Likewise.
44630         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
44631         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
44632         (__get_clockfreq): Likewise.
44633         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
44634         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
44635         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
44636         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44637         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44638         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
44639         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
44640         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
44641         Likewise.
44642         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
44643         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
44644         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
44645         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
44646         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44647         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
44648         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
44649         Likewise.
44650         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44651         (posix_fallocate): Likewise.
44652         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44653         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
44654         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
44655         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
44656         (elf_machine_rela, elf_machine_rela_relative)
44657         (elf_machine_lazy_rel): Likewise.
44658         * time/asctime.c (asctime_internal): Likewise.
44659         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
44660         * time/tzset.c (__tzset_parse_tz): Likewise.
44661         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44662         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44663         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
44664         * wcsmbs/wcsmbsload.h: Likewise.
44666         [BZ #15894]
44667         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
44669         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
44670         (arena_get2): Remove THREAD_STATS conditionals.
44671         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
44672         (__malloc_stats, int): Likewise.
44674 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
44676         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
44677         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
44679         * manual/setjmp.texi: Fix typos/grammar errors.
44681         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
44682         Only return early when n is <= 0.  Delete unused return statement.
44684         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
44685         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
44686         * debug/tst-longjmp_chk3.c: New file.
44688         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
44689         (test_main): Replace code with set_fortify_handler call.
44690         * debug/test-strcpy_chk.c: Likewise.
44691         * debug/tst-chk1.c: Likewise.
44692         * debug/tst-longjmp_chk.c: Likewise.
44693         * test-skeleton.c: Include fcntl.h & paths.h
44694         (set_fortify_handler): Define.
44696         * debug/tst-longjmp_chk.c: Add header comment and include
44697         ../test-skeleton.c.
44698         (do_test): Mark static.
44699         (TEST_FUNCTION): Define.
44701         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
44702         (IP_PMTUDISC_INTERFACE): Likewise.
44703         (IP_MULTICAST_IF): Likewise.
44704         (IP_MULTICAST_TTL): Likewise.
44705         (IP_MULTICAST_LOOP): Likewise.
44706         (IP_ADD_MEMBERSHIP): Likewise.
44707         (IP_DROP_MEMBERSHIP): Likewise.
44708         (IP_UNBLOCK_SOURCE): Likewise.
44709         (IP_BLOCK_SOURCE): Likewise.
44710         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
44711         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
44712         (IP_MSFILTER): Likewise.
44713         (MCAST_JOIN_GROUP): Likewise.
44714         (MCAST_BLOCK_SOURCE): Likewise.
44715         (MCAST_UNBLOCK_SOURCE): Likewise.
44716         (MCAST_LEAVE_GROUP): Likewise.
44717         (MCAST_JOIN_SOURCE_GROUP): Likewise.
44718         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
44719         (MCAST_MSFILTER): Likewise.
44720         (IP_MULTICAST_ALL): Likewise.
44721         (IP_UNICAST_IF): Likewise.
44723         * timezone/Makefile: Delete $(have-ksh) check.
44724         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
44725         * timezone/tzselect.ksh: Add +x mode bits.
44727         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
44728         (ANON_INODE_FS_MAGIC): Likewise.
44729         (BDEVFS_MAGIC): Likewise.
44730         (BINFMTFS_MAGIC): Likewise.
44731         (BTRFS_TEST_MAGIC): Likewise.
44732         (CRAMFS_MAGIC_WEND): Likewise.
44733         (DEBUGFS_MAGIC): Likewise.
44734         (ECRYPTFS_SUPER_MAGIC): Likewise.
44735         (EXT3_SUPER_MAGIC): Likewise.
44736         (EXT4_SUPER_MAGIC): Likewise.
44737         (FUTEXFS_SUPER_MAGIC): Likewise.
44738         (HOSTFS_SUPER_MAGIC): Likewise.
44739         (HUGETLBFS_MAGIC): Likewise.
44740         (MINIX3_SUPER_MAGIC): Likewise.
44741         (MTD_INODE_FS_MAGIC): Likewise.
44742         (NILFS_SUPER_MAGIC): Likewise.
44743         (OPENPROM_SUPER_MAGIC): Likewise.
44744         (PIPEFS_MAGIC): Likewise.
44745         (PSTOREFS_MAGIC): Likewise.
44746         (QNX6_SUPER_MAGIC): Likewise.
44747         (RAMFS_MAGIC): Likewise.
44748         (REISERFS_SUPER_MAGIC_STRING): Likewise.
44749         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
44750         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
44751         (SECURITYFS_MAGIC): Likewise.
44752         (SELINUX_MAGIC): Likewise.
44753         (SMACK_MAGIC): Likewise.
44754         (SOCKFS_MAGIC): Likewise.
44755         (SQUASHFS_MAGIC): Likewise.
44756         (STACK_END_MAGIC): Likewise.
44757         (TMPFS_MAGIC): Likewise.
44758         (USBDEVICE_SUPER_MAGIC): Likewise.
44759         (V9FS_MAGIC): Likewise.
44760         (XENFS_SUPER_MAGIC): Likewise.
44761         (CRAMFS_MAGIC): Fix typo in comment.
44762         (EXT2_SUPER_MAGIC): Update comment.
44763         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
44765 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
44767         * sysdeps/arm: Move directory from ports/sysdeps/arm.
44768         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44769         * sysdeps/unix/sysv/linux/arm: Move directory from
44770         ports/sysdeps/unix/sysv/linux/arm.
44771         * README: Update listing for arm-*-linux-gnueabi.
44773         * README: Remove mention of am33.
44775 2014-02-07  Roland McGrath  <roland@hack.frob.com>
44777         * bits/sigset.h (__sigemptyset): Use a statement expression rather
44778         than the comma operator, to avoid "rhs of comma has no effect"
44779         compiler warnings.
44780         (__sigfillset, __sigandset, __sigorset): Likewise.
44781         * include/signal.h (__sigemptyset): Likewise.
44782         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44784 2014-02-07  Allan McRae  <allan@archlinux.org>
44786         * version.h (RELEASE): Set to "development".
44787         (VERSION): Set to "2.19.90"
44788         * NEWS: Add 2.20 section.
44790 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
44792         [BZ #16529]
44793         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44795 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44797         * manual/contrib.texi: Update entry for Carlos O'Donell,
44798         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44800 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
44802         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44804         * sysdeps/unix/sysv/linux/kernel-features.h
44805         [__LINUX_KERNEL_VERSION >= 0x020621]
44806         (__ASSUME_PROC_PID_TASK_COMM): Define.
44808 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44810         [BZ #16398]
44811         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44812         conversion when destination buffer does not have enough space.
44813         * libio/tst-ftell-partial-wide.c: New test case.
44814         * libio/Makefile (tests): Add tst-ftell-partial-wide.
44816         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44817         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
44818         Leonard and Allan McRae.
44820 2014-02-04  David S. Miller  <davem@davemloft.net>
44822         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44823         32-bit.
44825 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44828         New file
44829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44830         New file
44831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44832         New file.
44833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44834         New file.
44835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44836         New file.
44837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44838         New file.
44839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44840         New file.
44841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44842         New file.
44843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44844         New file.
44845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44846         New file.
44847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44848         New file.
44849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44850         New file.
44851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44852         New file.
44854 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44856         * nptl/shlib-versions: Change powerpc*le start to 2.17.
44857         * shlib-versions: Likewise.
44859 2014-02-04  Roland McGrath  <roland@hack.frob.com>
44860             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44862         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
44863         (abilist-pattern): New variable, set to %-le.abilist.
44865         * Makerules (abilist-pattern): New variable.
44866         (vpath): Use $(abilist-pattern) in place of %.abilist.
44867         (check-abi-% pattern rule): Likewise.
44868         (check-abi, update-abi): Likewise.
44870 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44872         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44874 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44876         * manual/startup.texi: Add next, previous, and top entries for
44877         the `Program Arguments' and `Environment Variables' nodes.
44879 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
44881         * manual/macros.texi: Add comments before MTASC-safety macros.
44883         * manual/users.texi: Document MTASC-safety properties.
44885         * manual/threads.texi (pthread_key_create, pthread_key_delete)
44886         (pthread_getspecific, pthread_setspecific): Format with
44887         @deftypefun, and add @safety note.
44888         * manual/signal.texi: Move comments that analyze the above
44889         functions to their home place.
44891 2014-02-03  Allan McRae  <allan@archlinux.org>
44893         * po/sl.po: Update Slovenian translation from translation project.
44895 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
44897         * manual/time.texi (timegm): Add missing blank after @c.
44898         Reported by Joseph Myers <joseph@codesourcery.com>.
44900 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
44902         * manual/check-safety.sh: New.
44903         * manual/Makefile ($(objpfx)stamp-summary): Run it.
44905         * manual/terminal.texi: Document MTASC-safety properties.
44907         * manual/filesys.texi: Document MTASC-safety properties.
44909         * manual/errno.texi: Document MTASC-safety properties.
44911         * manual/intro.texi: Document safety identifiers and
44912         conditionals.
44914         * manual/string.texi (wcstok): Fix prototype.
44915         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
44917         * manual/time.texi: Document MTASC-safety properties.
44919         * manual/string.texi: Document MTASC-safety properties.
44921         * manual/threads.texi: Document MTASC-safety properties.
44923         * manual/stdio.texi: Document MTASC-safety properties.
44925         * manual/syslog.texi: Document MTASC-safety properties.
44927         * manual/sysinfo.texi: Document MTASC-safety properties.
44929         * manual/startup.texi: Document MTASC-safety properties.
44931         * manual/socket.texi: Document MTASC-safety properties.
44933         * manual/signal.texi: Document MTASC-safety properties.
44935 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
44937         * manual/setjmp.texi: Document MTASC-safety properties.
44939         * manual/search.texi: Document MTASC-safety properties.
44941         * manual/resource.texi: Document MTASC-safety properties.
44943         * manual/process.texi: Document MTASC-safety properties.
44945         * manual/platform.texi: Document MTASC-safety properties.
44947         * manual/pipe.texi: Document MTASC-safety properties.
44949         * manual/pattern.texi: Document MTASC-safety properties.
44951         * manual/message.texi: Document MTASC-safety properties.
44953         [BZ #12751]
44954         * manual/memory.texi: Document MTASC-safety properties.
44956         * manual/math.texi: Document MTASC-safety properties.
44958         * manual/locale.texi: Document MTASC-safety properties.
44960         * manual/llio.texi: Document MTASC-safety properties.
44962         * manual/libdl.texi: New.
44964         * manual/lang.texi: Document MTASC-safety properties.
44966         * manual/job.texi: Document MTASC-safety properties.
44968         * manual/getopt.texi: Document MTASC-safety properties.
44970         * manual/ctype.texi: Document MTASC-safety properties.
44972 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
44974         [BZ #16046]
44975         * csu/libc-tls.c (static_map): Remove variable.
44976         (__libc_setup_tls): Use main executable's link map for TLS data.
44977         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
44978         casing for LM_ID_BASE and GL(dl_nns).
44979         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
44980         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
44981         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
44982         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
44983         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
44984         member.
44985         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
44986         l_phnum members.
44988 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
44990         * manual/debug.texi: Document MTASC-safety properties.
44992 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
44994         [BZ #16510]
44995         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
44996         of __x86_64__ when disabling x87 inline functions.
44998 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
45000         * manual/charset.texi: Document MTASC-safety properties.
45002         * manual/crypt.texi: Document MTASC-safety properties.
45004         * manual/conf.texi: Document MTASC-safety properties.
45006         * manual/arith.texi: Document MTASC-safety properties.
45008         * manual/argp.texi: Document MTASC-safety properties.
45010         * manual/macros.texi: Introduce macros to document multi
45011         thread, asynchronous signal and asynchronous cancellation
45012         safety properties.
45013         * manual/intro.texi: Introduce the properties themselves.
45015 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45017         * sysdeps/sh/sh4/Makefile: New file.
45019 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
45021         * math/gen-libm-test.pl ($srcdir): New variable.
45022         ($auto_input): Use it.
45024 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45026         [BZ #16506]
45027         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
45028         access beyond array bounds when parsing netgroups file.
45030         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
45031         the old buffer before realloc.
45033 2014-01-27  Allan McRae  <allan@archlinux.org>
45035         * po/fr.po: Update French translation from translation project.
45037 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45039         * sysdeps/sh/libm-test-ulps: Regenerate.
45041 2014-01-24  David S. Miller  <davem@davemloft.net>
45043         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
45045 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45047         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
45048         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
45050 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45052         [BZ #16474]
45053         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
45054         string pointers after reallocation.
45056 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45058         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
45059         __SH4A__ instead of __SH_FPU_ANY__.
45061 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45063         * sysdeps/sh/fpu_control.h: New file.
45064         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
45065         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
45066         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
45067         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
45068         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
45069         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
45070         * sysdeps/sh/sys/ucontext.h: Remove.
45071         * sysdeps/sh/sys: Remove directory.
45073 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45075         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
45076         s390/sys/ucontext.h.
45077         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
45078         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
45080 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
45082         [BZ #15605]
45083         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
45085 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45087         [BZ#16431]
45088         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45089         Adjust the vDSO correctly for internal calls.
45090         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
45092 2014-01-20  Allan McRae  <allan@archlinux.org>
45094         * po/ca.po: Update Catalan translation from translation project.
45096 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
45098         * sysdeps/s390/sotruss-lib.c: New file.
45100 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45102         [BZ#16430]
45103         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
45104         (__GI___gettimeofday): Alias for a different internal symbol to avoid
45105         local calls issues by not having a PLT stub required for IFUNC calls.
45106         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
45108 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
45110         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
45111         * math/test-fpucw-static.c: Likewise.
45113 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45115         [BZ #16453]
45116         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
45118 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45120         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
45121         implementation for powerpc.
45123 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
45125         [BZ #14782]
45126         * sysdeps/posix/system.c (__libc_system): Do not enable
45127         asynchronous cancellation.
45129 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45131         [BZ #16427]
45132         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
45133         handling only for numbers special also in the IEEE case.
45135 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45137         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45139 2014-01-11  Allan McRae  <allan@archlinux.org>
45141         * po/bg.po: Update Bulgarian translation from translation project.
45143         * po/de.po: Update German translation from translation project.
45145 2014-01-10  Roland McGrath  <roland@hack.frob.com>
45147         * sysdeps/generic/gcc-compat.h: New file.
45149 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45151         * benchtests/asin-inputs: Correct slow inputs.
45152         * benchtests/acos-inputs: Likewise.
45154 2014-01-10  Allan McRae  <allan@archlinux.org>
45156         * po:sv.po: Update Swedish translation from translation project.
45158         * po/vi.po: Update Vietnamese translation from translation project.
45160         * po/eo.po: Update Esperanto translation from translation project.
45162         * po/cs.po: Update Czech translation from translation project.
45164         * po/nl.po: Update Dutch translation from translation project.
45166         * po/pl.po: Update Polish translation from translation project.
45168         * po/ru.po: Update Russian translation from translation project.
45170         * po/uk.po: Update Ukrainian translation from translation project.
45172 2014-01-08  Brooks Moses  <bmoses@google.com>
45174         * elf/dl-load.c: Fix comment typo.
45176 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
45178         * po/header.pot: Rename to...
45179         * po/pot.header: ... this.
45180         * po/Makefile: Use pot.header.
45182 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
45183             Maxim Kuvyrkov  <maxim@kugelworks.com>
45185         [BZ #16394]
45186         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
45187         SRC and DEST against LEN.
45189 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45191         [BZ #16414]
45192         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
45193         implementation.
45194         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
45196 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45200 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
45202         [BZ #16408]
45203         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
45204         for large positive arguments.
45206 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
45208         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45210         * math/auto-libm-test-in: Mark various tests with
45211         xfail-rounding:ldbl-128ibm.
45212         * math/auto-libm-test-out: Regenerated.
45214         [BZ #16407]
45215         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45216         Increase overflow threshold.
45218 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
45220         [BZ #14286]
45221         * stdio-common/vfprintf.c: Check for integer overflow.
45223 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45225         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
45226         the first argument and return value of __tls_get_addr_internal.
45228 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45230         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
45231         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
45233 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45235         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
45236         * sysdeps/s390/rtld-global-offsets.sym: New file.
45237         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
45238         GLIBC_2.19 symbol.
45239         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
45240         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
45241         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45242         ... this.
45243         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
45244         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45245         ... this.
45246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45247         Regenerate.
45248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45249         Regenerate.
45250         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
45251         halfs of GPRs for high_gprs contexts.
45252         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
45253         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
45254         field.
45255         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
45256         uc_flags field.
45257         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
45258         64 bit versions:
45259         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
45260         for high GPRs (uc_high_gprs) and for future extensions
45261         (__reserved).
45262         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
45263         for future extensions (__reserved).
45264         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
45265         64 bit versions:
45266         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45267         SC_HIGHGPRS offset definition.
45268         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
45269         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
45271         * Versions.def: Add GLIBC_2.19 for libpthread.
45272         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
45273         siglongjmp for libpthread with GLIBC_2.19 symver.
45274         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
45275         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
45276         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
45277         * sysdeps/s390/__longjmp.c: New file.
45278         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
45279         * sysdeps/s390/longjmp.c: New file.
45280         * sysdeps/s390/setjmp.S: New file.
45281         * sysdeps/s390/sigjmp.S: New file.
45282         * sysdeps/s390/v1-longjmp.c: New file.
45283         * sysdeps/s390/v1-setjmp.h: New file.
45284         * sysdeps/s390/v1-sigjmp.c: New file.
45285         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
45286         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
45287         GLIBC_2.19 version.
45288         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
45289         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
45290         versioned symbols for ____longjmp_chk.
45291         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45292         Likewise.
45293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45294         Regenerate.
45295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45296         Regenerate.
45297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45298         Regenerate.
45299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45300         Regenerate.
45301         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
45302         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
45303         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
45304         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
45305         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
45306         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
45307         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
45308         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
45309         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
45310         * sysdeps/s390/rtld-__longjmp.c: New file.
45311         * sysdeps/s390/rtld-setjmp.S: New file.
45313 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
45315         [BZ #16400]
45316         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45317         Return -__logl (x) for small positive arguments without evaluating
45318         a polynomial.
45320 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
45322         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
45323         Rename to ...
45324         (__ptrace_peeksiginfo_args): ... this.
45325         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45326         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45327         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45329 2014-01-06  Allan McRae  <allan@archlinux.org>
45331         * inet/netinet/in.h: Fix typo in comment.
45333 2014-01-05  Andreas Jaeger  <aj@suse.de>
45335         * sysdeps/i386/fpu/libm-test-ulps: Update.
45337 2014-01-05  Allan McRae  <allan@archlinux.org>
45339         * po/libc.pot: Regenerated.
45341         * malloc/memusagestat.c: Fix gettext call formatting.
45343 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
45345         * nscd/nscd.c: Improve usage() output.
45347 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
45349         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
45350         * sysdeps/unix/sysv/linux/configure: Regenerated.
45351         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
45352         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
45354 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45356         [BZ #16390]
45357         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45358         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
45360 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45362         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
45363         extra tokens at end of #undef directive.
45364         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
45365         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
45366         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
45368 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45370         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45372         * math/auto-libm-test-in: Mark various tests with
45373         xfail-rounding:ldbl-128ibm.
45374         * math/auto-libm-test-out: Regenerated.
45376 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
45378         [BZ #16386]
45379         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
45380         numbers with subnormal high part when calculating exponent.
45382         [BZ #16385]
45383         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
45384         fabs.
45386         [BZ #16384]
45387         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
45388         M_LN2l.
45389         (__ieee754_acoshl): Use __log1pl not __log1p.
45391 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
45393         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45394         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45395         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45396         (grow_heap, heap_trim, _int_new_arena, get_free_list)
45397         (reused_arena, arena_get2): Convert to GNU style.
45398         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45399         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45400         (memalign_check, __malloc_set_state): Likewise.
45401         * malloc/mallocbug.c (main): Likewise.
45402         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45403         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45404         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45405         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45406         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45407         (__posix_memalign, malloc_info): Likewise.
45408         * malloc/malloc.h: Likewise.
45409         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45410         (mallochook, memalignhook, reallochook, mabort): Likewise.
45411         * malloc/mcheck.h: Likewise.
45412         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45413         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45414         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45415         * malloc/morecore.c (__default_morecore): Likewise.
45416         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45417         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
45418         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
45419         (print_and_abort): Likewise.
45420         * malloc/obstack.h: Likewise.
45421         * malloc/set-freeres.c (__libc_freeres): Likewise.
45422         * malloc/tst-mallocstate.c (main): Likewise.
45423         * malloc/tst-mtrace.c (main): Likewise.
45424         * malloc/tst-realloc.c (do_test): Likewise.
45426 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45428         [BZ #16366]
45429         * nscd/netgroupcache.c (do_notfound): New function.
45430         (addgetnetgrentX): Use it.
45432         [BZ # 16365]
45433         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
45434         NSS_STATUS_NOTFOUND.
45436 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
45438         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45441 2014-01-01  Allan McRae  <allan@archlinux.org>
45443         * scripts/update-copyrights: Update configure input file suffix.
45445         * NEWS: Update copyright year.
45446         * catgets/gencat.c: Likewise.
45447         * csu/version.c: Likewise.
45448         * debug/catchsegv.sh: Likewise.
45449         * debug/pcprofiledump.c: Likewise.
45450         * debug/xtrace.sh: Likewise.
45451         * elf/ldconfig.c: Likewise.
45452         * elf/ldd.bash.in: Likewise.
45453         * elf/pldd.c: Likewise.
45454         * elf/sotruss.ksh: Likewise.
45455         * elf/sprof.c: Likewise.
45456         * iconv/iconv_prog.c: Likewise.
45457         * iconv/iconvconfig.c: Likewise.
45458         * locale/programs/locale.c: Likewise.
45459         * locale/programs/localedef.c: Likewise.
45460         * login/programs/pt_chown.c: Likewise.
45461         * malloc/memusage.sh: Likewise.
45462         * malloc/memusagestat.c: Likewise.
45463         * malloc/mtrace.pl: Likewise.
45464         * manual/libc.texinfo: Likewise.
45465         * nscd/nscd.c: Likewise.
45466         * nss/getent.c: Likewise.
45467         * nss/makedb.c: Likewise.
45468         * posix/getconf.c: Likewise.
45469         * scripts/test-installation.pl: Likewise.
45471         * All files with FSF copyright notices: Update copyright dates
45472         using scripts/update-copyrights.
45473         * intl/plural.c: Regenerated.
45474         * locale/programs/charmap-kw.h: Likewise.
45475         * locale/programs/locfile-kw.h: Likewise.
45477 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
45479         * sysdeps/unix/sysv/linux/configure: Regenerated.
45480         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
45481         the linux/fanotify.h header.
45482         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
45483         HAVE_LINUX_FANOTIFY_H is defined.
45485 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45487         * benchtests/cos-inputs: New inputs.
45488         * benchtests/sin-inputs: Likewise.
45490         * benchtests/atan-inputs: New inputs. Fix name of multiple
45491         precision fallback inputs.
45493         * benchtests/atanh-inputs: New inputs.
45494         * benchtests/tanh-inputs: Likewise.
45496         * benchtests/acosh-inputs: New inputs.
45497         * benchtests/asinh-inputs: Likewise.
45499         * benchtests/cosh-inputs: New inputs.
45500         * benchtests/sinh-inputs: Likewise.
45502         * benchtests/acos-inputs: Add more inputs.
45503         * benchtests/asin-inputs: Likewise.
45505 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
45507         [BZ #16375]
45508         * manual/arith.texi: Fix spelling.
45509         * manual/charset.texi: Likewise.
45510         * manual/errno.texi: Likewise.
45511         * manual/filesys.texi: Likewise.
45512         * manual/lang.texi: Likewise.
45513         * manual/llio.texi: Likewise.
45514         * manual/locale.texi: Likewise.
45515         * manual/message.texi: Likewise.
45516         * manual/resource.texi: Likewise.
45517         * manual/search.texi: Likewise.
45518         * manual/setjmp.texi: Likewise.
45519         * manual/stdio.texi: Likewise.
45520         * manual/string.texi: Likewise.
45521         * manual/sysinfo.texi: Likewise.
45522         * manual/time.texi: Likewise.
45524 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
45526         * po/sl.po: New file.
45528 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
45530         * .gitignore: Add core/.gdbinit/.gdb_history.
45532 2013-12-27  Allan McRae  <allan@archlinux.org>
45534         [BZ #16369]
45535         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
45536         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45538 2013-12-24  Brooks Moses  <bmoses@google.com>
45540         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45541         all compilers that claim C++98 compliance, not just GCC.
45542         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
45543         Likewise.
45545 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45547         * NEWS: Restore accidentally deleted bug-fix entries.
45549 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45550             Ondřej Bílka  <neleai@seznam.cz>
45552         [BZ #15073]
45553         * malloc/malloc.c (_int_free): Perform sanity check only if we
45554         have_lock.
45556 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
45558         [BZ #12986]
45559         * manual/stdio.texi (String Input Conversions): Clarify that character
45560         classes are not supported.
45562 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45566 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45568         [BZ #16337]
45569         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45570         Calculate results for small negative arguments directly rather
45571         than using reflection formula with special underflow handling.
45573         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
45574         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
45575         sysdeps/unix/bsd/bsd4.4/syscalls.list.
45576         (fchflags): Likewise.
45577         (revoke): Likewise.
45578         (setlogin): Likewise.
45579         (sigaltstack): Likewise.
45580         (wait4): Likewise.
45581         (sigblock): Remove.
45582         (sigsetmask): Likewise.
45583         (wait3): Likewise.
45584         (waitpid): Likewise.
45585         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
45586         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
45587         file.
45588         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45589         * sysdeps/unix/bsd/Makefile: ... here.
45590         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
45591         * sysdeps/unix/bsd/Versions: ... here.
45592         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45593         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
45594         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
45595         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
45596         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
45597         * sysdeps/unix/bsd/sigblock.c: ... here.
45598         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
45599         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45600         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
45601         * sysdeps/unix/bsd/sigvec.c: ... here.
45602         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
45603         * sysdeps/unix/bsd/tcdrain.c: ... here.
45604         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
45605         * sysdeps/unix/bsd/tcgetattr.c: ... here.
45606         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
45607         * sysdeps/unix/bsd/tcsetattr.c: ... here.
45608         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
45609         * sysdeps/unix/bsd/wait.c: ... here.
45610         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
45611         * sysdeps/unix/bsd/wait3.c: ... here.
45612         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
45613         * sysdeps/unix/bsd/waitpid.c: ... here.
45615 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
45617         [BZ #16356]
45618         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
45619         round-to-nearest for [!USE_AS_EXPM1L].
45620         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
45621         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
45622         more tests of exp and exp10.  Expect some exp10 tests to miss
45623         exceptions or fail in directed rounding modes.
45624         * math/auto-libm-test-out: Regenerated.
45625         * math/libm-test.inc (exp10_tonearest_test_data): New array.
45626         (exp10_test_tonearest): New function.
45627         (exp10_towardzero_test_data): New array.
45628         (exp10_test_towardzero): New function.
45629         (exp10_downward_test_data): New array.
45630         (exp10_test_downward): New function.
45631         (exp10_upward_test_data): New array.
45632         (exp10_test_upward): New function.
45633         (main): Call the new functions.
45634         * sysdeps/i386/fpu/libm-test-ulps: Update.
45635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45637 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
45639         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
45640         asinh, atan, atan2, atanh, cbrt, cos and cosh.
45641         * math/auto-libm-test-out: Regenerated.
45642         * math/libm-test.inc (acosh_test_data): Add more tests.
45643         (atanh_test_data): Likewise.
45644         (ceil_test_data): Likewise.
45645         (copysign_test_data): Likewise.
45646         * sysdeps/i386/fpu/libm-test-ulps: Update.
45647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45649         * timezone/checktab.awk: Update from tzcode 2013i.
45650         * timezone/private.h: Likewise.
45651         * timezone/scheck.c: Likewise.
45652         * timezone/tzfile.h: Likewise.
45653         * timezone/tzselect.ksh: Likewise.
45654         * timezone/zdump.c: Likewise.
45655         * timezone/zic.c: Likewise.
45657         * math/auto-libm-test-in: Add tests of cpow.
45658         * math/auto-libm-test-out: Regenerated.
45659         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
45660         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45661         mpc_cc_c.
45662         (func_calc_desc): Add mpc_cc_c union field.
45663         (test_functions): Add cpow.
45664         (special_fill_2pi): New function.
45665         (special_real_inputs): Add 2pi.
45666         (calc_generic_results): Handle mpc_cc_c.
45667         * sysdeps/i386/fpu/libm-test-ulps: Update.
45668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45670         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
45671         csqrt, ctan and ctanh.
45672         * math/auto-libm-test-out: Regenerated.
45673         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45674         (TEST_COND_x86): Likewise.
45675         (ccos_test_data): Use AUTO_TESTS_c_c.
45676         (ccosh_test_data): Likewise.
45677         (cexp_test_data): Likewise.
45678         (clog_test_data): Likewise.
45679         (csqrt_test_data): Likewise.
45680         (ctan_test_data): Likewise.
45681         (ctan_tonearest_test_data): Likewise.
45682         (ctan_towardzero_test_data): Likewise.
45683         (ctan_downward_test_data): Likewise.
45684         (ctan_upward_test_data): Likewise.
45685         (ctanh_test_data): Likewise.
45686         (ctanh_tonearest_test_data): Likewise.
45687         (ctanh_towardzero_test_data): Likewise.
45688         (ctanh_downward_test_data): Likewise.
45689         (ctanh_upward_test_data): Likewise.
45690         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45691         mpc_c_c.
45692         (func_calc_desc): Add mpc_c_c union field.
45693         (FUNC_mpc_c_c): New macro.
45694         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
45695         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
45696         ctanh.
45697         (special_fill_min_subnorm_p120): New function.
45698         (special_real_inputs): Add min_subnorm_p120.
45699         (calc_generic_results): Handle mpc_c_c.
45700         * sysdeps/i386/fpu/libm-test-ulps: Update.
45701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45703 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45705         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
45706         (do_sin_slow): New functions.
45707         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
45708         (cslow2, csloww1, csloww2): Use the new functions.
45710         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
45711         Use M to change sign of result instead of X.  Assume X is
45712         positive.
45713         (csloww1): Likewise.
45714         (__sin): Adjust.
45715         (__cos): Adjust.
45717         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
45718         arguments A and DA.
45719         (__sin): Adjust.
45720         (__cos): Likewise.
45722         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
45723         (__cos): Likewise.
45724         (sloww1): Don't adjust sign of DX.
45725         (csloww1): Likewise.
45726         (sloww2): Use X directly and don't adjust sign of DX.
45727         (csloww2): Likewise.
45729 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45731         * math/auto-libm-test-in: Add tests of cabs and carg.
45732         * math/auto-libm-test-out: Regenerated.
45733         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
45734         (carg_test_data): Likewise.
45735         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45736         mpc_c_f.
45737         (func_calc_desc): Add mpc_c_f union field.
45738         (test_functions): Add cabs and carg.
45739         (calc_generic_results): Handle mpc_c_f.
45741         * sysdeps/powerpc/powerpc32/libgcc-compat.S
45742         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
45743         as a macro and a compat symbol.
45744         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45745         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45746         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45747         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45748         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
45749         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
45750         not use .hidden.
45751         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
45752         Likewise.
45753         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
45754         Likewise.
45755         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
45756         Likewise.
45757         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
45758         Likewise.
45759         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
45760         Likewise.
45761         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
45762         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
45763         from GLIBC_2.3.2.
45765 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45769 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45771         * manual/texinfo.tex: Update to version 2013-11-26.10 with
45772         trailing whitespace removed.
45773         * scripts/config.guess: Update to version 2013-11-29.
45774         * scripts/config.sub: Update to version 2013-10-01.
45776         * math/auto-libm-test-in: Add tests of sincos.
45777         * math/auto-libm-test-out: Regenerated.
45778         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45779         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45780         mpfr_f_11.
45781         (func_calc_desc): Add mpfr_f_11 union field.
45782         (test_functions): Add sincos.
45783         (calc_generic_results): Handle mpfr_f_11.
45784         * sysdeps/i386/fpu/libm-test-ulps: Update.
45785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45787 2013-12-19  Andreas Schwab  <schwab@suse.de>
45789         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45790         CALL_MCOUNT.
45791         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45792         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45793         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45795 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45797         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45798         * sysdeps/i386/fpu/libm-test-ulps: Update.
45799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45801         [BZ #16293]
45802         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45803         round-to-nearest mode when using frndint.
45804         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45805         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45806         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45807         Likewise.
45808         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
45809         sinh test to fail.
45810         * math/auto-libm-test-out: Regenerated.
45811         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45812         (TEST_COND_x86): Likewise.
45813         (expm1_tonearest_test_data): New array.
45814         (expm1_test_tonearest): New function.
45815         (expm1_towardzero_test_data): New array.
45816         (expm1_test_towardzero): New function.
45817         (expm1_downward_test_data): New array.
45818         (expm1_test_downward): New function.
45819         (expm1_upward_test_data): New array.
45820         (expm1_test_upward): New function.
45821         (main): Run the new test functions.
45822         * sysdeps/i386/fpu/libm-test-ulps: Update.
45823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45825         * include/features.h: Update comment documenting feature test
45826         macros.  Mention _DEFAULT_SOURCE in comment.
45827         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45828         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45829         _BSD_SOURCE and _SVID_SOURCE.
45830         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45831         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45832         !_SVID_SOURCE]: Likewise.
45833         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45834         (__USE_POSIX_IMPLICITLY): Define.
45835         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45836         (_POSIX_SOURCE): Undefine and redefine.
45837         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45838         (_POSIX_C_SOURCE): Likewise.
45839         * manual/creature.texi (_DEFAULT_SOURCE): Document.
45840         (Feature Test Macros): Update documentation of default features.
45842 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45844         * benchtests/Makefile: Add bench-strtok.
45845         * benchtests/bench-strtok.c: New file: strtok benchtest.
45847 2013-12-19  Allan McRae  <allan@archlinux.org>
45849         * manual/install.texi: Suppress menu for plain text output.
45850         * INSTALL: Regenerated.
45852 2013-12-18  Brooks Moses  <bmoses@google.com>
45854         [BZ #15846]
45855         * misc/getauxval.c: Include errno.h.
45856         (__getauxval): Set errno to ENOENT if the requested type is not
45857         found.
45858         * misc/sys/auxv.h (getauxval): Document that it may set errno;
45859         don't declare with __attribute_const__.
45860         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
45861         * manual/startup.texi: Document that getauxval sets errno.
45863 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45865         * math/auto-libm-test-in: Add tests of jn and yn.
45866         * math/auto-libm-test-out: Regenerated.
45867         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45868         (yn_test_data): Likewise.
45869         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45870         mpfr_if_f.
45871         (func_calc_desc): Add mpfr_if_f union field.
45872         (FUNC_mpfr_if_f): New macro.
45873         (test_functions): Add jn and yn.
45874         (calc_generic_results): Assert type of second input for
45875         mpfr_ff_f.  Handle mpfr_if_f.
45876         (output_for_one_input_case): Disable all checking for arguments
45877         fitting floating-point types in case of an integer argument.
45878         * sysdeps/i386/fpu/libm-test-ulps: Update.
45879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45882         Don't expect fegetround reference in libm.so.
45884 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45886         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45887         $(config-cflags-nofma).
45889 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45891         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45892         * math/auto-libm-test-out: Regenerated.
45894         [BZ #16338]
45895         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45896         to determine exponent and adjust argument to have exponent of -1.
45897         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
45898         log2.
45899         * math/auto-libm-test-out: Regenerated.
45900         * sysdeps/i386/fpu/libm-test-ulps: Update.
45901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45903 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
45905         * manual/probes.texi: Remove cases when per-thread arenas are
45906         disabled.
45908 2013-12-18  Andreas Schwab  <schwab@suse.de>
45910         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
45911         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
45912         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
45913         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
45914         * sysdeps/i386/i686/multiarch/Makefile: Update.
45915         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
45917 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45919         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
45920         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
45922 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
45924         [BZ #15968]
45925         Support TZ transition times < 00:00:00.
45926         This is needed for version-3 tz-format files; it supports time
45927         stamps past 2037 for America/Godthab (the only entry in the tz
45928         database for which this change is relevant).
45929         * manual/time.texi (TZ Variable): Document transition times
45930         from -167:59:59 through -00:00:01.
45931         * time/tzset.c (tz_rule): Time of day is now signed.
45932         (__tzset_parse_tz): Parse negative time of day.
45934         Document TZ transition times >= 25:00:00.
45935         * manual/time.texi (TZ Variable): Document transition times from
45936         25:00:00 through 167:59:59.  These are already supported, and this
45937         support will help with version-3 tz-format files.
45939         * manual/time.texi (TZ Variable): Modernize North America example
45940         to reflect current (i.e., 2007-and-later) daylight saving rules.
45942         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
45944 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45946         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
45947         * sysdeps/unix/bsd/bits/stat.h: Likewise.
45948         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
45949         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45950         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
45951         * sysdeps/unix/bsd/bsdstat.h: Likewise.
45952         * sysdeps/unix/bsd/clock.c: Likewise.
45953         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
45954         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
45955         * sysdeps/unix/bsd/init-posix.c: Likewise.
45956         * sysdeps/unix/bsd/poll.c: Likewise.
45957         * sysdeps/unix/bsd/ptsname.c: Likewise.
45958         * sysdeps/unix/bsd/seekdir.c: Likewise.
45959         * sysdeps/unix/bsd/setegid.c: Likewise.
45960         * sysdeps/unix/bsd/seteuid.c: Likewise.
45961         * sysdeps/unix/bsd/setgid.c: Likewise.
45962         * sysdeps/unix/bsd/setrgid.c: Likewise.
45963         * sysdeps/unix/bsd/setruid.c: Likewise.
45964         * sysdeps/unix/bsd/setsid.c: Likewise.
45965         * sysdeps/unix/bsd/setuid.c: Likewise.
45966         * sysdeps/unix/bsd/sigaction.c: Likewise.
45967         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
45968         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
45969         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
45970         * sysdeps/unix/bsd/telldir.c: Likewise.
45971         * sysdeps/unix/bsd/times.c: Likewise.
45972         * sysdeps/unix/bsd/usleep.c: Likewise.
45974         * misc/Makefile (install-lib): Remove libbsd-compat.a.
45975         ($(objpfx)libbsd-compat.a): Remove rule.
45977         * include/features.h (__FAVOR_BSD): Do not define.
45978         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
45979         features conflicting with POSIX.
45980         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
45981         (_BSD_SOURCE): Remove description of not being a subset of other
45982         feature test macros.
45983         * manual/job.texi (getpgrp): Do not document BSD version.
45984         (getpgid): Do not document by reference to BSD getpgrp.
45985         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
45986         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
45987         * signal/signal.h [__FAVOR_BSD]: Likewise.
45988         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
45989         instead of making contents conditional on [__FAVOR_BSD].
45990         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
45992 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45996 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45998         [BZ #16314]
45999         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
46000         values below 2**-450, not 2**-500.
46001         * math/auto-libm-test-in: Don't allow spurious underflow from
46002         hypot.
46003         * math/auto-libm-test-out: Regenerated.
46005         [BZ #16316]
46006         [BZ #16330]
46007         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
46008         values of ha and hb and sort them after adjusting subnormal
46009         arguments.
46010         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
46011         Likewise.
46012         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
46013         values of ea and eb and sort them after adjusting subnormal
46014         arguments.
46015         * math/auto-libm-test-in: Do not expect some hypot tests of
46016         subnormals to fail.  Add more hypot tests.
46017         * math/auto-libm-test-out: Regenerated.
46019 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46021         [BZ #13304]
46022         * sysdeps/sh/s_fma.c: New file.
46023         * sysdeps/sh/s_fmaf.c: New file.
46024         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
46025         version.
46026         * sysdeps/sh/Implies: Add sh/soft-fp.
46028 2013-12-16  Roland McGrath  <roland@hack.frob.com>
46030         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
46031         level of indirection to members `objname', `errstring', `malloced'.
46032         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
46033         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
46034         it as the __longjmp argument (just pass 1 instead).
46035         (_dl_catch_error): Initialize C with argument pointers and address of
46036         volatile local ERRCODE rather than copying values out of C at return.
46038 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
46040         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
46041         * math/auto-libm-test-out: Regenerated.
46042         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
46043         (hypot_test_data): Likewise.
46044         (pow_test_data): Likewise.
46045         (pow_tonearest_test_data): Likewise.
46046         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46047         mpfr_ff_f.
46048         (func_calc_desc): Add mpfr_ff_f union field.
46049         (FUNC_mpfr_ff_f): New macro.
46050         (test_functions): Add atan2, hypot and pow.
46051         (special_fill_min): New function.
46052         (special_fill_minus_min): Likewise.
46053         (special_fill_min_subnorm): Likewise.
46054         (special_fill_minus_min_subnorm): Likewise.
46055         (special_real_inputs): Add min, -min, min_subnorm and
46056         -min_subnorm.
46057         (calc_generic_results): Handle mpfr_ff_f.
46058         * sysdeps/i386/fpu/libm-test-ulps: Update.
46059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46061 2013-12-16  Will Newton  <will.newton@linaro.org>
46063         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
46064         (Aligned Memory Blocks): Add documentation for aligned_alloc
46065         and suggest it as an alternative to posix_memalign.
46066         (Hooks for Malloc): Document __memalign_hook is also called
46067         for aligned_alloc.  (Summary of Malloc): Add summary for
46068         aligned alloc.  Document __memalign_hook is also called
46069         for aligned_alloc.
46071 2013-12-16  Will Newton  <will.newton@linaro.org>
46073         * manual/memory.texi (Malloc Examples): Clarify default
46074         alignment documentation.  Suggest posix_memalign rather
46075         than memalign or valloc.
46076         (Aligned Memory Blocks): Remove suggestion to use memalign
46077         or valloc.  Remove obsolete comment about BSD.
46078         Document memalign errno values and mark the function obsolete.
46079         Document posix_memalign returned error codes.  Mark valloc
46080         as obsolete.  (Hooks for Malloc): __memalign_hook is also
46081         called for posix_memalign and valloc.
46082         (Summary of Malloc): Add posix_memalign to function summary.
46083         __memalign_hook is also called for posix_memalign and valloc.
46085 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46087         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
46088         TAYLOR_SIN.
46089         (__sin): Adjust.
46090         (__cos): Likewise.
46091         (sloww): Use mynumber union.  Expand ternary operator into
46092         if-else statements.
46093         (cslow): use mynumber union.
46095 2013-12-16  Allan McRae  <allan@archlinux.org>
46097         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
46098         * configure: Regenerated.
46100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
46102         [BZ #14120]
46103         * configure.ac: Added --enable-maintainer-mode. Check for
46104         autoconf when enabled.
46105         * configure: Regenerated.
46107         * nscd/nscd.service: New file.
46108         * nscd/nscd.tmpfiles: New file.
46110 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
46112         [BZ #12100]
46113         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
46114         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
46115         * sysdeps/x86_64/multiarch/strstr.c: ... here.
46116         (strstr): Add __strstr_sse2_unaligned ifunc.
46117         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
46118         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
46119         (strcasestr): Remove __strcasestr_sse42 ifunc.
46120         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
46121         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46124 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46126         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
46127         * sysdeps/sh/bits/fenv.h: ... here.
46128         * sysdeps/sh/sh4/fpu/bits: Remove directory.
46130 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46132         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
46134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
46135         hypotf multiarch implementations.
46136         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
46137         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
46138         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
46139         multiarch hypot for PPC64.
46140         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
46141         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
46142         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
46143         multiarch hypotf for PPC64.
46145         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
46146         modff multiarch implementations.
46147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
46148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
46149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
46150         multiarch modf for PPC64.
46151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
46152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
46153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
46154         multiarch modff for PPC64.
46156         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
46157         and logl multiarch implementations.
46158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
46159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
46160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
46161         multiarch logb for PPC64.
46162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
46163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
46164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
46165         multiarch logb for PPC64.
46166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
46167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
46168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
46169         multiarch logb for PPC64.
46171         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
46172         isinff multiarch implementation.
46173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
46174         file.
46175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
46176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
46177         multiarch isinf for PPC64.
46178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
46179         file.
46180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
46181         multiarch isinff for PPC64.
46183         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
46184         finitef multiarch implementation.
46185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
46186         file.
46187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
46188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
46189         multiarch finite for PPC64.
46190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
46191         file.
46192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
46193         multiarch finitef for PPC64.
46195         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
46196         lrint multiarch implementation.
46197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
46198         file.
46199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
46200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
46201         multiarch llrint for PPC64.
46202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
46203         multiarch lrint for PPC64.
46205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
46206         copysignf multiarch implementation.
46207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
46208         file.
46209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
46210         file.
46211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
46212         multiarch copysign for PPC64.
46213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
46214         multiarch copysignf for PPC64.
46216         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
46217         multiarch implementation.
46218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
46219         file.
46220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
46221         file.
46222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
46223         file.
46224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
46225         file.
46226         multiarch llround for PPC64.
46227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
46228         multiarch trunc for PPC64.
46229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
46230         multiarch truncf for PPC64.
46232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
46233         multiarch implementation.
46234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
46235         file.
46236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
46237         file.
46238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
46239         file.
46240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
46241         file.
46242         multiarch llround for PPC64.
46243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
46244         multiarch round for PPC64.
46245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
46246         multiarch roundf for PPC64.
46248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
46249         multiarch implementation.
46250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
46251         file.
46252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
46253         file.
46254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
46255         file.
46256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
46257         file.
46258         multiarch llround for PPC64.
46259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
46260         multiarch floor for PPC64.
46261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
46262         multiarch floorf for PPC64.
46264         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
46265         multiarch implementation.
46266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
46267         file.
46268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
46269         file.
46270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
46271         file.
46272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
46273         file.
46274         multiarch llround for PPC64.
46275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
46276         multiarch ceil for PPC64.
46277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
46278         multiarch ceilf for PPC64.
46280         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46281         multiarch implementation.
46282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
46283         file.
46284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
46285         file.
46286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
46287         file.
46288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
46289         multiarch llround for PPC64.
46290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
46291         multiarch lround for PPC64.
46293         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46294         multiarch implementation.
46295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
46296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
46297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
46298         file.
46299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
46300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
46301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
46302         multiarch isnan for PPC64.
46303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
46304         multiarch isnanf for PPC64.
46306         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
46307         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
46308         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
46309         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
46310         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
46311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
46313         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
46314         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46315         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46316         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
46319         multiarch implementations.
46320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46321         (__libc_ifunc_impl_list): Likewise.
46322         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
46323         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
46324         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
46325         multiarch stpcpy for PPC64.
46327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46328         multiarch implementations.
46329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46330         (__libc_ifunc_impl_list): Likewise.
46331         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
46332         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
46333         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
46334         multiarch strcpy for PPC64.
46336         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
46337         redefine function name.
46338         (_wordcopy_fwd_dest_aligned): Likewise.
46339         (_wordcopy_bwd_aligned): Likewise.
46340         (_wordcopy_bwd_dest_aligned): Likewise.
46341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
46342         multiarch implementations.
46343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46344         (__libc_ifunc_impl_list): Likewise.
46345         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
46346         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
46347         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
46348         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
46349         multiarch wcscpy for PPC64.
46351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
46352         multiarch implementations.
46353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46354         (__libc_ifunc_impl_list): Likewise.
46355         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
46356         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
46357         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
46358         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
46359         multiarch wcscpy for PPC64.
46361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
46362         multiarch implementations.
46363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46364         (__libc_ifunc_impl_list): Likewise.
46365         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
46366         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
46367         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
46368         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
46369         multiarch wcsrchr for PPC64.
46371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
46372         multiarch implementations.
46373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46374         (__libc_ifunc_impl_list): Likewise.
46375         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
46376         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
46377         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
46378         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
46379         multiarch wcschr for PPC64.
46381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
46382         multiarch implementations.
46383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46384         (__libc_ifunc_impl_list): Likewise.
46385         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
46386         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
46387         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
46388         multiarch strchrnul for PPC64.
46390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
46391         implementations.
46392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46393         (__libc_ifunc_impl_list): Likewise.
46394         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46395         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46396         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46397         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46398         strchr for PPC64.
46400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46401         implementations.
46402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46403         (__libc_ifunc_impl_list): Likewise.
46404         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46405         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46406         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46407         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46408         strncmp for PPC64.
46410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46411         multiarch implementations.
46412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46413         (__libc_ifunc_impl_list): Likewise.
46414         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46415         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46416         strncasecmp for PPC64.
46417         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46418         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
46419         multiarch strncasecmp_l for PPC64.
46421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
46422         multiarch implementations.
46423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46424         (__libc_ifunc_impl_list): Likewise.
46425         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
46426         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
46427         multiarch strcasecmp for PPC64.
46428         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
46429         file.
46430         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
46431         multiarch strcasecmp_l for PPC64.
46433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
46434         implementations.
46435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46436         (__libc_ifunc_impl_list): Likewise.
46437         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
46438         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
46439         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
46440         strnlen for PPC64.
46442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
46443         implementations.
46444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46445         (__libc_ifunc_impl_list): Likewise.
46446         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46447         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
46448         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
46449         strlen for PPC64.
46451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
46452         implementations.
46453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46454         (__libc_ifunc_impl_list): Likewise.
46455         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
46456         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
46457         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
46458         rawmemrchr for PPC64.
46460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
46461         implementation.
46462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46463         (__libc_ifunc_impl_list): Likewise.
46464         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
46465         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
46466         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
46467         memrchr for PPC64.
46469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
46470         implementation.
46471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46472         (__libc_ifunc_impl_list): Likewise.
46473         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
46474         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
46475         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
46476         memchr for PPC64.
46478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
46479         implementation.
46480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46481         (__libc_ifunc_impl_list): Likewise.
46482         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
46483         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
46484         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
46485         mempcpy for PPC64.
46487         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
46488         avoid cretion of __bzero symbol.
46489         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
46490         Likewise.
46491         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
46492         Likewise.
46493         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
46494         Likewise.
46495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
46496         multiarch implementations.
46497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46498         (__libc_ifunc_impl_list): Likewise.
46499         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
46500         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
46501         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
46502         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
46503         bzero for PPC32.
46504         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
46505         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
46506         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
46507         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
46508         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
46509         memset for PPC64.
46510         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
46512         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
46513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
46514         implementations.
46515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46516         (__libc_ifunc_impl_list): Likewise.
46517         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
46518         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
46519         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
46520         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
46521         memcmp for PPC64.
46523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
46524         multiarch for POWER/PPC64.
46525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46526         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
46527         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
46528         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
46529         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
46530         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
46531         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
46532         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
46533         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
46534         memcpy for PPC64.
46536         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
46537         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
46538         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
46539         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
46540         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
46541         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
46542         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
46543         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
46544         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
46545         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
46546         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
46547         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
46548         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
46549         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
46550         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
46551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
46552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
46553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
46554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
46555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
46556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
46557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
46559 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46561         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
46563 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46565         * benchtests/Makefile (bench): Add exp2 and log2.
46566         (LDLIBS-bench-exp2): Add -lm.
46567         (LDLIBS-bench-log2): Likewise.
46568         * benchtests/exp2-inputs: New inputs file.
46569         * benchtests/log2-inputs: New inputs file.
46570         * benchtests/log-inputs: Add new inputs.
46571         * benchtests/tan-inputs: Likewise.
46573 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46575         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
46576         definition...
46577         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
46578         (csloww2): ... from here.
46580         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
46581         instead of structures.
46582         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
46583         (POLYNOMIAL): Likewise.
46584         (TAYLOR_SLOW): Likewise.
46585         (__sin): Likewise.
46586         (__cos): Likewise.
46587         (slow1): Likewise.
46588         (slow2): Likewise.
46589         (sloww): Likewise.
46590         (sloww1); Likewise.
46591         (sloww2): Likewise.
46592         (bsloww1): Likewise.
46593         (bsloww2): Likewise.
46594         (cslow2): Likewise.
46595         (csloww): Likewise.
46596         (csloww1): Likewise.
46597         (csloww2): Likewise.
46599 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
46601         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
46602         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
46603         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
46604         * malloc/hooks.c (realloc_check): Likewise.
46606         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
46607         * malloc/arena.c: Remove PER_THREAD conditional.
46608         [!PER_THREAD]: Remove code.
46609         (ptmalloc_unlock_all2): Likewise.
46610         (ptmalloc_init): Likewise.
46611         (_int_new_arena): Likewise.
46612         (arena_get2): Likewise.
46613         * malloc/hooks.c (__malloc_get_state): Likewise.
46614         (__malloc_set_state): Likewise.
46615         * malloc/malloc.c: Likewise.
46616         (struct malloc_state): Likewise.
46617         (struct malloc_par): Likewise.
46618         (__libc_realloc): Likewise.
46619         (__libc_mallopt): Likewise.
46621 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46623         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
46625 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
46627         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
46628         macro to a function.  Check for zero perturb_byte.
46629         (_int_malloc, _int_free): Remove zero perturb_byte checks.
46631         * malloc/malloc.c: (force_reg): Remove.
46632         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
46633         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
46634         force_reg by atomic_forced_read.
46635         * malloc/arena.c (ptmalloc_init): Likewise.
46636         * malloc/hooks.c (top_check): Likewise.
46638 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46642 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
46644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46646 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
46648         * math/auto-libm-test-in: Add tests of lgamma.
46649         * math/auto-libm-test-out: Regenerated.
46650         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
46651         (M_LOG_2_SQRT_PIl): Likewise.
46652         (lgamma_test_data): Use AUTO_TESTS_f_f1.
46653         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46654         mpfr_f_f1.
46655         (func_calc_desc): Add mpfr_f_f1 union field.
46656         (ARGS1): New macro.
46657         (ARGS2): Likewise.
46658         (ARGS3): Likewise.
46659         (ARGS4): Likewise.
46660         (RET1): Likewise.
46661         (RET2): Likewise.
46662         (CALC): Likewise.
46663         (FUNC): Likewise.
46664         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
46665         (test_functions): Add lgamma.
46666         (calc_generic_results): Handle mpfr_f_f1.
46667         * sysdeps/i386/fpu/libm-test-ulps: Update.
46668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46670 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46672         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
46673         __mpn_add_n for PowerPC64/POWER7.
46674         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
46675         __mpn_sub_n for PowerPC64/POWER7.
46677         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
46678         __mpn_addmul_1 for PowerPC64.
46679         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
46680         __mpn_submul_1 for PowerPC64.
46681         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
46682         for PowerPC64.
46683         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
46684         for PowerPC64.
46686 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
46688         [BZ #15089]
46689         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
46691 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46693         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
46695         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
46696         add multiarch folders.
46697         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
46698         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
46699         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
46700         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
46701         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
46702         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
46703         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
46704         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
46705         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
46706         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
46707         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
46708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
46709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
46710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
46711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
46712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
46713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
46715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46716         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
46717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
46718         New file.
46719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
46720         New file.
46721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
46722         multiarch __ieee754_hypot for PowerPC32.
46723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
46724         New file.
46725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
46726         New file.
46727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
46728         multiarch __ieee754_hypotf for PowerPC32.
46730         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
46731         long_double_symbol only if __logbl is defined.
46732         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
46733         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
46734         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
46735         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
46736         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
46737         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
46738         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
46739         path for implementation.
46740         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
46741         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
46742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
46743         logb, and logbl multiarch implementations for PowerPC32.
46744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
46745         file.
46746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
46747         file.
46748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
46749         multiarch logb for PowerPC32.
46750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
46751         file.
46752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
46753         file.
46754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
46755         multiarch logbf for PowerPC32.
46756         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
46757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
46758         file.
46759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
46760         multiarch logbl implementation for PowerPC32.
46762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
46763         and modff multiarch implementations.
46764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
46765         New file.
46766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46767         New file.
46768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46769         multiarch modf for PowerPC32.
46770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46771         New file.
46772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46773         New file.
46774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46775         multiarch modff for PowerPC32.
46777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46778         and lrintf multiarch implementations.
46779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46780         New file.
46781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46782         New file.
46783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46784         multiarch lrint for PowerPC32.
46785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46786         file: multiarch lrintf for PowerPC32.
46788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46789         and lroundf multiarch implementations.
46790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46791         New file.
46792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46793         New file.
46794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46795         New file.
46796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46797         multiarch lround for PowerPC32.
46798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46799         file: multiarch lroundf for PowerPC32.
46801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46802         copysign and copysignf multiarch implementations.
46803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46804         New file.
46805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46806         New file.
46807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46808         file: multiarch copysign for PowerPC32.
46809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46810         file: multiarch copysignf for PowerPC32.
46812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46813         and truncf multiarch implementations.
46814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46815         New file.
46816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46817         file.
46818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46819         multiarch trunc for PowerPC32.
46820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46821         New file.
46822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46823         New file.
46824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46825         multiarch truncf for PowerPC32.
46827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46828         and roundf multiarch implementations.
46829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46830         New file.
46831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46832         file.
46833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46834         multiarch round for PowerPC32.
46835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46836         New file.
46837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
46838         New file.
46839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
46840         multiarch roundf for PowerPC32.
46842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
46843         and floorf multiarch implementations.
46844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
46845         New file.
46846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
46847         file.
46848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
46849         multiarch floor for PowerPC32.
46850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46851         New file.
46852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
46853         New file.
46854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
46855         multiarch floorf for PowerPC32.
46857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
46858         and ceilf multiarch implementations.
46859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
46860         New file.
46861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
46862         file.
46863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
46864         multiarch ceil for PowerPC32.
46865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46866         New file.
46867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46868         file.
46869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46870         multiarch ceilf for PowerPC32.
46872         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46873         is defined.
46874         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46875         FINITEF is defined.
46876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46877         and finitef multiarch implementations.
46878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46879         New file.
46880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46881         file.
46882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46883         multiarch finite for PowerPC32.
46884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46885         New file.
46886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46887         file: multiarch finitef for PowerPC32.
46889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46890         and isinff multiarch implementations.
46891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46892         file.
46893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46894         file.
46895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46896         multiarch isinf for PowerPC32.
46897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46898         New file.
46899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
46900         multiarch isinff for PowerPC32.
46902         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
46903         alias when __isnan is defined.
46904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
46905         and isnanf multiarch implementations.
46906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
46907         file.
46908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
46909         file.
46910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
46911         file.
46912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
46913         file.
46914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
46915         multiarch isnan for PowerPC32.
46916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
46917         New file.
46918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
46919         New file.
46920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
46921         multiarch isnanf for PowerPC32.
46923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
46924         and sqrtf multiarch implementations.
46925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
46926         file.
46927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
46928         file.
46929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
46930         multiarch sqrt for PowerPC32.
46931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
46932         file.
46933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
46934         file.
46935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
46936         multiarch sqrtf for PowerPC32.
46938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
46939         and llroundf multiarch implementations.
46940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
46941         New file.
46942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
46943         New file.
46944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
46945         New file.
46946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
46947         file: multiarch llround for PowerPC32.
46948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
46949         file: multiarch llroundf for PowerPC32.
46951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
46952         multiarch PowerPC32 fpu implementations.
46953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
46954         New file.
46955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
46956         New file.
46957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
46958         multiarch llrint for PowerPC32.
46959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
46960         New file.
46961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
46962         New file.
46963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
46964         file.
46966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
46968         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
46969         file.
46970         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
46971         file.
46972         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
46973         file.
46974         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
46975         multiarch wordcopy for PPC32.
46976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46977         wordcopy objects.
46978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46979         (__libc_ifunc_impl_list): Likewise.
46980         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
46981         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
46982         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
46983         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
46984         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
46985         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
46987         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
46988         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
46989         file.
46990         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
46991         file.
46992         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
46993         file.
46994         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
46995         multiarch wcscpy for PPC32.
46996         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46997         multiarch objects.
46998         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46999         (__libc_ifunc_impl_list): Likewise.
47000         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47001         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47002         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
47003         sysdeps/powerpc/power6/wcscpy.c.
47005         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
47006         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
47007         file.
47008         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
47009         file.
47010         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
47011         file.
47012         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
47013         multiarch wcsrchr for PPC32.
47014         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47015         multiarch objects.
47016         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47017         (__libc_ifunc_impl_list): Likewise.
47018         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47019         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47020         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
47021         sysdeps/powerpc/power6/wcsrchr.c.
47023         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
47024         file.
47025         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
47026         file.
47027         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
47028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
47029         multiarch wcschr for PPc32.
47030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47031         multiarch objects.
47032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47033         (__libc_ifunc_impl_list): Likewise.
47034         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
47035         * sysdeps/powerpc/power6/wcschr.c: ... to here.
47036         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
47037         sysdeps/powerpc/power6/wcschr.c.
47039         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
47040         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
47041         file.
47042         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
47043         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
47044         file: multiarch strchr for PPC32.
47045         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
47046         multiarch objects.
47047         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47048         (__libc_ifunc_impl_list): Likewise.
47050         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
47051         name.
47052         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
47053         file.
47054         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
47055         file.
47056         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
47057         multiarch strchrnul for PPC32.
47058         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
47059         multiarch objects.
47060         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47061         (__libc_ifunc_impl_list): Likewise.
47063         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
47064         file.
47065         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
47066         multiarch strncasecmp for PPC32.
47067         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
47068         file.
47069         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
47070         multiarch strncasecmp_l for PPC32.
47071         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
47072         strncasecmp multiarch objects.
47073         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47074         (__libc_ifunc_impl_list): Likewise.
47076         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
47077         file.
47078         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
47079         multiarch strncasecmp for PPC32.
47080         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47081         New file.
47082         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
47083         multiarch strcasecmp_l for PPC32.
47084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
47085         multiarch objects.
47086         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47087         (__libc_ifunc_impl_list): Likewise.
47089         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
47090         file.
47091         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
47092         file.
47093         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
47094         multiarch strncmp for PPC32.
47095         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
47096         multiarch objects.
47097         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47098         (__libc_ifunc_impl_list): Likewise.
47100         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
47101         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
47102         file.
47103         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
47104         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
47105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
47106         multiarch objects.
47107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47108         (__libc_ifunc_impl_list): Likewise.
47110         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
47111         file.
47112         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
47113         file.
47114         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
47115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
47116         multiarch objects.
47117         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47118         (__libc_ifunc_impl_list): Likewise.
47120         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
47121         file.
47122         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
47123         file.
47124         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
47125         multiarch rawmemchr for PPC32.
47126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
47127         multiarch objects.
47128         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47129         (__libc_ifunc_impl_list): Likewise.
47131         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
47132         file.
47133         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
47134         file.
47135         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
47136         file: memrchr multiarch for PPC32.
47137         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
47138         multiarch objects.
47139         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47140         (__libc_ifunc_impl_list): Likewise.
47142         * string/memchr.c (__memchr): Using macro to redefine symbol name.
47143         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
47144         file.
47145         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
47146         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
47147         multiarch memchr for PPC32.
47148         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
47149         multiarch objects.
47150         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47151         (__libc_ifunc_impl_list): Likewise.
47153         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
47154         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
47155         file.
47156         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
47157         file.
47158         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
47159         file: multiarch mempcpy for PPC32.
47160         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
47161         multiarch objects.
47162         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47163         (__libc_ifunc_impl_list): Likewise.
47165         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
47166         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
47167         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
47168         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
47169         multiarch bzero for PPC32.
47170         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
47171         file.
47172         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
47173         file.
47174         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
47175         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
47176         file: multiarch memset for PPC32.
47177         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
47178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
47179         memset multiarch objects.
47180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47181         (__libc_ifunc_impl_list): Likewise.
47183         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
47184         file.
47185         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
47186         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
47187         memcmp for PPC32.
47188         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
47189         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
47190         multiarch objects.
47191         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47192         (__libc_ifunc_impl_list): Likewise.
47194         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
47195         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
47196         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
47197         file.
47198         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
47199         file.
47200         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
47201         file.
47202         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
47203         multiarch memcpy for PPC32.
47204         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
47205         multiarch objects.
47206         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47207         (__libc_ifunc_impl_list): Likewise.
47209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
47210         support multiarch for POWER/PPC32.
47211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
47212         Likewise.
47213         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
47214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
47215         Implies file to make multiarch folder appers before the fpu and
47216         default folder for power4 configuration.
47218 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47220         * scripts/bench.pl: Append volatile keyword to type.
47222 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47224         * sysdeps/sh/sotruss-lib.c: New file.
47225         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
47227 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47231 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
47233         [BZ #6810]
47234         * math/w_tgamma.c: Include <errno.h>.
47235         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
47236         * math/w_tgammaf.c: Include <errno.h>.
47237         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
47238         * math/w_tgammal.c: Include <errno.h>.
47239         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
47240         * math/auto-libm-test-in: Do not allow missing errno on tgamma
47241         underflow.  Add more tgamma tests.
47242         * math/auto-libm-test-out: Regenerated.
47243         * sysdeps/i386/fpu/libm-test-ulps: Update.
47244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47246         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
47247         sin, sinh, tan, tanh, tgamma, y0 and y1.
47248         * math/auto-libm-test-out: Regenerated.
47249         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47250         (TEST_COND_x86): Likewise.
47251         (M_E2l): Remove macro.
47252         (M_E3l): Likewise.
47253         (M_2_SQRT_PIl): Likewise.
47254         (M_SQRT_PIl): Likewise.
47255         (M_1_DIV_El): Likewise.
47256         (log_test_data): Use AUTO_TESTS_f_f.
47257         (log10_test_data): Likewise.
47258         (log1p_test_data): Likewise.
47259         (log2_test_data): Likewise.
47260         (sin_test_data): Likewise.
47261         (sin_tonearest_test_data): Likewise.
47262         (sin_towardzero_test_data): Likewise.
47263         (sin_downward_test_data): Likewise.
47264         (sin_upward_test_data): Likewise.
47265         (sinh_test_data): Likewise.
47266         (sinh_tonearest_test_data): Likewise.
47267         (sinh_towardzero_test_data): Likewise.
47268         (sinh_downward_test_data): Likewise.
47269         (sinh_upward_test_data): Likewise.
47270         (tan_test_data): Likewise.
47271         (tan_tonearest_test_data): Likewise.
47272         (tan_towardzero_test_data): Likewise.
47273         (tan_downward_test_data): Likewise.
47274         (tan_upward_test_data): Likewise.
47275         (tanh_test_data): Likewise.
47276         (tgamma_test_data): Likewise.
47277         (y0_test_data): Likewise.
47278         (y1_test_data): Likewise.
47279         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
47280         (special_real_inputs): Add pi/4.
47281         * sysdeps/i386/fpu/libm-test-ulps: Update.
47282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47284 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47286         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
47287         "longjmp_target" static probes.
47288         (__longjmp): Rename to __longjmp_symbol.
47289         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47290         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
47291         on which longjmp to generate.
47292         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47293         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
47294         probe.
47295         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47296         (__sigjmp_save): Rename to __sigjmp_save_symbol.
47297         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
47298         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
47299         and __sigjmp_save_symbol based on which sigsetjmp to generated.
47300         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
47302         __longjmp_symbol based on which __longjmp to generate.
47303         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
47304         probe.
47305         (setjmp): Rename to setjmp_symbol.
47306         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47307         (_setjmp): Rename to _setjmp_symbol.
47308         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47309         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
47310         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
47311         which setjmp to generate.
47312         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
47313         "longjmp_target" static probes.
47315 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47317         * benchtests/README: Add note about output arguments.
47318         * benchtests/bench-sincos.c: Remove file.
47319         * benchtests/sincos-inputs: New file.
47320         * scripts/bench.pl: Identify output arguments and define
47321         static variables for them.
47323         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
47325         [BZ #15941]
47326         * Makefile (INSTALL): Add install-plain.texi as the primary
47327         dependency.
47328         * manual/install-plain.texi: New file.
47329         * manual/install.texi: Include node directive only for
47330         non-plaintext output.
47332 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
47334         * stdlib/longlong.h: Update from GCC.
47336         [BZ #6807]
47337         [BZ #15901]
47338         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
47339         * math/w_j0f.c (y0f): Likewise.
47340         * math/w_j0l.c (__y0l): Likewise.
47341         * math/w_j1.c (y1): Likewise.
47342         * math/w_j1f.c (y1f): Likewise.
47343         * math/w_j1l.c (__y1l): Likewise.
47344         * math/w_jn.c (yn): Likewise.
47345         * math/w_jnf.c (ynf): Likewise.
47346         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
47347         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
47348         value for Bessel function domain errors outside _SVID_ mode.
47349         Adjust sign of return value for yn (negative integer, 0).
47350         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
47351         by zero in return for negative x and set sign appropriately for
47352         negative n.
47353         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
47354         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47355         * math/libm-test.inc (y0_test_data): Add more tests and adjust
47356         expectations in error cases.
47357         (y1_test_data): Likewise.
47358         (yn_test_data): Likewise.
47359         * sysdeps/i386/fpu/libm-test-ulps: Update.
47360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47362 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47364         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
47365         "64" to "64-v1".  Add "64-v2".
47366         (abi-64-options): Rename to ...
47367         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
47368         (abi-64-condition): Rename to ...
47369         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
47370         (abi-64-ld-soname): Rename to ...
47371         (abi-64-v1-ld-soname): ... this.
47372         (abi-64-v2-options): Define.
47373         (abi-64-v2-condition): Likewise.
47374         (abi-64-v2-ld-soname): Likewise.
47375         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
47376         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
47377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
47379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47381 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47382             Alan Modra  <amodra@gmail.com>
47384         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
47385         New versions for use with the ELFv2 ABI.
47386         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
47387         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
47388         declaration.
47389         (struct La_ppc64v2_retval): Likewise.
47390         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
47391         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
47392         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
47393         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47394         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47395         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47396         Do not save or restore CR.
47397         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47398         (_dl_profile_resolve): Do no save or restore CR.  Support extended
47399         return values for ELFv2 ABI.  Fix location of FPR return registers.
47400         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47401         updated values for _CALL_ELF == 2.
47402         (La_regs, La_retval, int_retval): Likewise.
47404 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47406         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47407         (FRAME_MIN_SIZE_PARM): Likewise.
47408         (FRAME_BACKCHAIN): Likewise.
47409         (FRAME_CR_SAVE): Likewise.
47410         (FRAME_LR_SAVE): Likewise.
47411         (FRAME_TOC_SAVE): Likewise.
47412         (FRAME_PARM_SAVE): Likewise.
47413         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47414         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47415         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47416         (call_mcount_parm_offset): New macro.
47417         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
47418         (PROF): Use symbolic stack frame offsets.
47419         (TAIL_CALL_SYSCALL_ERROR): Likewise.
47420         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
47421         Redefine in terms of FRAME_MIN_SIZE.
47422         (_dl_runtime_resolve): Use symbolic stack frame offsets.
47423         (_dl_profile_resolve): Likewise.  Update comment.
47424         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
47425         symbols stack frame offsets.
47426         (__sigsetjmp): Likewise.
47427         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
47428         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
47429         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
47430         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
47432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
47433         (FRAME_BACKCHAIN): Remove.
47434         (FRAME_CR_SAVE): Likewise.
47435         (FRAME_LR_SAVE): Likewise.
47436         (FRAME_COMPILER_DW): Likewise.
47437         (FRAME_LINKER_DW): Likewise.
47438         (FRAME_TOC_SAVE): Likewise.
47439         (FRAME_PARM_SAVE): Likewise.
47440         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
47441         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
47442         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
47444         (CHECK_SP): Use symbolic stack frame offsets.
47445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
47446         zone" instead of caller's parameter save area for temp storage.
47447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47448         Likewise.  Also, use symbolic stack frame offsets.
47449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
47450         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
47451         our own stack frame instead of the caller's.
47452         (__socket): Use symbolic stack frame offsets.
47454 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47455             Alan Modra  <amodra@gmail.com>
47457         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
47458         Define.
47459         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
47460         (PPC64_LOCAL_ENTRY_OFFSET): Define.
47461         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
47462         New function.
47463         (elf_machine_fixup_plt): Call it.
47464         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
47465         reloc arguments.
47466         (elf_machine_rela): Update call to elf_machine_plt_conflict.
47467         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47468         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
47469         r2 before calling target.
47471 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47472             Alan Modra  <amodra@gmail.com>
47474         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
47475         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
47476         versions of macros to support ELFv2 ABI.
47477         (LOCALENTRY): New macro.
47478         (ENTRY, EALIGN): Use it.
47479         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
47480         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
47481         fall through into ENTRY entry point.
47482         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
47483         Only define if _CALL_ELF != 2.
47485         (elf_machine_matches_host): Verify ABI version matches.
47486         (RTLD_START): Use LOCALENTRY.
47487         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
47488         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
47489         (PLT_ENTRY_WORDS): New macro.
47490         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
47491         (elf_machine_runtime_setup): Support ELFv2 ABI.
47492         (elf_machine_fixup_plt): Likewise.
47493         (elf_machine_plt_conflict): Likewise.
47494         (resolve_ifunc): Likewise.
47495         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47496         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47497         Likewise.
47498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
47499         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
47500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47501         (makecontext): Support ELFv2 ABI.
47502         * elf/elf.h (EF_PPC64_ABI): Define.
47504 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47506         * sysdeps/powerpc/powerpc64/sysdep.h
47507         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
47508         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
47509         (ENTRY) [ASSEMBLER]: ... but instead here ...
47510         (EALIGN) [ASSEMBLER]: ... and here.
47511         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
47512         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
47513         (ENTRY_2) [!ASSEMBLER]: Use it.
47514         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
47515         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
47516         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47517         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
47518         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
47519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
47520         Use PPC64_LOAD_FUNCPTR.
47522         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
47524 2013-12-04  Alan Modra  <amodra@gmail.com>
47526         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
47527         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
47528         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
47529         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
47531         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
47532         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
47533         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
47534         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
47535         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
47536         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
47538 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47541         (__makecontext): Fix incorrect CFI when backtracing out of
47542         context created via makecontext.
47543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
47544         (__setcontext): Fix incorrect CFI during switch to new context.
47545         (__novec_setcontext): Likewise.
47547 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47549         [BZ #4772]
47550         * time/strptime_l.c (__strptime_internal): Allow modifiers
47551         in strptime.
47552         * time/tst-strptime.c (day_tests): Add testcase.
47554 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47556         * scripts/bench.pl: Skip over blank lines.
47558 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
47560         [BZ #926]
47561         * manual/time.texi (Calendar Time): Clarify what timezone functions
47562         use.
47564 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47568 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47570         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
47571         implementation.
47572         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
47573         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
47574         * debug/memset_chk.c (__memset_chk): Likewise.
47575         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
47576         * debug/strncpy_chk.c: Likewise.
47578 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47580         [BZ #15268]
47581         [BZ #15425]
47582         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
47583         (__ieee754_exp): For possibly underflowing results, check size of
47584         result and force underflow exception if required.
47585         * math/auto-libm-test-in: Add more tests of exp.
47586         * math/auto-libm-test-out: Regenerated.
47587         * sysdeps/i386/fpu/libm-test-ulps: Update.
47588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47590         [BZ #16283]
47591         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
47592         * math/w_exp2f.c (__exp2f): Likewise.
47593         * math/w_exp2l.c (__exp2l): Likewise.
47594         * math/auto-libm-test-in: Do not allow missing errno on exp2
47595         underflow.
47596         * math/auto-libm-test-out: Regenerated.
47598 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
47600         [BZ #16274]
47601         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
47602         handle filename validation.
47603         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47604         (do_open): Delete.
47606 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47608         [BZ #6786]
47609         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
47610         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
47611         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
47612         <float.h>.
47613         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
47614         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
47615         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47616         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
47617         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47618         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
47619         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47620         * math/auto-libm-test-in: Don't allow missing errno from erfc.
47621         Add more erfc tests.
47622         * math/auto-libm-test-out: Regenerated.
47623         * sysdeps/i386/fpu/libm-test-ulps: Update.
47624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47626         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
47627         exp2, expm1, j0 and j1.
47628         * math/auto-libm-test-out: Regenerated.
47629         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
47630         (erfc_test_data): Likewise.
47631         (exp_test_data): Likewise.
47632         (exp_tonearest_test_data): Likewise.
47633         (exp_towardzero_test_data): Likewise.
47634         (exp_downward_test_data): Likewise.
47635         (exp_upward_test_data): Likewise.
47636         (exp10_test_data): Likewise.
47637         (exp2_test_data): Likewise.
47638         (expm1_test_data): Likewise.
47639         (j0_test_data): Likewise.
47640         (j1_test_data): Likewise.
47641         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
47642         (input_flag_type): Add flag_xfail_rounding.
47643         (input_flags): Add xfail-rounding.
47644         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
47645         (output_for_one_input_case): Handle flag_xfail_rounding.
47646         * sysdeps/i386/fpu/libm-test-ulps: Update.
47647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47649 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
47651         [BZ #16289]
47652         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
47653         division by 0.
47655 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47657         [BZ #16195]
47658         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
47659         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
47660         (STAP_PROBE0): New macro.
47661         (STAP_PROBE1): Likewise.
47662         (STAP_PROBE2): Likewise.
47663         (STAP_PROBE3): Likewise.
47664         (STAP_PROBE4): Likewise.
47666 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
47668         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
47670 2013-12-02  Steve Ellcey  <sellcey@mips.com>
47672         * benchtests/Makefile (bench): Add sqrt.
47673         (LDLIBS-bench-sqrt): New.
47674         * benchtests/sqrt-input: New.
47676 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
47678         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
47679         (GAIH_EAI): Likewise.
47680         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
47681         (gaih_inet): Likewise.
47682         (getaddrinfo): Don't use GAIH_EAI.
47684         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
47685         (struct gaih): Remove definition.
47687 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47689         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
47690         Use HERRNOP directly.
47692 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47696 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
47698         * math/gen-auto-libm-tests.c (test_functions): Add more
47699         single-argument functions.
47700         (special_fill_pi_2): New function.
47701         (special_fill_minus_pi_2): Likewise.
47702         (special_fill_pi_6): Likewise.
47703         (special_fill_minus_pi_6): Likewise.
47704         (special_fill_pi_3): Likewise.
47705         (special_fill_2pi_3): Likewise.
47706         (special_fill_e): Likewise.
47707         (special_fill_1_e): Likewise.
47708         (special_fill_e_minus_1): Likewise.
47709         (special_real_inputs): Add more special inputs.
47710         (output_for_one_input_case): Do not require ERANGE on underflow to
47711         zero if round-to-nearest result does not underflow to zero, unless
47712         exact results required.
47713         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
47714         atan, atanh, cbrt, cos and cosh.
47715         * math/auto-libm-test-out: Regenerated.
47716         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
47717         (acos_tonearest_test_data): Likewise.
47718         (acos_towardzero_test_data): Likewise.
47719         (acos_downward_test_data): Likewise.
47720         (acos_upward_test_data): Likewise.
47721         (acosh_test_data): Likewise.
47722         (asin_test_data): Likewise.
47723         (asin_tonearest_test_data): Likewise.
47724         (asin_towardzero_test_data): Likewise.
47725         (asin_upward_test_data): Likewise.
47726         (asinh_test_data): Likewise.
47727         (atan_test_data): Likewise.
47728         (atanh_test_data): Likewise.
47729         (cbrt_test_data): Likewise.
47730         (cos_test_data): Likewise.
47731         (cos_tonearest_test_data): Likewise.
47732         (cos_towardzero_test_data): Likewise.
47733         (cos_downward_test_data): Likewise.
47734         (cos_upward_test_data): Likewise.
47735         (cosh_test_data): Likewise.
47736         (cosh_tonearest_test_data): Likewise.
47737         (cosh_towardzero_test_data): Likewise.
47738         (cosh_downward_test_data): Likewise.
47739         (cosh_upward_test_data): Likewise.
47740         * sysdeps/i386/fpu/libm-test-ulps: Update.
47741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47743 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
47745         [BZ #6787]
47746         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
47747         * math/w_exp10f.c (__exp10f): Likewise.
47748         * math/w_exp10l.c (__exp10l): Likewise.
47749         * math/libm-test.inc (exp10_test_data): Add more tests and expect
47750         errno settings in existing tests.
47752         [BZ #14032]
47753         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
47754         precision control set to double precision.
47755         * sysdeps/i386/fpu/w_sqrt.c: New file.
47756         * math/auto-libm-test-in: Add more tests.
47757         * math/auto-libm-test-out: Update.
47759         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
47760         (sqrt_test_tonearest): New function.
47761         (sqrt_towardzero_test_data): New variable.
47762         (sqrt_test_towardzero): New function.
47763         (sqrt_downward_test_data): New variable.
47764         (sqrt_test_downward): New function.
47765         (sqrt_upward_test_data): New variable.
47766         (sqrt_test_upward): New function.
47767         (main): Call the new functions.
47769         * math/gen-auto-libm-tests.c: New file.
47770         * math/auto-libm-test-in: Likewise.
47771         * math/auto-libm-test-out: New generated file.
47772         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47773         variables.
47774         (%beautify): Add generated representations of zero.
47775         (top level): Set $auto_input and call parse_auto_input.
47776         (beautify): Remove trailing "f" from hex float constants.
47777         (parse_args): Handle XFAIL_TEST.
47778         (convert_condition): New function.
47779         (or_value): Likewise.
47780         (or_cond_value): Likewise.
47781         (generate_testfile): Handle AUTO_TESTS_* lines.
47782         (parse_auto_input): New function.
47783         * math/libm-test.inc (XFAIL_TEST): New macro.
47784         (ERRNO_UNCHANGED): Update value.
47785         (ERRNO_EDOM): Likewise.
47786         (ERRNO_ERANGE): Likewise.
47787         (IGNORE_RESULT): Likewise.
47788         (TEST_COND_flt_32): New macro.
47789         (TEST_COND_dbl_64): Likewise.
47790         (TEST_COND_ldbl_96_intel): Likewise.
47791         (TEST_COND_ldbl_96_m68k): Likewise.
47792         (TEST_COND_ldbl_128): Likewise.
47793         (TEST_COND_ldbl_128ibm): Likewise.
47794         (TEST_COND_long32): Likewise.
47795         (TEST_COND_long64): Likewise.
47796         (TEST_COND_before_rounding): Likewise.
47797         (TEST_COND_after_rounding): Likewise.
47798         (enable_test): Handle XFAIL_TEST flag.
47799         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47800         with finite results.
47801         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47802         auto-libm-test-out.
47804 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47805             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47807         [BZ #16214]
47808         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47809         __tls_get_addr_internal instead of __tls_get_offset in order to
47810         avoid GOT pointer dependency.  Make rtld export
47811         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47812         __tls_get_addr since we are a __tls_get_offset platform.
47813         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47814         GOT pointer being set up before.
47815         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47817 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
47819         * manual/math.texi (Errors in Math Functions): Document accuracy
47820         goals.
47822         [BZ #15004]
47823         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47824         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47825         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47826         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47827         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47828         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47829         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47830         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47831         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47832         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47833         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47834         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47835         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47836         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47837         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47838         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47840         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
47841         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
47842         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
47843         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
47844         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
47845         Likewise.
47846         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
47847         Likewise.
47848         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47849         Likewise.
47850         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
47851         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
47852         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
47853         atomic-feupdateenv and flt-rounds.
47854         * sysdeps/powerpc/nofpu/Versions (libc): Add
47855         __atomic_feholdexcept, __atomic_feclearexcept,
47856         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
47857         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
47858         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
47859         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
47860         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
47861         here.
47862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47863         Update.
47865         * manual/arith.texi (FP Exceptions): Document that exceptions may
47866         not be raised when matherr is used.
47867         (Math Error Reporting): Document overflow in directed rounding
47868         modes.  Document that errno may not be set when finite values are
47869         returned on overflow.  Document intent to set errno on underflow
47870         only for underflow to zero.
47872         [BZ #16271]
47873         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47874         round-to-nearest then adjust result for other rounding modes.
47875         * include/fenv.h (fegetround): Use libm_hidden_proto.
47876         * math/fegetround.c (fegetround): Use libm_hidden_def.
47877         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47878         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47879         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47880         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47881         Likewise.
47882         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47883         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47884         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47885         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47887 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47889         [BZ #16077]
47890         * nss/Versions (libnss_files): Add
47891         _nss_files_gethostbyname3_r.
47892         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47893         New function.
47894         (HOST_DB_LOOKUP): Remove macro.
47895         (_nss_files_gethostbyname_r): Implement function without the
47896         HOST_DB_LOOKUP macro.
47897         (_nss_files_gethostbyname2_r): Likewise.
47899 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
47901         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
47903 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
47905         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
47906         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
47907         warning.
47909 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47911         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
47912         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
47913         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47914         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
47915         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
47916         __fe_nomask_env_priv and attribute_hidden.
47917         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
47918         (libc_feupdateenv_test_ppc): Likewise.
47919         (libc_feresetround_ppc): Likewise.
47920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47921         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
47922         compat_symbol macro.
47923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47924         (__fe_nomask_env): Likewise.
47925         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
47927 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47929         * string/Makefile: Remove ifunc tests.
47930         * string/test-string.h: Define TEST_IFUNC.
47931         * string/test-bcopy-ifunc.c: Remove.
47932         * string/test-bzero-ifunc.c: Likewise.
47933         * string/test-memccpy-ifunc.c: Likewise.
47934         * string/test-memchr-ifunc.c: Likewise.
47935         * string/test-memcmp-ifunc.c: Likewise.
47936         * string/test-memcpy-ifunc.c: Likewise.
47937         * string/test-memmem-ifunc.c: Likewise.
47938         * string/test-memmove-ifunc.c: Likewise.
47939         * string/test-mempcpy-ifunc.c: Likewise.
47940         * string/test-memrchr-ifunc.c: Likewise.
47941         * string/test-memset-ifunc.c: Likewise.
47942         * string/test-rawmemchr-ifunc.c: Likewise.
47943         * string/test-stpcpy-ifunc.c: Likewise.
47944         * string/test-stpncpy-ifunc.c: Likewise.
47945         * string/test-strcasecmp-ifunc.c: Likewise.
47946         * string/test-strcasestr-ifunc.c: Likewise.
47947         * string/test-strcat-ifunc.c: Likewise.
47948         * string/test-strchr-ifunc.c: Likewise.
47949         * string/test-strchrnul-ifunc.c: Likewise.
47950         * string/test-strcmp-ifunc.c: Likewise.
47951         * string/test-strcpy-ifunc.c: Likewise.
47952         * string/test-strcspn-ifunc.c: Likewise.
47953         * string/test-strlen-ifunc.c: Likewise.
47954         * string/test-strncasecmp-ifunc.c: Likewise.
47955         * string/test-strncat-ifunc.c: Likewise.
47956         * string/test-strncmp-ifunc.c: Likewise.
47957         * string/test-strncpy-ifunc.c: Likewise.
47958         * string/test-strnlen-ifunc.c: Likewise.
47959         * string/test-strpbrk-ifunc.c: Likewise.
47960         * string/test-strrchr-ifunc.c: Likewise.
47961         * string/test-strspn-ifunc.c: Likewise.
47962         * string/test-strstr-ifunc.c: Likewise.
47964 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47966         * benchtests/Makefile: Remove ifunc tests.
47967         * benchtests/bench-string.h: Define TEST_IFUNC.
47968         * benchtests/bench-bcopy-ifunc.c: Remove.
47969         * benchtests/bench-bzero-ifunc.c: Likewise.
47970         * benchtests/bench-memccpy-ifunc.c: Likewise.
47971         * benchtests/bench-memchr-ifunc.c: Likewise.
47972         * benchtests/bench-memcmp-ifunc.c: Likewise.
47973         * benchtests/bench-memcpy-ifunc.c: Likewise.
47974         * benchtests/bench-memmem-ifunc.c: Likewise.
47975         * benchtests/bench-memmove-ifunc.c: Likewise.
47976         * benchtests/bench-mempcpy-ifunc.c: Likewise.
47977         * benchtests/bench-memrchr-ifunc.c: Likewise.
47978         * benchtests/bench-memset-ifunc.c: Likewise.
47979         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
47980         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
47981         * benchtests/bench-stpcpy-ifunc.c: Likewise.
47982         * benchtests/bench-stpncpy-ifunc.c: Likewise.
47983         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
47984         * benchtests/bench-strcasestr-ifunc.c: Likewise.
47985         * benchtests/bench-strcat-ifunc.c: Likewise.
47986         * benchtests/bench-strchr-ifunc.c: Likewise.
47987         * benchtests/bench-strchrnul-ifunc.c: Likewise.
47988         * benchtests/bench-strcmp-ifunc.c: Likewise.
47989         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
47990         * benchtests/bench-strcpy-ifunc.c: Likewise.
47991         * benchtests/bench-strcspn-ifunc.c: Likewise.
47992         * benchtests/bench-strlen-ifunc.c: Likewise.
47993         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
47994         * benchtests/bench-strncat-ifunc.c: Likewise.
47995         * benchtests/bench-strncmp-ifunc.c: Likewise.
47996         * benchtests/bench-strncpy-ifunc.c: Likewise.
47997         * benchtests/bench-strnlen-ifunc.c: Likewise.
47998         * benchtests/bench-strpbrk-ifunc.c: Likewise.
47999         * benchtests/bench-strrchr-ifunc.c: Likewise.
48000         * benchtests/bench-strsep-ifunc.c: Likewise.
48001         * benchtests/bench-strspn-ifunc.c: Likewise.
48002         * benchtests/bench-strstr-ifunc.c: Likewise.
48004 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48006         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
48008 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48010         * resolv/netdb.h: Use __glibc_reserved instead __unused.
48011         * rt/aio.h: Likewise.
48012         * sysdeps/gnu/bits/utmp.h: Likewise.
48013         * sysdeps/gnu/bits/utmpx.h: Likewise.
48014         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48015         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
48016         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
48017         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
48018         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
48019         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
48020         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
48021         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
48022         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
48023         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
48024         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
48025         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
48026         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
48027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
48028         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48029         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
48030         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
48031         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
48032         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
48033         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
48034         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
48035         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
48036         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
48037         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48038         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
48039         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48040         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
48041         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
48042         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
48043         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
48044         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
48045         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
48046         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
48047         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48048         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
48049         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
48050         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
48051         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
48052         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
48053         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
48054         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
48055         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48057 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
48059         [BZ #16245]
48060         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
48061         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
48063 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
48065         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
48066         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
48067         Likewise.
48069 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48071         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
48072         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
48073         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
48074         (__fesetround): Remove define.
48075         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
48076         rounding and exceptions handling.
48077         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
48078         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
48079         (__fe_nomask_env): Likewise.
48080         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
48081         __fegetround instead of fegetround.
48082         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48083         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
48085 2013-11-21  Roland McGrath  <roland@hack.frob.com>
48087         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
48088         it's there.
48090         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
48092 2013-11-21  Meador Inge  <meadori@codesourcery.com>
48094         [BZ #11157]
48095         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
48096         (encrypt_r): Likewise.
48097         * malloc/obstack.h (obstack_free): Likewise.
48098         * posix/unistd.h (encrypt): Likewise.
48100 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
48102         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
48103         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
48104         DL_CALL_DT_FINI() that call the functions directly.
48105         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
48106         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
48107         * elf/dl-fini.c: Likewise.
48109 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
48111         * malloc/hooks.c (memalign_check): Add alignment rounding.
48112         * malloc/malloc.c (_mid_memalign): New function.
48113         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
48114         Implement by calling _mid_memalign.
48115         * manual/probes.texi (Memory Allocation Probes): Remove
48116         memory_valloc_retry and memory_pvalloc_retry.
48118 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48120         * locale/programs/locarchive.c (open_archive): Add const
48121         qualifier to ARCHIVEFNAME and copy default fname to
48122         DEFAULT_FNAME.
48124         [BZ #15601]
48125         * libio/tst-widetext.input: Rename Oriya to Odia.
48126         * locale/iso-639.def: Likewise.
48128         * manual/probes.texi (Mathematical Function Probes): Add
48129         documentation for sin, cos, asin and acos probes.
48130         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
48131         (__sin32): Add slowasin probe.
48132         (__cos32): Add slowacos probe.
48133         (__mpsin): Add slowsin probe.
48134         (__mpcos): Add slowcos probe.
48136 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
48138         [BZ #15483]
48139         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
48140         thread-local __sim_exceptions_thread and global
48141         __sim_exceptions_global.
48142         (__sim_disabled_exceptions): Change to thread-local
48143         __sim_disabled_exceptions_thread and global
48144         __sim_disabled_exceptions_global.
48145         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48146         and global __sim_round_mode_global.
48147         (__simulate_exceptions): Use thread-local floating-point state and
48148         set global state from it as needed.
48149         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
48150         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
48151         __sim_round_mode_thread.
48152         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
48153         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
48154         and global __sim_exceptions_global.
48155         (__sim_disabled_exceptions): Change to thread-local
48156         __sim_disabled_exceptions_thread and global
48157         __sim_disabled_exceptions_global.
48158         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48159         and global __sim_round_mode_global.
48160         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
48161         (SIM_SET_GLOBAL): Likewise.
48162         * sysdeps/powerpc/soft-fp/sfp-machine.h
48163         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
48164         __sim_round_mode_thread.
48165         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
48166         __sim_disabled_exceptions_thread.
48167         (__sim_exceptions): Change to __sim_exceptions_thread.
48168         (__sim_disabled_exceptions): Change to
48169         __sim_disabled_exceptions_thread.
48170         (__sim_round_mode): Change to __sim_round_mode_thread.
48171         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
48172         thread-local floating-point state and set global state from it as
48173         needed.
48174         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
48175         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
48176         (__sim_disabled_exceptions): Remove extern declaration.
48177         (feenableexcept): Use thread-local floating-point state and set
48178         global state from it as needed.
48179         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
48180         extern declaration.
48181         (__sim_disabled_exceptions): Likewise.
48182         (__sim_round_mode): Likewise.
48183         (__fegetenv): Use thread-local floating-point state.
48184         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
48185         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48186         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
48187         floating-point state and set global state from it as needed.
48188         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
48189         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
48190         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
48191         Likewise.
48192         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
48193         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
48194         Likewise.
48195         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
48196         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
48197         Use __sim_round_mode_thread.
48198         * math/test-fenv-tls.c: New file.
48199         * math/Makefile (tests): Add test-fenv-tls.
48200         ($(objpfx)test-fenv-tls): Depend on
48201         $(common-objpfx)nptl/libpthread.so.
48203 2013-11-19  Andreas Schwab  <schwab@suse.de>
48205         * locale/programs/locale.c (show_info): Decode wordarray elements.
48206         * locale/categories.def (LC_MONETARY): Add element for
48207         _NL_MONETARY_CRNCYSTR.
48208         * locale/C-monetary.c (conversion_rate): New variable.
48209         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
48210         element.
48212 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
48214         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
48215         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
48217 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48219         * elf/Makefile (tst-auxv): New test.
48220         * elf/tst-auxv.c: New
48221         * elf/rtld.c (dl_main): Adjust AT_EXECFN
48223 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
48225         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
48226         (hidden_proto): Caller changed.
48227         (hidden_tls_proto): New macro.
48228         (libc_hidden_tls_proto): Likewise.
48229         (rtld_hidden_tls_proto): Likewise.
48230         (libm_hidden_tls_proto): Likewise.
48231         (libresolv_hidden_tls_proto): Likewise.
48232         (librt_hidden_tls_proto): Likewise.
48233         (libdl_hidden_tls_proto): Likewise.
48234         (libnss_files_hidden_tls_proto): Likewise.
48235         (libnsl_hidden_tls_proto): Likewise.
48236         (libnss_nisplus_hidden_tls_proto): Likewise.
48237         (libutil_hidden_tls_proto): Likewise.
48239 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
48241         [BZ #10253]
48242         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
48243         (decompose_rpath): Defer expansion to fillin_rpath.
48244         (_dl_init_paths): Pass linkmap to fillin_rpath.
48246 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48248         * benchtests/Makefile: Add strsep.
48249         * benchtests/bench-strsep.c: New file: strsep benchtest.
48250         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
48252 2013-11-18  Andreas Schwab  <schwab@suse.de>
48254         * locale/programs/locale.c (show_info) [case byte]: Check for
48255         '\377' instead of '\177'.
48256         * locale/C-monetary.c (not_available): Always use "\377".
48257         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
48258         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
48259         detect unavailable sign_posn locale elements.
48260         * locale/localeconv.c (__localeconv): For grouping and
48261         mon_grouping handle "\177" and "\377" like no grouping.
48262         (INT_ELEM): New macro.  Use it to set all numeric members.
48263         * locale/programs/ld-monetary.c (monetary_read)
48264         <tok_mon_grouping>: Normalize single -1 to the empty string.
48265         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
48266         Likewise.
48268 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48270         [BZ #16055]
48271         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
48272         when we match (nil).
48273         * stdio-common/tst-sscanf.c (struct test): Add testcase.
48275 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
48277         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
48278         (NO_TEST_INLINE): Update value.
48279         (ERRNO_UNCHANGED): Likewise.
48280         (ERRNO_EDOM): Likewise.
48281         (ERRNO_ERANGE): Likewise.
48282         (IGNORE_RESULT): Likewise.
48283         (check_float_internal): Check signs of NaN results if
48284         TEST_NAN_SIGN used.
48285         (check_complex): Pass TEST_NAN_SIGN flag through to second
48286         check_float_internal call.
48287         (copysign_test_data): Add tests with quiet NaNs as second
48288         argument.  Use TEST_NAN_SIGN.
48289         (fabs_test_data): Add test of negative quiet NaN argument.  Use
48290         TEST_NAN_SIGN.
48291         (signbit_test_data): Add tests of quiet NaN argument.
48292         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
48294         * math/gen-libm-test.pl (show_exceptions): Take extra argument
48295         $ignore_result.
48296         (parse_args): Handle function results specified as IGNORE.
48297         * math/libm-test.inc (IGNORE_RESULT): New macro.
48298         (check_float_internal): Do not check numerical result if flag
48299         IGNORE_RESULT set.
48300         (check_complex): Pass through IGNORE_RESULT to second
48301         check_float_internal call.
48302         (check_int): Do not check numerical result if flag IGNORE_RESULT
48303         set.
48304         (check_long): Likewise.
48305         (check_bool): Likewise.
48306         (check_longlong): Likewise.
48307         (lrint_test_data): Add tests of infinite and NaN arguments.
48308         (lrint_tonearest_test_data): Likewise.
48309         (lrint_towardzero_test_data): Likewise.
48310         (lrint_downward_test_data): Likewise.
48311         (lrint_upward_test_data): Likewise.
48312         (llrint_test_data): Likewise.
48313         (llrint_tonearest_test_data): Likewise.
48314         (llrint_towardzero_test_data): Likewise.
48315         (llrint_downward_test_data): Likewise.
48316         (llrint_upward_test_data): Likewise.
48317         (lround_test_data): Likewise.
48318         (llround_test_data): Likewise.
48320         * math/libm-test.inc (NO_TEST_INLINE): New macro.
48321         (ERRNO_UNCHANGED): Update value.
48322         (ERRNO_EDOM): Likewise.
48323         (ERRNO_ERANGE): Likewise.
48324         (NO_TEST_INLINE_FLOAT): New macro.
48325         (NO_TEST_INLINE_DOUBLE): Likewise.
48326         (enable_test): New function.
48327         (RUN_TEST_f_f): Check enable_test before running test.
48328         (RUN_TEST_2_f): Likewise.
48329         (RUN_TEST_fff_f): Likewise.
48330         (RUN_TEST_c_f): Likewise.
48331         (RUN_TEST_f_f1): Likewise.
48332         (RUN_TEST_fF_f1): Likewise.
48333         (RUN_TEST_fI_f1): Likewise.
48334         (RUN_TEST_ffI_f1): Likewise.
48335         (RUN_TEST_c_c): Likewise.
48336         (RUN_TEST_cc_c): Likewise.
48337         (RUN_TEST_f_i): Likewise.
48338         (RUN_TEST_f_i_tg): Likewise.
48339         (RUN_TEST_ff_i_tg): Likewise.
48340         (RUN_TEST_f_b): Likewise.
48341         (RUN_TEST_f_b_tg): Likewise.
48342         (RUN_TEST_f_l): Likewise.
48343         (RUN_TEST_f_L): Likewise.
48344         (RUN_TEST_fFF_11): Likewise.
48345         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
48346         conditionals.
48347         (cosh_test_data): Likewise.
48348         (exp_test_data): Likewise.
48349         (expm1_test_data): Likewise.
48350         (hypot_test_data): Likewise.
48351         (pow_test_data): Likewise.
48352         (sinh_test_data): Likewise.
48353         (tanh_test_data): Likewise.
48354         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
48355         flags argument.
48357         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
48358         tests with quiet NaN input and output.
48359         (acosh_test_data): Likewise.
48360         (asin_test_data): Likewise.
48361         (asinh_test_data): Likewise.
48362         (atan_test_data): Likewise.
48363         (atanh_test_data): Likewise.
48364         (atan2_test_data): Likewise.
48365         (cbrt_test_data): Likewise.
48366         (cos_test_data): Likewise.
48367         (cosh_test_data): Likewise.
48368         (erf_test_data): Likewise.
48369         (erfc_test_data): Likewise.
48370         (exp_test_data): Likewise.
48371         (exp10_test_data): Likewise.
48372         (exp2_test_data): Likewise.
48373         (expm1_test_data): Likewise.
48374         (hypot_test_data): Likewise.
48375         (j0_test_data): Likewise.
48376         (j1_test_data): Likewise.
48377         (jn_test_data): Likewise.
48378         (lgamma_test_data): Likewise.
48379         (log_test_data): Likewise.
48380         (log10_test_data): Likewise.
48381         (log1p_test_data): Likewise.
48382         (log2_test_data): Likewise.
48383         (pow_test_data): Likewise.
48384         (scalb_test_data): Likewise.
48385         (sin_test_data): Likewise.
48386         (sincos_test_data): Likewise.
48387         (sinh_test_data): Likewise.
48388         (tan_test_data): Likewise.
48389         (tanh_test_data): Likewise.
48390         (tgamma_test_data): Likewise.
48391         (y0_test_data): Likewise.
48392         (y1_test_data): Likewise.
48393         (yn_test_data): Likewise.
48395         [BZ #16167]
48396         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48397         argument being NaN and avoid computations with second argument in
48398         that case.
48399         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48400         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48401         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48403 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
48405         * locale/iso-639.def: Add Chitwani Tharu (the).
48407 2013-11-14  Andreas Schwab  <schwab@suse.de>
48409         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48410         word instead of empty string.
48412 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48415         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48417         (__fe_nomask_env): Likewise.
48419 2013-11-13  Steve Ellcey  <sellcey@mips.com>
48421         * benchtests/bench-timing.h: Include time.h.
48423 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
48425         [BZ #15997]
48426         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
48427         to 3.4.0 for x32.
48428         * sysdeps/unix/sysv/linux/configure: Regenerated.
48430 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
48432         [BZ #16151]
48433         * stdlib/strtod_l.c (round_and_return): Do not consider
48434         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
48435         exponent one less than half the least subnormal exponent.
48436         * stdlib/test-strtod-round-data: Add more tests.
48437         * stdlib/tst-strtod-round.c (tests): Regenerated.
48439 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48441         [BZ #14143]
48442         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
48443         (__fe_mask_env): Likewise.
48444         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
48445         libm_hidden_proto and add function prototype.
48446         (__fe_mask_env): Add function prototype.
48447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48448         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
48449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48450         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
48451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48452         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48454 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48456         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
48457         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
48459 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48461         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
48462         of htab_find_slot().
48464 2013-11-11  David S. Miller  <davem@davemloft.net>
48466         [BZ #16150]
48467         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
48468         symbol in the non-vis3 case in static builds.
48469         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48470         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
48471         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
48472         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
48474 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
48476         [BZ #387]
48477         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
48478         it is empty.
48480 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48482         * benchtests/Makefile: Add bench-strtod.
48483         * benchtests/bench-strtod.c: New file: strtod benchtest
48485 2013-11-11  Andreas Schwab  <schwab@suse.de>
48487         [BZ #16153]
48488         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
48489         terminating NUL in key length.
48491 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48493         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48494         Add artificial ODP entry for vDSO symbol for PPC64.
48495         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
48496         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
48498 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48500         [BZ #15374]
48501         * nss/getent.c (services_keys): Recognize services starting with digit.
48503 2013-11-06  David S. Miller  <davem@davemloft.net>
48505         [BZ #15985]
48506         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
48507         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
48509 2013-11-06  Will Newton  <will.newton@linaro.org>
48511         * manual/memory.texi (Malloc Examples): Remove register
48512         keyword from examples.
48514 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
48516         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
48518 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
48520         [BZ #6981]
48521         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
48522         depending on [__GCC_IEC_559 > 0].
48523         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
48524         depending on [__GCC_IEC_559_COMPLEX > 0].
48526 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
48528         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
48529         to iso-639.def.
48531 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48533         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
48535 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
48537         [BZ #16112]
48538         * malloc/malloc (malloc_info): Do not handle first bin as
48539         special case.
48541 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
48543         * locale/iso-639.def: Add Central Nahuatl (nhn).
48545 2013-11-01  Bruno Haible  <bruno@clisp.org>
48547         [BZ #7003]
48548         * manual/math.texi (BSD Random): Specify range upper bound as
48549         in POSIX.
48551 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
48553         * locale/iso-639.def: Add Meadow Mari (mhr).
48555 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
48557         [BZ #14752], [BZ #15763]
48558         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
48559         Validate name.
48560         * rt/tst_shm.c: Add test for escaping directory.
48562 2013-10-31  Andreas Schwab  <schwab@suse.de>
48564         [BZ #15917]
48565         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
48566         followed by 'x' as part of digit sequence.
48567         * stdio-common/tst-sscanf.c (double_tests2): New tests.
48569 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
48571         [BZ #16037]
48572         * configure.ac: allow GNU Make 4.0 and greater.
48573         * configure: Regenerated.
48575 2013-10-30  Will Newton  <will.newton@linaro.org>
48577         [BZ #16038]
48578         * malloc/hooks.c (memalign_check): Limit alignment to the
48579         maximum representable power of two.
48580         * malloc/malloc.c (__libc_memalign): Likewise.
48581         * malloc/tst-memalign.c (do_test): Add test for very
48582         large alignment values.
48583         * malloc/tst-posix_memalign.c (do_test): Likewise.
48585 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48587         [BZ #11087]
48588         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
48589         (munmap_chunk): Likewise.
48590         (mremap_chunk): Likewise.
48592 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48594         [BZ #15799]
48595         * stdlib/div.c (div): Remove obsolete code.
48596         * stdlib/ldiv.c (ldiv): Likewise.
48597         * stdlib/lldiv.c (lldiv): Likewise.
48599 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48601         [BZ #16071]
48602         * nss/nss_files/files-XXX.c (get_contents_ret): New
48603         enumerator.
48604         (get_contents): New function.
48605         (internal_getent): Use it.  Expand size of LINEBUFLEN.
48607 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48609         * configure.in: Moved to ...
48610         * configure.ac: ... here. Change reference to configure.in
48611         to configure.ac.
48612         * sysdeps/arm/preconfigure.ac: ... here.
48613         configure.in to configure.ac.
48614         * sysdeps/gnu/configure.in: Moved to ...
48615         * sysdeps/gnu/configure.ac: ... here.
48616         * sysdeps/i386/configure.in: Moved to ...
48617         * sysdeps/i386/configure.ac: ... here.
48618         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
48619         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
48620         * sysdeps/mach/configure.in: Moved to ...
48621         * sysdeps/mach/configure.ac: ... here.
48622         * sysdeps/mach/hurd/configure.in: Moved to ...
48623         * sysdeps/mach/hurd/configure.ac: ... here.
48624         * sysdeps/powerpc/configure.in: Moved to ...
48625         * sysdeps/powerpc/configure.ac: ... here.
48626         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
48627         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
48628         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
48629         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
48630         * sysdeps/s390/s390-32/configure.in: Moved to ...
48631         * sysdeps/s390/s390-32/configure.ac: ... here.
48632         * sysdeps/s390/s390-64/configure.in: Moved to ...
48633         * sysdeps/s390/s390-64/configure.ac: ... here.
48634         * sysdeps/sh/configure.in: Moved to ...
48635         * sysdeps/sh/configure.ac: ... here.
48636         * sysdeps/sparc/configure.in: Moved to ...
48637         * sysdeps/sparc/configure.ac: ... here.
48638         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
48639         * sysdeps/unix/sysv/linux/configure.ac: ... here.
48640         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
48641         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
48642         * sysdeps/x86_64/configure.in: Moved to ...
48643         * sysdeps/x86_64/configure.ac: ... here.
48644         * sysdeps/x86_64/preconfigure.in: Moved to ...
48645         * sysdeps/x86_64/preconfigure.ac: ... here.
48646         * aclocal.m4: Change reference to configure.in to configure.ac.
48647         * config.h.in: Likewise.
48648         * manual/install.texi: Likewise.
48649         * manual/maint.texi: Likewise.
48650         * Makefile: Likewise.
48651         * malloc/Makefile: Likewise.
48652         * nscd/Makefile: Likewise.
48653         * Makeconfig: Change reference to configure.in and
48654         preconfigure.in to configure.ac and preconfigure.ac
48655         respectively.
48656         * INSTALL: Regenerated.
48657         * configure: Likewise.
48658         * sysdeps/gnu/configure: Likewise.
48659         * sysdeps/i386/configure: Likewise.
48660         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
48661         * sysdeps/mach/configure: Likewise.
48662         * sysdeps/mach/hurd/configure: Likewise.
48663         * sysdeps/powerpc/configure: Likewise.
48664         * sysdeps/powerpc/powerpc32/configure: Likewise.
48665         * sysdeps/powerpc/powerpc64/configure: Likewise.
48666         * sysdeps/s390/s390-32/configure: Likewise.
48667         * sysdeps/s390/s390-64/configure: Likewise.
48668         * sysdeps/sh/configure: Likewise.
48669         * sysdeps/sparc/configure: Likewise.
48670         * sysdeps/unix/sysv/linux/configure: Likewise.
48671         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
48672         * sysdeps/x86_64/configure: Likewise.
48673         * sysdeps/x86_64/preconfigure: Likewise.
48675 2013-10-29  Andreas Schwab  <schwab@suse.de>
48677         * stdio-common/Makefile (tst-swscanf-ENV): Define.
48679 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48681         * benchtests/pow-inputs: Add new inputs.
48683         * benchtests/exp-inputs: Add new inputs.
48685         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
48686         conditional check for return value.
48687         (__cos32): Likewise.
48689 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48691         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
48692         to provide a boost for large inputs with word alignment.
48693         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
48694         implementation based on optimized PPC64 strcpy.
48695         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
48696         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
48697         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
48698         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
48700 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48702         [BZ #2801]
48703         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
48705 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48707         [BZ #14876]
48708         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
48709         * time/tst-strptime.c (day_tests): Add testcase.
48711 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48713         [BZ #14029]
48714         * manual/pattern.texi: Acknowledge that fnmatch can fail.
48716 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
48718         [BZ #16074]
48719         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
48720         MAP_FAILED on error.
48722 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48724         [BZ #16072]
48725         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
48726         heap for large requests.
48728 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
48730         [BZ #9954]
48731         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
48732         result if the result has no associated interface.
48733         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
48734         interface for all 127.X.Y.Z addresses.
48736 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
48738         * locale/iso-639.def: Add Ligurian (lij)
48740 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
48742         [BZ #15825]
48743         * sunrpc/rpc_main.c: Document rpcgen -5.
48745 2013-10-19  Michael Stahl  <mstahl@redhat.com>
48747         * elf/rtld.c (do_preload): Print the reason why preloading failed.
48749 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48751         [BZ #10278]
48752         * posix/glob.c: Match only directories when trailing slash is present.
48753         * posix/tst-gnuglob.c (my_opendir): Do not open files.
48754         (main): Add testcase.
48756 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48758         [BZ #15670]
48759         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
48761 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
48763         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
48764         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
48765         AUTH_DES and cindex for FIPS 140-2.
48766         (DES Encryption): Add cindex FIPS 46-3.
48768         * locale/locarchive.h (struct locarhandle): Add fname.
48769         * locale/programs/localedef.c (main): Pass ARGV[remaining]
48770         if an optional argument was specified to --list-archive,
48771         otherwise NULL.
48772         * locale/programs/locarchive.c (show_archive_content): Take new
48773         argument fname and pass it via ah.fname to open_archive.
48774         * locale/programs/localedef.h: Update decl.
48775         (open_archive): If AH->fname is non-null, open that file
48776         rather than the default file name, and don't ignore ENOENT.
48777         (create_archive): Set AH.fname to NULL.
48778         (delete_locales_from_archive): Likewise.
48779         (add_locales_to_archive): Likewise.
48780         * locale/programs/locfile.c (write_all_categories): Likewise.
48782 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
48783             Aldy Hernandez  <aldyh@redhat.com>
48785         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48786         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48787         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48788         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48789         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48790         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48791         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48792         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48793         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48794         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48795         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48796         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48797         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48798         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48799         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48800         Likewise.
48801         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48802         Likewise.
48803         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48804         Likewise.
48805         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48806         Likewise.
48807         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48808         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48809         Likewise.
48810         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48811         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48812         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48813         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48814         Likewise.
48815         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48816         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48817         * sysdeps/powerpc/preconfigure: Likewise.
48818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48819         Likewise.
48820         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48821         Replace contents of file by #include of <fenv_libc.h>.
48822         * sysdeps/powerpc/soft-fp/sfp-machine.h
48823         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48824         and <sys/prctl.h>.
48825         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48826         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48827         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48828         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48829         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48830         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48831         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48832         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48833         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48834         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48835         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48836         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
48837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48838         Allow copysignl PLT reference to be missing.
48840 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
48841             Joseph Myers  <joseph@codesourcery.com
48843         [BZ #15948]
48844         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
48845         single character.
48846         (add_to_tablewc): Assert sequence of wide characters is nonempty.
48848 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48850         * elf/tst-tls-dlinfo.c: Don't include tls.h.
48851         * elf/tst-tls1.c: Likewise.
48852         * elf/tst-tls10.h: Likewise.
48853         * elf/tst-tls14.c: Likewise.
48854         * elf/tst-tls2.c: Likewise.
48855         * elf/tst-tls3.c: Likewise.
48856         * elf/tst-tls4.c: Likewise.
48857         * elf/tst-tls5.c: Likewise.
48858         * elf/tst-tls6.c: Likewise.
48859         * elf/tst-tls7.c: Likewise.
48860         * elf/tst-tls8.c: Likewise.
48861         * elf/tst-tls9.c: Likewise.
48862         * elf/tst-tlsmod1.c: Likewise.
48863         * elf/tst-tlsmod13.c: Likewise.
48864         * elf/tst-tlsmod13a.c: Likewise.
48865         * elf/tst-tlsmod14a.c: Likewise.
48866         * elf/tst-tlsmod16a.c: Likewise.
48867         * elf/tst-tlsmod16b.c: Likewise.
48868         * elf/tst-tlsmod2.c: Likewise.
48869         * elf/tst-tlsmod3.c: Likewise.
48870         * elf/tst-tlsmod4.c: Likewise.
48871         * elf/tst-tlsmod5.c: Likewise.
48872         * elf/tst-tlsmod6.c: Likewise.
48874 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48876         [BZ #12486]
48877         * malloc/malloc.c: remove checks for statistics.
48879 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48881         [BZ #15277]
48882         * inet/inet_net.c (inet_network): Detect additional invalid strings.
48883         * inet/tst-network.c: Add testcase.
48885 2013-10-17  Andreas Schwab  <schwab@suse.de>
48887         [BZ #15218]
48888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48889         to determine canonical name.
48891 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48893         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48894         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48895         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48896         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48897         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48898         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48899         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48900         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48901         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48902         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48903         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48904         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48905         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48906         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48907         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48908         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48909         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48910         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48911         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48912         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48913         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48914         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48915         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48916         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
48917         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
48918         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48919         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48920         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
48921         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48922         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
48923         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48924         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48925         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48926         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48927         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48928         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48929         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48930         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48931         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48932         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48933         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48934         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48935         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48936         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48937         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48938         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48939         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48940         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48941         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48942         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48943         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48944         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48945         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48946         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48947         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48948         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48949         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48950         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48952 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
48954         [BZ #16041]
48955         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
48956         make result into a quiet NaN.
48958 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
48960         * soft-fp/adddf3.c: Fix horizontal whitespace.
48961         * soft-fp/addsf3.c: Likewise.
48962         * soft-fp/addtf3.c: Likewise.
48963         * soft-fp/divdf3.c: Likewise.
48964         * soft-fp/divsf3.c: Likewise.
48965         * soft-fp/divtf3.c: Likewise.
48966         * soft-fp/double.h: Likewise.
48967         * soft-fp/eqdf2.c: Likewise.
48968         * soft-fp/eqsf2.c: Likewise.
48969         * soft-fp/eqtf2.c: Likewise.
48970         * soft-fp/extenddftf2.c: Likewise.
48971         * soft-fp/extended.h: Likewise.
48972         * soft-fp/extendsfdf2.c: Likewise.
48973         * soft-fp/extendsftf2.c: Likewise.
48974         * soft-fp/extendxftf2.c: Likewise.
48975         * soft-fp/fixdfdi.c: Likewise.
48976         * soft-fp/fixdfsi.c: Likewise.
48977         * soft-fp/fixdfti.c: Likewise.
48978         * soft-fp/fixsfdi.c: Likewise.
48979         * soft-fp/fixsfsi.c: Likewise.
48980         * soft-fp/fixsfti.c: Likewise.
48981         * soft-fp/fixtfdi.c: Likewise.
48982         * soft-fp/fixtfsi.c: Likewise.
48983         * soft-fp/fixtfti.c: Likewise.
48984         * soft-fp/fixunsdfdi.c: Likewise.
48985         * soft-fp/fixunsdfsi.c: Likewise.
48986         * soft-fp/fixunsdfti.c: Likewise.
48987         * soft-fp/fixunssfdi.c: Likewise.
48988         * soft-fp/fixunssfsi.c: Likewise.
48989         * soft-fp/fixunssfti.c: Likewise.
48990         * soft-fp/fixunstfdi.c: Likewise.
48991         * soft-fp/fixunstfsi.c: Likewise.
48992         * soft-fp/fixunstfti.c: Likewise.
48993         * soft-fp/floatdidf.c: Likewise.
48994         * soft-fp/floatdisf.c: Likewise.
48995         * soft-fp/floatditf.c: Likewise.
48996         * soft-fp/floatsidf.c: Likewise.
48997         * soft-fp/floatsisf.c: Likewise.
48998         * soft-fp/floatsitf.c: Likewise.
48999         * soft-fp/floattidf.c: Likewise.
49000         * soft-fp/floattisf.c: Likewise.
49001         * soft-fp/floattitf.c: Likewise.
49002         * soft-fp/floatundidf.c: Likewise.
49003         * soft-fp/floatundisf.c: Likewise.
49004         * soft-fp/floatunditf.c: Likewise.
49005         * soft-fp/floatunsidf.c: Likewise.
49006         * soft-fp/floatunsisf.c: Likewise.
49007         * soft-fp/floatunsitf.c: Likewise.
49008         * soft-fp/floatuntidf.c: Likewise.
49009         * soft-fp/floatuntisf.c: Likewise.
49010         * soft-fp/floatuntitf.c: Likewise.
49011         * soft-fp/fmadf4.c: Likewise.
49012         * soft-fp/fmasf4.c: Likewise.
49013         * soft-fp/fmatf4.c: Likewise.
49014         * soft-fp/gedf2.c: Likewise.
49015         * soft-fp/gesf2.c: Likewise.
49016         * soft-fp/getf2.c: Likewise.
49017         * soft-fp/ledf2.c: Likewise.
49018         * soft-fp/lesf2.c: Likewise.
49019         * soft-fp/letf2.c: Likewise.
49020         * soft-fp/muldf3.c: Likewise.
49021         * soft-fp/mulsf3.c: Likewise.
49022         * soft-fp/multf3.c: Likewise.
49023         * soft-fp/negdf2.c: Likewise.
49024         * soft-fp/negsf2.c: Likewise.
49025         * soft-fp/negtf2.c: Likewise.
49026         * soft-fp/op-1.h: Likewise.
49027         * soft-fp/op-2.h: Likewise.
49028         * soft-fp/op-4.h: Likewise.
49029         * soft-fp/op-8.h: Likewise.
49030         * soft-fp/op-common.h: Likewise.
49031         * soft-fp/quad.h: Likewise.
49032         * soft-fp/single.h: Likewise.
49033         * soft-fp/soft-fp.h: Likewise.
49034         * soft-fp/sqrtdf2.c: Likewise.
49035         * soft-fp/sqrtsf2.c: Likewise.
49036         * soft-fp/sqrttf2.c: Likewise.
49037         * soft-fp/subdf3.c: Likewise.
49038         * soft-fp/subsf3.c: Likewise.
49039         * soft-fp/subtf3.c: Likewise.
49040         * soft-fp/truncdfsf2.c: Likewise.
49041         * soft-fp/trunctfdf2.c: Likewise.
49042         * soft-fp/trunctfsf2.c: Likewise.
49043         * soft-fp/trunctfxf2.c: Likewise.
49044         * soft-fp/unorddf2.c: Likewise.
49045         * soft-fp/unordsf2.c: Likewise.
49046         * soft-fp/unordtf2.c: Likewise.
49048 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
49050         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
49051         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
49053 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
49055         * elf/dl-libc.c: Clear initfini list after freeing.
49057 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
49059         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
49060         * soft-fp/addsf3.c: Likewise.
49061         * soft-fp/addtf3.c: Likewise.
49062         * soft-fp/divdf3.c: Likewise.
49063         * soft-fp/divsf3.c: Likewise.
49064         * soft-fp/divtf3.c: Likewise.
49065         * soft-fp/double.h: Likewise.
49066         * soft-fp/eqdf2.c: Likewise.
49067         * soft-fp/eqsf2.c: Likewise.
49068         * soft-fp/eqtf2.c: Likewise.
49069         * soft-fp/extenddftf2.c: Likewise.
49070         * soft-fp/extended.h: Likewise.
49071         * soft-fp/extendsfdf2.c: Likewise.
49072         * soft-fp/extendsftf2.c: Likewise.
49073         * soft-fp/extendxftf2.c: Likewise.
49074         * soft-fp/fixdfdi.c: Likewise.
49075         * soft-fp/fixdfsi.c: Likewise.
49076         * soft-fp/fixdfti.c: Likewise.
49077         * soft-fp/fixsfdi.c: Likewise.
49078         * soft-fp/fixsfsi.c: Likewise.
49079         * soft-fp/fixsfti.c: Likewise.
49080         * soft-fp/fixtfdi.c: Likewise.
49081         * soft-fp/fixtfsi.c: Likewise.
49082         * soft-fp/fixtfti.c: Likewise.
49083         * soft-fp/fixunsdfdi.c: Likewise.
49084         * soft-fp/fixunsdfsi.c: Likewise.
49085         * soft-fp/fixunsdfti.c: Likewise.
49086         * soft-fp/fixunssfdi.c: Likewise.
49087         * soft-fp/fixunssfsi.c: Likewise.
49088         * soft-fp/fixunssfti.c: Likewise.
49089         * soft-fp/fixunstfdi.c: Likewise.
49090         * soft-fp/fixunstfsi.c: Likewise.
49091         * soft-fp/fixunstfti.c: Likewise.
49092         * soft-fp/floatdidf.c: Likewise.
49093         * soft-fp/floatdisf.c: Likewise.
49094         * soft-fp/floatditf.c: Likewise.
49095         * soft-fp/floatsidf.c: Likewise.
49096         * soft-fp/floatsisf.c: Likewise.
49097         * soft-fp/floatsitf.c: Likewise.
49098         * soft-fp/floattidf.c: Likewise.
49099         * soft-fp/floattisf.c: Likewise.
49100         * soft-fp/floattitf.c: Likewise.
49101         * soft-fp/floatundidf.c: Likewise.
49102         * soft-fp/floatundisf.c: Likewise.
49103         * soft-fp/floatunsidf.c: Likewise.
49104         * soft-fp/floatunsisf.c: Likewise.
49105         * soft-fp/floatuntidf.c: Likewise.
49106         * soft-fp/floatuntisf.c: Likewise.
49107         * soft-fp/floatuntitf.c: Likewise.
49108         * soft-fp/fmadf4.c: Likewise.
49109         * soft-fp/fmasf4.c: Likewise.
49110         * soft-fp/fmatf4.c: Likewise.
49111         * soft-fp/gedf2.c: Likewise.
49112         * soft-fp/gesf2.c: Likewise.
49113         * soft-fp/getf2.c: Likewise.
49114         * soft-fp/ledf2.c: Likewise.
49115         * soft-fp/lesf2.c: Likewise.
49116         * soft-fp/letf2.c: Likewise.
49117         * soft-fp/muldf3.c: Likewise.
49118         * soft-fp/mulsf3.c: Likewise.
49119         * soft-fp/multf3.c: Likewise.
49120         * soft-fp/negdf2.c: Likewise.
49121         * soft-fp/negsf2.c: Likewise.
49122         * soft-fp/negtf2.c: Likewise.
49123         * soft-fp/op-1.h: Likewise.
49124         * soft-fp/op-2.h: Likewise.
49125         * soft-fp/op-4.h: Likewise.
49126         * soft-fp/op-8.h: Likewise.
49127         * soft-fp/op-common.h: Likewise.
49128         * soft-fp/quad.h: Likewise.
49129         * soft-fp/single.h: Likewise.
49130         * soft-fp/soft-fp.h: Likewise.
49131         * soft-fp/sqrtdf2.c: Likewise.
49132         * soft-fp/sqrtsf2.c: Likewise.
49133         * soft-fp/sqrttf2.c: Likewise.
49134         * soft-fp/subdf3.c: Likewise.
49135         * soft-fp/subsf3.c: Likewise.
49136         * soft-fp/subtf3.c: Likewise.
49137         * soft-fp/truncdfsf2.c: Likewise.
49138         * soft-fp/trunctfdf2.c: Likewise.
49139         * soft-fp/trunctfsf2.c: Likewise.
49140         * soft-fp/trunctfxf2.c: Likewise.
49141         * soft-fp/unorddf2.c: Likewise.
49142         * soft-fp/unordsf2.c: Likewise.
49143         * soft-fp/unordtf2.c: Likewise.
49145 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
49147         [BZ #15672]
49148         * misc/error.c (error_tail): Fix possible buffer overflow.
49150 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
49152         [BZ #13028]
49153         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
49154         address.
49156 2013-10-14  P. J. McDermott  <pj@pehjota.net>
49158         [BZ #832]
49159         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
49160         testing pipefail option.
49162 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49164         * soft-fp/double.h: Indent preprocessor directives inside #if.
49165         * soft-fp/extended.h: Likewise.
49166         * soft-fp/op-2.h: Likewise.
49167         * soft-fp/op-4.h: Likewise.
49168         * soft-fp/op-common.h: Likewise.
49169         * soft-fp/quad.h: Likewise.
49170         * soft-fp/single.h: Likewise.
49171         * soft-fp/soft-fp.h: Likewise.
49173 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
49175         * iconv/iconv_prog.c: Fix typos.
49176         * stdio-common/psiginfo-data.h: Likewise.
49178 2013-10-12   Reuben Thomas <rrt@sc3d.org>
49180         [BZ #15764]
49181         * locale/setlocale.c: Fix typo.
49183 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49185         [BZ #16036]
49186         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
49187         signaling NaN arguments.
49188         * soft-fp/unordsf2.c (__unordsf2): Likewise.
49189         * soft-fp/unordtf2.c (__unordtf2): Likewise.
49191         [BZ #14910]
49192         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
49193         unordered operands.
49194         * soft-fp/gesf2.c (__gesf2): Likewise.
49195         * soft-fp/getf2.c (__getf2): Likewise.
49196         * soft-fp/ledf2.c (__ledf2): Likewise.
49197         * soft-fp/lesf2.c (__lesf2): Likewise.
49198         * soft-fp/letf2.c (__letf2): Likewise.
49200         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
49201         * soft-fp/eqsf2.c (__eqsf2): Likewise.
49202         * soft-fp/eqtf2.c (__eqtf2): Likewise.
49203         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
49204         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
49205         * soft-fp/fixdfti.c (__fixdfti): Likewise.
49206         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
49207         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
49208         * soft-fp/fixsfti.c (__fixsfti): Likewise.
49209         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
49210         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
49211         * soft-fp/fixtfti.c (__fixtfti): Likewise.
49212         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
49213         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
49214         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
49215         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
49216         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
49217         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
49218         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
49219         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
49220         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
49221         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
49222         * soft-fp/floatdisf.c (__floatdisf): Likewise.
49223         * soft-fp/floatsisf.c (__floatsisf): Likewise.
49224         * soft-fp/floattidf.c (__floattidf): Likewise.
49225         * soft-fp/floattisf.c (__floattisf): Likewise.
49226         * soft-fp/floattitf.c (__floattitf): Likewise.
49227         * soft-fp/floatundidf.c (__floatundidf): Likewise.
49228         * soft-fp/floatundisf.c (__floatundisf): Likewise.
49229         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
49230         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
49231         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
49232         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
49233         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
49234         * soft-fp/gesf2.c (__gesf2): Likewise.
49235         * soft-fp/getf2.c (__getf2): Likewise.
49236         * soft-fp/ledf2.c (__ledf2): Likewise.
49237         * soft-fp/lesf2.c (__lesf2): Likewise.
49238         * soft-fp/letf2.c (__letf2): Likewise.
49240         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
49241         Undefine and redefine.
49242         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
49243         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
49244         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
49245         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
49246         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49247         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
49248         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49249         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
49250         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49251         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
49252         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49253         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
49254         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49255         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
49256         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49258         [BZ #16032]
49259         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
49260         without decrementing exponent if mantissa >= that for the
49261         denominator, not >.
49262         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
49263         denominator, not >.  Decrement exponent in < case instead of
49264         incrementing in >= case.
49265         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
49266         without decrementing exponent if mantissa >= that for the
49267         denominator, not >.
49269         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
49270         computing saturated result for unsigned overflow.
49272 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49273             Jeff Law  <law@redhat.com>
49275         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
49276         (atan2Mp): Add systemtap probe marker.
49277         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
49278         (__ieee754_log): Add systemtap probe marker.
49279         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
49280         (atanMp): Add systemtap probe marker.
49281         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
49282         (tanMp): Add systemtap probe marker.
49283         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
49284         (__slowexp): Add systemtap probe marker.
49285         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
49286         (__slowpow): Add systemtap probe marker.
49287         * manual/probes.texi: Document probes.
49289 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
49291         [BZ #15362]
49292         * libio/fileops.c (_IO_new_file_write): Return count of bytes
49293         written.
49294         (_IO_new_file_xsputn): Don't return EOF if nothing has been
49295         written.
49296         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
49297         written to buffer but not flushed.
49298         * libio/iofwrite_u.c:  Likewise.
49299         * libio/iopadn.c:  Return bytes returned even if EOF was
49300         encountered.
49301         * libio/iowpadn.c:  Likewise.
49302         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
49303         if _IO_padn does not write the whole buffer.
49304         [!COMPILE_WPRINTF] (PAD): Likewise.
49306 2013-10-10  David S. Miller  <davem@davemloft.net>
49308         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
49309         directory block.
49311 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49313         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
49314         instead of FSF address.
49315         * soft-fp/fixdfti.c: Likewise.
49316         * soft-fp/fixsfti.c: Likewise.
49317         * soft-fp/fixtfti.c: Likewise.
49318         * soft-fp/fixunsdfti.c: Likewise.
49319         * soft-fp/fixunssfti.c: Likewise.
49320         * soft-fp/fixunstfti.c: Likewise.
49321         * soft-fp/floattidf.c: Likewise.
49322         * soft-fp/floattisf.c: Likewise.
49323         * soft-fp/floattitf.c: Likewise.
49324         * soft-fp/floatuntidf.c: Likewise.
49325         * soft-fp/floatuntisf.c: Likewise.
49326         * soft-fp/floatuntitf.c: Likewise.
49327         * soft-fp/trunctfxf2.c: Likewise.
49329         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
49330         * soft-fp/fixdfti.c: Likewise.
49331         * soft-fp/fixsfti.c: Likewise.
49332         * soft-fp/fixtfti.c: Likewise.
49333         * soft-fp/fixunsdfti.c: Likewise.
49334         * soft-fp/fixunssfti.c: Likewise.
49335         * soft-fp/fixunstfti.c: Likewise.
49336         * soft-fp/floattidf.c: Likewise.
49337         * soft-fp/floattisf.c: Likewise.
49338         * soft-fp/floattitf.c: Likewise.
49339         * soft-fp/floatuntidf.c: Likewise.
49340         * soft-fp/floatuntisf.c: Likewise.
49341         * soft-fp/floatuntitf.c: Likewise.
49342         * soft-fp/trunctfxf2.c: Likewise.
49344 2013-10-10  David S. Miller  <davem@davemloft.net>
49346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49348 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
49350         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49351         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
49352         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
49353         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49354         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
49355         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
49356         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
49358         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
49359         for NaNs before doing comparisons on argument.
49360         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
49361         Likewise.
49363 2013-10-10  Will Newton  <will.newton@linaro.org>
49365         * malloc/hooks.c (memalign_check): Ensure the value of bytes
49366         passed to _int_memalign does not overflow.
49368 2013-10-10  Torvald Riegel  <triegel@redhat.com>
49370         * scripts/bench.pl: Add include-sources directive.
49371         * benchtests/README: Update documentation.
49373 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49375         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
49376         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
49377         instead of FP_INIT_ROUNDMODE.
49378         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
49379         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
49381         [BZ #16034]
49382         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
49383         copy class of input value.
49384         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
49385         not handle exceptions.
49386         * soft-fp/negsf2.c (__negsf2): Likewise.
49387         * soft-fp/negtf2.c (__negtf2): Likewise.
49388         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
49390 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
49392         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
49393         semicolon.  From Linux kernel.
49395 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
49397         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49399 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
49401         [BZ #156]
49402         * manual/socket.texi: Added statement about buffer
49403         for gethostbyname2_r.
49405 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
49407         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49408         Use .p2align directive instead, throughout.
49409         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49410         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49411         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49412         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49413         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49414         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49415         * sysdeps/x86_64/strchr.S: Likewise.
49416         * sysdeps/x86_64/strrchr.S: Likewise.
49418 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49420         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
49422         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
49424         * sysdeps/generic/math_private.h (__mpsin1): Remove
49425         declaration.
49426         (__mpcos1): Likewise.
49427         (__mpsin): New argument __range_reduce.
49428         (__mpcos): Likewise.
49429         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49430         (slow): Use __mpsin and __mpcos.
49431         (slow1): Likewise.
49432         (slow2): Likewise.
49433         (sloww): Likewise.
49434         (sloww1): Likewise.
49435         (sloww2): Likewise.
49436         (bsloww): Likewise.
49437         (bsloww1): Likewise.
49438         (bsloww2): Likewise.
49439         (cslow2): Likewise.
49440         (csloww): Likewise.
49441         (csloww1): Likewise.
49442         (csloww2): Likewise.
49443         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
49444         range_reduce.  Merge in __mpsin1.
49445         (__mpcos): Likewise.
49446         (__mpsin1): Remove.
49447         (__mpcos1): Likewise.
49449 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
49451         * locale/loadlocale.c (_nl_intern_locale_data): Use
49452         LOCFILE_ALIGNED_P.
49453         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
49454         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
49455         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
49456         obstack data is appropriately aligned.
49457         (obstack_int32_grow_fast): Likewise.
49458         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
49459         * locale/programs/locfile.c (add_locale_uint32): Likewise.
49460         (add_locale_uint32_array): Likewise.
49462 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49464         * benchtests/Makefile: Remove ARGLIST and RET variables.
49465         ($(objpfx)bench-%.c): Pass only function name to the script.
49466         * benchtests/README: Update documentation.
49467         * benchtests/acos-inputs: Add new directives.
49468         * benchtests/acosh-inputs: Likewise.
49469         * benchtests/asin-inputs: Likewise.
49470         * benchtests/asinh-inputs: Likewise.
49471         * benchtests/atan-inputs: Likewise.
49472         * benchtests/atanh-inputs: Likewise.
49473         * benchtests/cos-inputs: Likewise.
49474         * benchtests/cosh-inputs: Likewise.
49475         * benchtests/exp-inputs: Likewise.
49476         * benchtests/log-inputs: Likewise.
49477         * benchtests/pow-inputs: Likewise.
49478         * benchtests/rint-inputs: Likewise.
49479         * benchtests/sin-inputs: Likewise.
49480         * benchtests/sinh-inputs: Likewise.
49481         * benchtests/tan-inputs: Likewise.
49482         * benchtests/tanh-inputs: Likewise.
49483         * scripts/bench.pl: Add support for new directives.
49485 2013-10-07  Alan Modra  <amodra@gmail.com>
49487         * README: Fix careless merge.
49489 2013-10-05  Alan Modra  <amodra@gmail.com>
49491         * NEWS: Mention powerpc64le support and bugs fixed.
49492         * README: Both big-endian and little-endian powerpc64 supported.
49494 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49496         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
49497         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
49498         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
49499         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
49501 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
49503         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
49504         match prototype.
49506 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
49508         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
49509         Move -mhard-float appending from
49510         ports/sysdeps/powerpc/powerpc32/Makefile.
49511         [$(with-fp) = yes] (ASFLAGS): Likewise.
49512         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
49513         * sysdeps/powerpc/nofpu: Move directory from
49514         ports/sysdeps/powerpc/nofpu.
49515         * sysdeps/powerpc/soft-fp: Move directory from
49516         ports/sysdeps/powerpc/soft-fp.
49517         * sysdeps/powerpc/powerpc32/405: Move directory from
49518         ports/sysdeps/powerpc/powerpc32/405.
49519         * sysdeps/powerpc/powerpc32/440: Move directory from
49520         ports/sysdeps/powerpc/powerpc32/440.
49521         * sysdeps/powerpc/powerpc32/464: Move directory from
49522         ports/sysdeps/powerpc/powerpc32/464.
49523         * sysdeps/powerpc/powerpc32/476: Move directory from
49524         ports/sysdeps/powerpc/powerpc32/476.
49525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
49526         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
49527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
49528         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
49529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
49530         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
49531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
49532         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
49533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
49534         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
49535         * README: Update for powerpc-*-linux-gnu software floating point
49536         support in libc.
49538         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
49539         case to powerpc/powerpc32*.
49540         * sysdeps/unix/sysv/linux/configure: Regenerated.
49542         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
49543         (_FPU_MASK_OM): Define as 0x04.
49544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
49545         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
49546         0x00c10080.
49547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
49548         0x0000003c.
49549         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
49551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
49552         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49553         getcontext_e500.
49554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49555         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49556         setcontext_e500.
49557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
49558         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
49559         and setcontext_e500.
49561 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
49563         * locale/iso-3166.def: Update iso-1366.def and related occurrences
49565 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49567         * manual/threads.texi (Default Thread Attributes): Fix typo.
49569 2013-10-04  Will Newton  <will.newton@linaro.org>
49571         * malloc/Makefile: Add tst-memalign.
49572         * malloc/tst-memalign.c: New file.
49574         * malloc/tst-posix_memalign.c: Add comments.
49575         (do_test): Add comments and call free on all potentially
49576         allocated pointers. Add space after cast.
49578         * malloc/tst-pvalloc.c: Add comments.
49579         (do_test): Add comments and call free on all potentially
49580         allocated pointers. Remove duplicate check for NULL pointer.
49581         Add space after cast.
49583         * malloc/tst-valloc.c: Add comments.
49584         (do_test): Add comments and call free on all potentially
49585         allocated pointers. Remove duplicate check for NULL pointer.
49586         Add space after cast.
49588 2013-10-04  Alan Modra  <amodra@gmail.com>
49590         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49591         Use stdint types in rather than __attribute__((mode())).
49592         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49594 2013-10-04  Alan Modra  <amodra@gmail.com>
49596         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49597         Correct handling of unaligned relocs for little-endian.
49598         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49600 2013-10-04  Alan Modra  <amodra@gmail.com>
49602         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
49603         * configure: Regenerate.
49604         * nptl/shlib-versions: Powerpc*le starts at 2.18.
49605         * shlib-versions: Likewise.
49607 2013-10-04  Alan Modra  <amodra@gmail.com>
49609         * string/tester.c (test_memrchr): Increment reported test cycle.
49611 2013-10-04  Alan Modra  <amodra@gmail.com>
49613         * string/test-memcpy.c (do_one_test): When reporting errors, print
49614         string address and don't overrun end of string.
49616 2013-10-04  Alan Modra  <amodra@gmail.com>
49618         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
49619         insrdi.  Make better use of reg selection to speed exit slightly.
49620         Schedule entry path a little better.  Remove useless "are we done"
49621         checks on entry to main loop.  Handle wrapping around zero address.
49622         Correct main loop count.  Handle single left-over word from main
49623         loop inline rather than by using loop_small.  Remove extra word
49624         case in loop_small caused by wrong loop count.  Add little-endian
49625         support.
49626         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49627         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
49628         cache hint.
49629         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49630         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
49631         support.  Avoid rlwimi.
49632         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
49634 2013-10-04  Alan Modra  <amodra@gmail.com>
49636         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
49637         insrdi.  Formatting.
49638         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
49639         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49640         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
49641         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49642         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49643         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
49645 2013-10-04  Alan Modra  <amodra@gmail.com>
49647         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
49648         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49649         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
49650         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
49651         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49652         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49653         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49654         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49655         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
49656         use of regs.  Use power7 mtocrf.  Tidy function tails.
49658 2013-10-04  Alan Modra  <amodra@gmail.com>
49660         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
49661         Formatting.  Consistently use rXXX register defines or rN defines.
49662         Use early exit labels that avoid restoring unused non-volatile regs.
49663         Make cr field use more consistent with rWORDn compares.  Rename
49664         regs used as shift registers for unaligned loop, using rN defines
49665         for short lifetime/multiple use regs.
49666         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49667         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
49668         addi 1,1,64 to pop stack frame.  Simplify return value code.
49669         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49671 2013-10-04  Alan Modra  <amodra@gmail.com>
49673         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
49674         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
49675         rather than rlwimi.
49676         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
49677         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
49678         little-endian support.  Correct typos.
49679         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
49680         rather than rlwimi.
49681         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
49682         in loop and entry code to keep "and." results.
49683         (strchr): Add little-endian support.  Comment.  Move cntlzd
49684         earlier in tail.
49685         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
49687 2013-10-04  Alan Modra  <amodra@gmail.com>
49689         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
49690         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
49691         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
49692         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
49694 2013-10-04  Alan Modra  <amodra@gmail.com>
49696         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
49697         (rTMP): Define as r11.
49698         (strcmp): Add little-endian support.  Optimise tail.
49699         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
49700         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49701         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49702         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49703         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49704         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49705         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49707 2013-10-04  Alan Modra  <amodra@gmail.com>
49709         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
49710         little-endian support.  Remove unnecessary "are we done" tests.
49711         Handle "s" wrapping around zero and extremely large "size".
49712         Correct main loop count.  Handle single left-over word from main
49713         loop inline rather than by using small_loop.  Correct comments.
49714         Delete "zero" tail, use "end_max" instead.
49715         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
49717 2013-10-04  Alan Modra  <amodra@gmail.com>
49719         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
49720         support.  Don't branch over align.
49721         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
49722         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
49723         support.  Rearrange tmp reg use to suit.  Comment.
49724         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
49726 2013-10-04  Alan Modra  <amodra@gmail.com>
49728         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
49730 2013-10-04  Alan Modra  <amodra@gmail.com>
49732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
49733         conditional form of branch and link when obtaining pc.
49734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49736 2013-10-04  Alan Modra  <amodra@gmail.com>
49738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
49739         HIWORD/LOWORD.
49740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
49741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
49743 2013-10-04  Alan Modra  <amodra@gmail.com>
49745         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
49746         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
49747         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
49748         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
49749         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49750         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49751         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
49752         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49753         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
49754         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
49756 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49757             Alistair Popple <alistair@ozlabs.au.ibm.com>
49758             Alan Modra <amodra@gmail.com>
49760         [BZ #15723]
49761         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
49762         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
49763         _dl_hwcap access for little-endian.
49764         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
49765         destroy vmx regs when saving unaligned.
49766         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49767         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
49768         destroy vmx regs when saving unaligned.
49770 2013-10-04  Alan Modra  <amodra@gmail.com>
49772         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49773         Don't use a union to pack hi/low value.
49775 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49777         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49778         for little-endian.
49779         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49780         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49781         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49782         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49783         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49785 2013-10-04  Alan Modra  <amodra@gmail.com>
49787         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49788         constants to usual value for .cst8 section, and remove redundant
49789         high address load.
49790         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49791         constant for 0x1p52.  Load little-endian words of double from
49792         correct stack offsets.
49794 2013-10-04  Alan Modra  <amodra@gmail.com>
49796         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49797         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49798         words of double from correct stack offsets.
49799         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49800         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49801         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49802         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49803         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49804         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49805         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49806         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49807         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49808         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49809         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49810         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49811         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49812         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49813         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49814         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49815         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49817 2013-10-04  Alan Modra  <amodra@gmail.com>
49819         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49820         64-bit int/double union.
49821         (_FPU_SETCW): Likewise.
49822         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49823         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49825 2013-10-04  Alan Modra  <amodra@gmail.com>
49827         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49828         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49830 2013-10-04  Alan Modra  <amodra@gmail.com>
49832         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49833         use vector int constants.
49834         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49836 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49838         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
49839         array with long long.
49840         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
49841         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49842         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
49843         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
49844         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
49845         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
49846         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
49847         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
49848         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
49849         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
49850         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
49851         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
49852         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
49854 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49856         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
49857         (__signbit): Likewise.  Correct for little-endian.
49858         (__signbitl): Call __signbit.
49859         (lrint): Correct for little-endian.
49860         (lrintf): Call lrint.
49862 2013-10-04  Alan Modra  <amodra@gmail.com>
49864         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49865         union 32-bit int array member with 64-bit int array.
49866         (t515, tm256): Double rather than long double.
49867         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49869 2013-10-04  Alan Modra  <amodra@gmail.com>
49871         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49872         Delete.
49873         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49874         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49875         version of math_ldbl.h.
49877 2013-10-04  Alan Modra  <amodra@gmail.com>
49879         [BZ #15734], [BZ #15735]
49880         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49881         all uses of ieee875 long double macros and unions.  Simplify test
49882         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
49883         ldbl_extract_mantissa value for ix,iy exponents.  Properly
49884         normalize after ldbl_extract_mantissa, and don't add hidden bit
49885         already handled.  Don't treat low word of ieee854 mantissa like
49886         low word of IBM long double and mask off bit when testing for
49887         zero.
49888         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49889         all uses of ieee875 long double macros and unions.  Simplify tests
49890         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
49891         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
49892         two1022, instead use their values.  Recognise that tests for large
49893         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
49894         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49895         Rewrite all uses of ieee875 long double macros and unions.  Simplify
49896         test for 0.0L and nan.  Correct negation.
49897         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
49898         ieee875 long double macros and unions.  Correct output for large
49899         magnitude x.  Correct absolute value calculation.
49900         (__erfcl): Likewise.
49901         * math/libm-test.inc: Add tests for errors discovered in IBM long
49902         double versions of fmodl, remainderl, erfl and erfcl.
49904 2013-10-04  Alan Modra  <amodra@gmail.com>
49906         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
49907         all uses of ieee854 long double macros and unions.  Simplify tests
49908         for long doubles that are fully specified by the high double.
49909         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
49910         Likewise.
49911         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
49912         Remove dead code too.
49913         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
49914         (__ieee754_ynl): Likewise.
49915         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
49916         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
49917         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
49918         Remove dead code too.
49919         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
49920         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
49921         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
49922         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
49923         Simplify.
49924         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
49925         Simplify.
49926         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
49927         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
49928         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
49929         Comment on variable precision.
49930         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
49931         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49932         Likewise.
49933         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
49934         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49935         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49936         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
49937         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
49939 2013-10-04  Alan Modra  <amodra@gmail.com>
49941         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
49942         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
49943         all uses of ieee854 long double macros and unions.
49944         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
49945         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49946         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
49947         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
49948         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
49949         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49950         Likewise.
49951         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
49952         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49953         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
49954         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49955         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
49956         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
49957         Simplify sign and nan test too.
49958         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
49959         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
49960         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
49961         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
49962         Likewise.
49963         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49964         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
49965         Likewise.
49966         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49967         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
49968         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
49969         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
49970         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
49971         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
49973 2013-10-04  Alan Modra  <amodra@gmail.com>
49975         * stdio-common/printf_size.c (__printf_size): Don't use
49976         union ieee854_long_double in fpnum union.
49977         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
49978         signbit macro to retrieve sign from long double.
49979         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
49980         retrieve sign from long double.
49981         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
49982         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
49983         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
49984         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49985         * math/test-misc.c (main): Don't use union ieee854_long_double.
49987 2013-10-04  Alan Modra  <amodra@gmail.com>
49989         [BZ #15680]
49990         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
49991         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
49992         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
49993         calculation.  Remove unnecessary test for denormal exponent.
49994         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
49995         Correct handling of denormals.  Avoid undefined shift behaviour.
49996         Correct normalisation of low mantissa when low double is denormal.
49997         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
49998         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
49999         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
50000         Correct normalisation of low mantissa.  Test for overflow of high
50001         mantissa and normalise.
50002         (ldbl_nearbyint): Use more readable constant for two52.
50003         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
50004         (__mpn_construct_long_double): Fix test for overflow of high
50005         mantissa and correct normalisation.  Avoid undefined shift.
50007 2013-10-04  Alan Modra  <amodra@gmail.com>
50009         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50010         (union ibm_extended_long_double): Define as an array of ieee754_double.
50011         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
50012         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
50013         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
50014         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50015         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50016         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
50017         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50018         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50019         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50020         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
50021         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50023 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
50025         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
50026         page size instead of calling getpagesize.
50028         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
50029         (LOCFILE_ALIGN_MASK): Likewise.
50030         (LOCFILE_ALIGN_UP): Likewise.
50031         (LOCFILE_ALIGNED_P): Likewise.
50032         * locale/programs/ld-collate.c (collate_output): Use the new
50033         macros instead of __alignof__ (int32_t).
50034         * locale/weight.h (findidx): Likewise.
50036 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
50038         [BZ #431]
50039         * manual/string.texi: Fix strncat and wcsncat.
50041 2013-10-03  Brooks Moses  <bmoses@google.com>
50043         [BZ #15915]
50044         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
50045         * Makerules: ...here, and adjust associated comments.
50047 2013-10-02  Will Newton  <will.newton@linaro.org>
50049         * malloc/Makefile: Add tst-pvalloc.
50050         * malloc/tst-pvalloc.c: New file.
50052 2013-10-02  Will Newton  <will.newton@linaro.org>
50054         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
50055         improve test coverage.
50057 2013-10-02  Will Newton  <will.newton@linaro.org>
50059         * malloc/Makefile: Add tst-posix_memalign.
50060         * malloc/tst-posix_memalign.c: New file.
50062 2013-10-01  Eric Blake  <eblake@redhat.com>
50064         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
50065         Use __THROWNL rather than __THROW on static functions.
50067 2013-09-30  Petr Machata  <pmachata@redhat.com>
50069         * elf/elf.h (R_AARCH64_ABS16): New macro.
50070         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
50071         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
50072         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
50073         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
50074         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
50075         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
50076         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
50077         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
50078         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
50079         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
50080         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
50081         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
50082         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
50083         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
50084         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
50085         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
50086         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
50087         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
50088         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
50089         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
50090         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
50091         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
50092         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
50093         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
50094         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
50095         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
50096         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
50097         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
50098         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
50099         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
50100         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
50101         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
50102         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
50103         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
50104         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
50105         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
50106         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
50107         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
50108         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
50109         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
50110         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
50111         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
50112         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
50113         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
50114         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
50115         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
50116         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
50117         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
50118         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
50119         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
50120         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
50121         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
50122         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
50123         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
50124         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
50125         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
50126         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
50127         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
50128         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
50129         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
50130         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
50131         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
50132         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
50133         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
50134         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
50135         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
50136         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
50137         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
50138         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
50139         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
50140         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
50141         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
50142         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
50143         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
50144         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
50145         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
50146         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
50147         (R_AARCH64_TLSDESC_LDR): Likewise.
50148         (R_AARCH64_TLSDESC_ADD): Likewise.
50149         (R_AARCH64_TLSDESC_CALL): Likewise.
50151 2013-09-30  Andreas Schwab  <schwab@suse.de>
50153         [BZ #15048]
50154         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
50155         the nss database lookup.
50156         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50159 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
50161         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
50163 2013-09-28  P. J. McDermott  <pj@pehjota.net>
50165         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
50166         ${Bash-specific parameter/pattern/string} parameter expansion.
50167         * sysdeps/unix/make-syscalls.sh: Likewise.
50169 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50171         * sysdeps/sh/stackguard-macros.h: New file.
50173 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
50175         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50176         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
50177         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
50178         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
50179         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50180         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
50182 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50184         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
50185         Fix thread ID register.
50187 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
50189         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
50190         [POSIX || UNIX98]: Require rather than permitting all symbols from
50191         <time.h>.
50192         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
50193         element of struct sched_param.
50194         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
50195         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
50196         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
50197         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
50198         constant.
50200 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
50202         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
50203         argument calculation.
50205 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50207         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
50208         Expect macro.
50209         [POSIX] (pthread_attr_t): Do not require type.
50210         [POSIX] (pthread_cond_t): Likewise.
50211         [POSIX] (pthread_condattr_t): Likewise.
50212         [POSIX] (pthread_key_t): Likewise.
50213         [POSIX] (pthread_mutex_t): Likewise.
50214         [POSIX] (pthread_mutexattr_t): Likewise.
50215         [POSIX] (pthread_once_t): Likewise.
50216         [POSIX] (pthread_t): Likewise.
50217         [POSIX-based standards] (pthread_atfork): Expect function.
50219 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50220             Richard Sandiford  <richard@codesourcery.com>
50222         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
50223         (swap_endianness_p): New extern variable.
50224         (set_big_endian): New inline function.
50225         (maybe_swap_uint32): Likewise.
50226         (maybe_swap_uint32_array): Likewise.
50227         (maybe_swap_uint32_obstack): Likewise.
50228         * locale/programs/locfile.c: Include <stdbool.h>.
50229         (swap_endianness_p): New variable.
50230         (add_locale_uint32): Call maybe_swap_uint32.
50231         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
50232         (write_locale_data): Call maybe_swap_uint32_array.
50233         * locale/programs/ld-collate.c (obstack_int32_grow): Call
50234         maybe_swap_uint32.
50235         (obstack_int32_grow_fast): Likewise.
50236         (output_weightwc): Call maybe_swap_uint32_obstack.
50237         (collate_output): Likewise.
50238         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
50239         (OPT_LITTLE_ENDIAN): Likewise.
50240         (options): Add --little-endian and --big-endian options.
50241         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
50242         * locale/programs/locarchive.c: Include "locfile.h".
50243         (GET): New macro.
50244         (SET): Likewise.
50245         (INC): Likewise.
50246         (create_archive): Use the new macros to access fields of
50247         structures directly mapped from or written to locale archives.
50248         (oldlocrecentcmp): Likewise.
50249         (enlarge_archive): Likewise.
50250         (insert_name): Likewise.
50251         (add_alias): Likewise.
50252         (add_locale): Likewise.
50253         (delete_locales_from_archive): Likewise.
50254         (show_archive_content): Likewise.
50255         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
50256         locale data.
50258 2013-09-24  Roland McGrath  <roland@hack.frob.com>
50260         * manual/freemanuals.texi: Updated from (newly) canonical copy at
50261         http://www.gnu.org/doc/freemanuals.texi.
50262         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
50264 2013-09-24  Will Newton  <will.newton@linaro.org>
50266         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
50267         macro.
50269 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
50271         * locale/hashval.h (compute_hashval): Interpret bytes of key as
50272         unsigned char.
50274 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
50276         * manual/threads.texi (POSIX Threads): Fix a typo.
50278 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50280         [BZ #14547]
50281         * string/tst-strcoll-overflow.c: New test case.
50282         * string/Makefile (xtests): Add tst-strcoll-overflow.
50283         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
50284         cache if string sizes may cause integer overflow.
50286         [BZ #14547]
50287         * string/strcoll_l.c (coll_seq): New members rule, idx,
50288         save_idx and back_us.
50289         (get_next_seq_nocache): New function.
50290         (do_compare_nocache): New function.
50291         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
50292         when malloc fails.
50294 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
50296         [BZ #15754]
50297         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
50298         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
50299         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
50301         [BZ #15754]
50302         * elf/Makefile (tests): Add tst-ptrguard1.
50303         (tests-static): Add tst-ptrguard1-static.
50304         (tst-ptrguard1-ARGS): Define.
50305         (tst-ptrguard1-static-ARGS): Define.
50306         * elf/tst-ptrguard1.c: New file.
50307         * elf/tst-ptrguard1-static.c: New file.
50308         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
50309         * sysdeps/i386/stackguard-macros.h: Likewise.
50310         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50311         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50312         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50313         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50314         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50315         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50317 2013-09-23  Hector Marco  <hecmargi@upv.es>
50318             Ismael Ripoll  <iripoll@disca.upv.es>
50319             Carlos O'Donell  <carlos@redhat.com>
50321         [BZ #15754]
50322         * sysdeps/generic/stackguard-macros.h: Define
50323         __pointer_chk_guard_local and POINTER_CHK_GUARD.
50324         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
50325         Define __pointer_chk_guard_local.
50326         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50327         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
50329 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
50331         [BZ #15859]
50332         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
50334 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
50336         * include/string.h (__ffs): Declare as hidden.
50337         * string/ffs.c (__ffs): Define as hidden.
50338         * sysdeps/i386/ffs.c (__ffs): Likewise.
50339         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
50340         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
50341         * sysdeps/s390/ffs.c (__ffs): Likewise.
50342         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50344 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
50346         * NEWS: Mention malloc probes.
50348         * malloc/arena.c (new_heap): New memory_heap_new probe.
50349         (grow_heap): New memory_heap_more probe.
50350         (shrink_heap): New memory_heap_less probe.
50351         (heap_trim): New memory_heap_free probe.
50352         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
50353         (systrim): New memory_sbrk_less probe.
50354         * manual/probes.texi: Document them.
50356         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
50357         * manual/probes.texi: Document it.
50359         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
50360         (__libc_realloc): Add memory_realloc_retry probe.
50361         (__libc_memalign): Add memory_memalign_retry probe.
50362         (__libc_valloc): Add memory_valloc_retry probe.
50363         (__libc_pvalloc): Add memory_pvalloc_retry probe.
50364         (__libc_calloc): Add memory_calloc_retry probe.
50365         * manual/probes.texi: Document them.
50367         * malloc/arena.c (get_free_list): Add probe
50368         memory_arena_reuse_free_list.
50369         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
50370         and memory_arena_reuse.
50371         (arena_get2) [!PER_THREAD]: Likewise.
50372         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
50373         memory_arena_reuse_realloc.
50374         * manual/probes.texi: Document them.
50376         * malloc/malloc.c (__libc_free): Add
50377         memory_mallopt_free_dyn_thresholds probe.
50378         (__libc_mallopt): Add multiple memory_mallopt probes.
50379         * manual/probes.texi: Document them.
50381         * malloc/malloc.c: Include stap-probe.h.
50382         (__libc_mallopt): Add memory_mallopt probe.
50383         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
50384         * manual/probes.texi: New.
50385         * manual/Makefile (chapters): Add probes.
50386         * manual/threads.texi: Set next node.
50388 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
50390         [BZ #15963, #13985]
50391         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
50392         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50393         Add `Chinese' to `nan' entry name.
50395 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50397         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50398         (POLYNOMIAL): Likewise.
50399         (TAYLOR_SINCOS): Likewise.
50400         (TAYLOR_SLOW): Likewise.
50401         (__sin): Use TAYLOR_SINCOS.
50402         (__cos): Likewise.
50403         (slow): Use TAYLOR_SLOW.
50404         (sloww): Likewise.
50405         (bsloww): Likewise.
50406         (csloww): Likewise.
50408 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50410         * stdlib/strtod_l.c: Fix buffer overrun.
50412 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50414         * benchtests/Makefile (bench): Add sincos.
50415         * benchtests/bench-sincos.c: New file.
50417         * math/libm-test.inc (cos_test_data): New test inputs.
50418         (sin_test_data): Likewise.
50420         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
50421         macro.
50422         (__sin): Use it.
50423         (__cos): Likewise.
50424         (slow1): Likewise.
50425         (slow2): Likewise.
50426         (sloww1): Likewise.
50427         (sloww2): Likewise.
50428         (bsloww1): Likewise.
50429         (bsloww2): Likewise.
50430         (cslow2): Likewise.
50431         (csloww1): Likewise.
50432         (csloww2): Likewise.
50434         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
50435         function.
50436         (__sin): Use it.
50437         (__cos): Likewise.
50439         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
50440         gotos.
50441         (__cos): Likewise.
50443 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
50445         * config.h.in (HAVE_MIPS_NAN2008): New macro.
50446         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
50447         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
50448         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
50449         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
50450         * elf/cache.c (print_entry): Handle the new cache flags.
50452 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50453             Aldy Hernandez  <aldyh@redhat.com>
50455         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
50456         Change condition to [_SOFT_FLOAT].
50457         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
50458         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
50459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
50460         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
50461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
50462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
50463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
50465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
50466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
50468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
50469         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
50470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
50471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
50472         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
50473         declaration.
50475 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50477         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
50478         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50479         (__longjmp): Use LOAD_GP to load saved GPRs.
50480         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50481         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50482         (__sigsetjmp): Use SAVE_GP to save GPRs.
50484         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
50485         Do not append -msoft-float.
50486         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
50488 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50490         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
50492 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
50494         [BZ #15966]
50495         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
50496         (_FPU_GETCW): Use initial "__" on variable and field names but not
50497         on macro parameter name.
50498         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
50499         parentheses around reference to macro parameter.
50501 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
50503         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
50504         prototype.
50505         (ctype_startup): Use uint32_t in cast and sizeof for
50506         ctype->charnames.
50508 2013-09-11  Jia Liu  <proljc@gmail.com>
50510         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
50511         __daddr_t_defined.
50512         [__FreeBSD__]: Likewise.
50514 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
50516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
50517         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
50518         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
50519         (strchr): Remove __strchr_sse42 ifunc selection.
50520         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
50521         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
50523 2013-09-11  Will Newton  <will.newton@linaro.org>
50525         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
50526         parameter to RES. Remove hardcoded 1000 value.
50527         * benchtests/bench-skeleton.c (main): Pass RES parameter
50528         to TIMING_INIT and multiply result by 1000.
50530 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50534 2013-09-11  Andreas Schwab  <schwab@suse.de>
50536         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
50537         if not defined.
50538         (O_TMPFILE) [__USE_GNU]: Define.
50539         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
50540         Define.
50542 2013-09-11  Will Newton  <will.newton@linaro.org>
50544         [BZ #15857]
50545         * malloc/malloc.c (__libc_memalign): Check the value of bytes
50546         does not overflow.
50548 2013-09-11  Will Newton  <will.newton@linaro.org>
50550         [BZ #15856]
50551         * malloc/malloc.c (__libc_valloc): Check the value of bytes
50552         does not overflow.
50554 2013-09-11  Will Newton  <will.newton@linaro.org>
50556         [BZ #15855]
50557         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
50558         does not overflow.
50560 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
50562         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
50563         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50564         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50565         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50566         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50568 2013-09-10  Allan McRae  <allan@archlinux.org>
50570         [BZ #15748]
50571         * manual/arith.texi (Parsing of Floats): Clarify
50572         cross-reference.
50574         [BZ #15849]
50575         * manual/install.texi (Running make install): Mention
50576         --enable-pt-chown.
50577         * INSTALL: Regenerated.
50579 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
50581         * csu/init-first.c (_init): Remove the !SHARED condition around
50582         FPU control word initialization.
50583         * elf/dl-support.c (_dl_fpu_control): New variable.
50584         (_dl_aux_init) <AT_FPUCW>: Initialize it.
50585         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
50586         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
50587         * math/test-fpucw-static.c: New file.
50588         * math/test-fpucw-ieee.c: New file.
50589         * math/test-fpucw-ieee-static.c: New file.
50590         * math/Makefile (tests): Add `test-fpucw-ieee' and
50591         `$(tests-static)'.
50592         (tests-static): New variable.
50593         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
50594         dependency to...
50595         [($(build-shared),yes)]
50596         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50597         ... this.
50598         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
50599         New dependency.
50601 2013-09-09  Allan McRae  <allan@archlinux.org>
50603         [BZ #15939]
50604         * manual/string.texi (Collation Functions): Fix typo in
50605         strcoll example.
50606         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
50608         [BZ #15893]
50609         * stdlib/isomac.c (get_null_defines): Fix memory leak.
50611         [BZ #15892]
50612         * libio/memstream.c (open_memstream): Fix memory leak.
50613         * libio/wmemstream.c (open_wmemstream): Likewise.
50615         [BZ #15895]
50616         * nscd/netgroupcache.c: Fix nesting of ifdefs.
50618 2013-09-09  Will Newton  <will.newton@linaro.org>
50620         * malloc/Makefile: Add tst-realloc to tests.
50621         * malloc/tst-realloc.c: New file.
50623 2013-09-09  Allan McRae  <allan@archlinux.org>
50625         [BZ #15844]
50626         * COPYING: Update from GNU website to fix FSF address.
50627         * COPYING.LIB: Likewise.
50629 2013-09-06  David S. Miller  <davem@davemloft.net>
50631         * po/zh_TW.po: Update Chinese (traditional) translation from
50632         translation project.
50634 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
50635             Joseph Myers  <joseph@codesourcery.com>
50637         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
50638         "localeinfo.h".
50639         (obstack_chunk_alloc): New macro.
50640         (obstack_chunk_free): Likewise.
50641         (record_offset): New function.
50642         (init_locale_data): Likewise.
50643         (align_locale_data): Likewise.
50644         (add_locale_empty): Likewise.
50645         (add_locale_raw_data): Likewise.
50646         (add_locale_raw_obstack): Likewise.
50647         (add_locale_string): Likewise.
50648         (add_locale_wstring): Likewise.
50649         (add_locale_uint32): Likewise.
50650         (add_locale_uint32_array): Likewise.
50651         (add_locale_char): Likewise.
50652         (start_locale_structure): Likewise.
50653         (end_locale_structure): Likewise.
50654         (start_locale_prelude): Likewise.
50655         (end_locale_prelude): Likewise.
50656         (write_locale_data): Take locale_file structure rather than an
50657         iovec.
50658         * locale/programs/locfile.h: Include "obstack.h".
50659         (struct locale_file): Change to store locale file contents instead
50660         of header.
50661         (init_locale_data): New prototype.
50662         (align_locale_data): Likewise.
50663         (add_locale_empty): Likewise.
50664         (add_locale_raw_data): Likewise.
50665         (add_locale_raw_obstack): Likewise.
50666         (add_locale_string): Likewise.
50667         (add_locale_wstring): Likewise.
50668         (add_locale_uint32): Likewise.
50669         (add_locale_uint32_array): Likewise.
50670         (add_locale_char): Likewise.
50671         (start_locale_structure): Likewise.
50672         (end_locale_structure): Likewise.
50673         (start_locale_prelude): Likewise.
50674         (end_locale_prelude): Likewise.
50675         (write_locale_data): Update prototype.
50676         * locale/programs/3level.h (struct TABLE): Remove result field.
50677         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
50678         Use new locale_file interface.
50679         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
50680         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
50681         * locale/programs/ld-address.c (address_output): Use new
50682         locale_file interface.
50683         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
50684         NO_ADD_LOCALE.
50685         (collate_finish): Don't call collseq_table_finalize.
50686         (collate_output): Use new locale_file interface.
50687         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
50688         in file.
50689         (NO_FINALIZE): Change to NO_ADD_LOCALE.
50690         (TABLE): Move defines earlier in file.
50691         (ELEMENT): Likewise.
50692         (DEFAULT): Likewise.
50693         (wctrans_table_add): Move macro and inline function earlier in
50694         file.
50695         (struct wctype_table): Move type earlier in file.
50696         (add_locale_wctype_table): New static prototype.
50697         (struct locale_ctype_t): Use logical types instead of struct iovec
50698         pointers for members.
50699         (ctype_output): Use new locale_file interface.
50700         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
50701         new locale_file interface.
50702         (allocate_arrays): Update for use of new locale_file interface.
50703         * locale/programs/ld-identification.c (identification_output): Use
50704         new locale_file interface.
50705         * locale/programs/ld-measurement.c (measurement_output): Likewise.
50706         * locale/programs/ld-messages.c (messages_output): Likewise.
50707         * locale/programs/ld-monetary.c (monetary_output): Likewise.
50708         * locale/programs/ld-name.c (name_output): Likewise.
50709         * locale/programs/ld-numeric.c (numeric_output): Likewise.
50710         * locale/programs/ld-paper.c (paper_output): Likewise.
50711         * locale/programs/ld-telephone.c (telephone_output): Likewise.
50712         * locale/programs/ld-time.c (time_output): Likewise.
50714 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50716         * benchtests/Makefile: Add memrchr benchmark.
50717         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
50718         benchmark as memrchr.
50719         * benchtests/bench-memrchr-ifunc.c: New file.
50720         * benchtests/bench-memrchr.c: New file.
50722 2013-09-06   Will Newton  <will.newton@linaro.org>
50724         * benchtests/Makefile (string-bench): Add memcpy.
50726 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
50727             Cong Wang  <amwang@redhat.com>
50729         [BZ #15850]
50730         * sysdeps/unix/sysv/linux/bits/in.h
50731         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
50732         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
50733         before __USE_KERNEL_IPV6_DEFS uses.
50734         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
50735         IPPROTO_BEETPH.
50736         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
50737         sockaddr_in6, or ipv6_mreq.
50739 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50741         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
50742         memory access for final bytes in some large inputs.
50743         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
50745 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50747         * string/test-memrchr.c: New file.
50748         * string/test-memrchr-ifunc.c: New file.
50749         * string/Makefile: Add new memrchr testcase.
50751 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
50753         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
50754         fanotify_init returns EPERM.
50756 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50758         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
50759         errors.
50760         (top level): Treat second token from macro or constant entries for
50761         allowed headers as allowed.
50762         * include/complex.h: Condition internal declarations on
50763         [!_ISOMAC].
50764         * include/fenv.h: Condition include of <stdbool.h> and internal
50765         declarations on [!_ISOMAC].
50767 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
50769         [BZ #15923]
50770         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50772 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50774         * configure.in (--enable-versioning): Remove configure option.
50775         (libc_cv_asm_symver_directive): Remove configure test.
50776         (libc_cv_ld_version_script_option): Likewise.
50777         (VERSIONING): Remove variable and AC_SUBST.
50778         (DO_VERSIONING): Remove AC_DEFINE.
50779         * configure: Regenerated.
50780         * config.h.in (DO_VERSIONING): Remove macro.
50781         * Makerules [$(versioning) = yes]: Change conditionals to
50782         [$(build-shared) = yes].
50783         * config.make.in (versioning): Remove variable.
50784         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50785         [$(build-shared) = yes].
50786         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50787         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50788         * elf/Makefile [$(versioning) = yes]: Change conditionals to
50789         [$(build-shared) = yes].
50790         * extra-lib.mk [$(versioning) = yes]: Likewise.
50791         * hurd/Makefile [$(versioning) = yes]: Likewise.
50792         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50793         [SHARED].
50794         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50795         [SHARED].
50796         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50797         [SHARED && !NO_HIDDEN].
50798         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50799         [SHARED].
50800         [SHARED && DO_VERSIONING]: Likewise..
50801         * libio/Makefile [$(versioning) = yes]: Change conditionals to
50802         [$(build-shared) = yes].
50803         * manual/install.texi (--disable-versioning): Remove
50804         documentation.
50805         * INSTALL: Regenerated.
50806         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50807         to [SHARED].
50808         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50809         [$(build-shared) = yes].
50810         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50811         * sysdeps/i386/i686/multiarch/strstr-c.c
50812         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50813         [SHARED && !NO_HIDDEN].
50814         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50815         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50816         * sysdeps/powerpc/powerpc32/dl-machine.c
50817         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50818         * sysdeps/powerpc/powerpc32/sysdep.h
50819         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50820         to [SHARED && PIC && !NO_HIDDEN].
50821         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50822         conditional to [SHARED].
50824 2013-09-04   Will Newton  <will.newton@linaro.org>
50826         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50827         * benchtests/bench-string.h: Include bench-timing.h instead
50828         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50829         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50830         call to HP_TIMING_DIFF_INIT.
50831         * benchtests/bench-memccpy.c: Use bench-timing.h macros
50832         instead of hp-timing.h macros.
50833         * benchtests/bench-memchr.c: Likewise.
50834         * benchtests/bench-memcmp.c: Likewise.
50835         * benchtests/bench-memcpy.c: Likewise.
50836         * benchtests/bench-memmem.c: Likewise.
50837         * benchtests/bench-memmove.c: Likewise.
50838         * benchtests/bench-memset.c: Likewise.
50839         * benchtests/bench-rawmemchr.c: Likewise.
50840         * benchtests/bench-strcasecmp.c: Likewise.
50841         * benchtests/bench-strcasestr.c: Likewise.
50842         * benchtests/bench-strcat.c: Likewise.
50843         * benchtests/bench-strchr.c: Likewise.
50844         * benchtests/bench-strcmp.c: Likewise.
50845         * benchtests/bench-strcpy.c: Likewise.
50846         * benchtests/bench-strcpy_chk.c: Likewise.
50847         * benchtests/bench-strlen.c: Likewise.
50848         * benchtests/bench-strncasecmp.c: Likewise.
50849         * benchtests/bench-strncat.c: Likewise.
50850         * benchtests/bench-strncmp.c: Likewise.
50851         * benchtests/bench-strncpy.c: Likewise.
50852         * benchtests/bench-strnlen.c: Likewise.
50853         * benchtests/bench-strpbrk.c: Likewise.
50854         * benchtests/bench-strrchr.c: Likewise.
50855         * benchtests/bench-strspn.c: Likewise.
50856         * benchtests/bench-strstr.c: Likewise.
50858 2013-09-04  Will Newton  <will.newton@linaro.org>
50860         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
50862 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
50864         [BZ #15427]
50865         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50866         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50867         * math/libm-test.inc (lgamma_test_data): Add more tests.
50868         * sysdeps/i386/fpu/libm-test-ulps: Update.
50869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50871 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50873         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50874         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50875         Add ifunc.
50876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50877         Add strcmp-sse2-unaligned
50878         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50880 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50882         * Versions.def (libc): Add GLIBC_2.19.
50884 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50886         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50887         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50889 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
50891         [BZ #14155]
50892         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50893         intermediate calculations in recurrence.
50894         (__ieee754_ynf): Likewise.
50895         * math/libm-test.inc (jn_test_data): Do not allow spurious
50896         underflow exception.  Add more tests.
50897         (yn_test_data): Add more tests.
50898         * sysdeps/i386/fpu/libm-test-ulps: Update.
50899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50901 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
50903         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
50905 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50907         * csu/init-first.c: Fix then/than typos.
50908         * locale/programs/ld-collate.c: Likewise.
50909         * locale/programs/linereader.h: Likewise.
50910         * manual/charset.texi: Likewise.
50911         * manual/filesys.texi: Likewise.
50912         * manual/stdio.texi: Likewise.
50913         * manual/string.texi: Likewise.
50914         * stdlib/fmtmsg.c: Likewise.
50915         * sysdeps/i386/stpncpy.S: Likewise.
50916         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50917         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50918         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50919         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50921 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50923         * elf/dl-open.c: Fix typos.
50924         * iconvdata/gbbig5.c: Likewise.
50925         * iconvdata/iso-2022-jp.c: Likewise.
50926         * iconv/gconv_int.h: Likewise.
50927         * iconv/loop.c: Likewise.
50928         * nis/rpcsvc/nis.h: Likewise.
50929         * resolv/ns_name.c: Likewise.
50930         * stdio-common/vfscanf.c: Likewise.
50931         * streams/stropts.h: Likewise.
50932         * sunrpc/rpc_thread.c: Likewise.
50933         * sysdeps/i386/strpbrk.S: Likewise.
50934         * sysdeps/ieee754/k_standard.c: Likewise.
50935         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50936         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50937         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
50938         * sysdeps/mach/hurd/profil.c: Likewise.
50939         * sysdeps/s390/dl-procinfo.h: Likewise.
50940         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
50941         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
50942         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
50943         * sysdeps/x86_64/dl-trampoline.S: Likewise.
50944         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50946 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
50948         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
50949         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
50951 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
50953         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
50954         aix specific files.
50955         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
50956         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
50957         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
50958         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
50959         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
50960         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
50961         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
50962         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
50964 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50965             Roland McGrath  <roland@hack.frob.com>
50967         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
50968         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
50970 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50972         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
50973         __executable_start symbol instead of _start.
50975 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50977         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
50978         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
50979         Move macros to...
50980         * sysdeps/gnu/ldsodefs.h: ... this new file.
50982         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
50983         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
50984         instead of ELFOSABI_LINUX.
50986         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
50987         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
50988         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
50989         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
50990         Likewise.
50991         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
50992         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
50993         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
50994         Likewise.
50995         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50996         (ibm_extended_long_double): Add ieee_nan member.
50997         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
50998         (do_test): New function.
51000         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
51001         TEST_TRUNC.
51002         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
51003         functions, renamed from truncdfsf_test, trunctfsf_test,
51004         trunctfdf_test.
51005         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
51006         functions.
51007         (do_test): Run all these.
51009 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
51011         * argp/argp-help.c: Fix typos.
51012         * argp/argp-parse.c: Likewise.
51013         * debug/backtracesyms.c: Likewise.
51014         * elf/elf.h: Likewise.
51015         * malloc/malloc.c: Likewise.
51016         * nis/nis_print.c: Likewise.
51017         * resolv/res_comp.c: Likewise.
51018         * stdlib/stdlib.h: Likewise.
51019         * sunrpc/clnt_tcp.c: Likewise.
51020         * sunrpc/clnt_udp.c: Likewise.
51021         * sunrpc/clnt_unix.c: Likewise.
51022         * sysdeps/unix/bsd/ptsname.c: Likewise.
51023         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
51024         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
51025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
51026         Likewise.
51027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
51028         Likewise.
51029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
51030         Likewise.
51031         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51033 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51035         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
51036         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51038 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
51040         [BZ #15897]
51041         * dlfcn/Makefile (tests): Add bug-dl-leaf.
51042         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
51043         ($(objpfx)bug-dl-leaf): New rule.
51044         ($(objpfx)bug-dl-leaf.so): Likewise.
51045         ($(objpfx)bug-dl-leaf.out): Likewise.
51046         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
51047         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
51048         * dlfcn/bug-dl-leaf.c: New test.
51049         * dlfcn/bug-dl-leaf-lib.c: Likewise.
51050         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
51051         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
51052         (dlclose): Likewise.
51053         (dlmopen): Likewise.
51055 2013-08-27  Roland McGrath  <roland@hack.frob.com>
51057         * include/netdb.h [!_ISOMAC]:
51058         Don't include <tls.h>.
51059         (h_errno, __libc_h_errno): Move declaration and macros out of
51060         [_LIBC_REENTRANT].
51062         * include/resolv.h [_RESOLV_H_]:
51063         Don't include <tls.h>.
51064         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
51065         * resolv/res_libc.c: Don't include <tls.h>.
51066         (_res): Use __attribute__ ((nocommon)) in place of
51067         __attribute__ ((section (".bss"))).
51069         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
51070         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
51072         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
51074         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
51075         only under [SIOCGIFCONF && SIOCGIFNETMASK].
51077         * resolv/res_mkquery.c: Include <sys/time.h>.
51079         * inet/ifreq.c: Moved to ...
51080         * sysdeps/unix/ifreq.c: ... here.
51081         * inet/ifreq.c: New file, true stub version.
51083         * socket/sa_len.c: New file.
51084         * socket/Makefile (aux): Add it.
51085         * sysdeps/unix/sysv/linux/Makefile
51086         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
51087         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
51088         and #include <socket/sa_len.c>.
51089         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
51090         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
51092         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
51093         * bits/socket.h: ... here.
51095         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
51096         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
51097         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
51099 2013-08-27  Andreas Schwab  <schwab@suse.de>
51101         [BZ #15736]
51102         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
51103         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
51104         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
51105         * string/test-strcasecmp.c (test_main): Run tests in several
51106         locales.
51107         * string/test-strncasecmp.c (test_main): Likewise.
51109         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
51110         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
51111         to __strcasecmp_nonascii and __strncasecmp_nonascii.
51112         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
51113         (__strncasecmp_ssse3) [PIC]: Likewise.
51115 2013-08-26  Roland McGrath  <roland@hack.frob.com>
51117         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
51119         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
51120         instead of explicitly declaring xdecrypt.
51121         * nis/nss_nis/nis-publickey.c: Likewise.
51123 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51125         [BZ #15890]
51126         * nscd/aicache.c: Include res_hconf.h.
51127         (addhstaiX): Initialize res_hconf.
51129 2013-08-26  Andreas Schwab  <schwab@suse.de>
51131         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
51132         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
51134 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51136         * nscd/aicache.c (addhstaiX): Fix indentation.
51138 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
51140         * configure.ac: Quote $build_pt_chown test.
51141         * configure: Regenerated.
51143 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
51145         [BZ #15532]
51146         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
51147         * math/s_cexpf.c (__cexpf): Likewise.
51148         * math/s_cexpl.c (__cexpl): Likewise.
51149         * math/libm-test.inc (cexp_test_data): Correct expected return
51150         value for NaN + i0.  Add another test.
51152 2013-08-22  David S. Miller  <davem@davemloft.net>
51154         * po/ca.po: Update Catalan translation from translation project.
51155         * po/uk.po: Add Ukrainian translations from translation project.
51157 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
51159         [BZ #15797]
51160         * math/s_fdim.c (__fdim): Check for infinite arguments if result
51161         is infinite, not alongside NaN test.
51162         * math/s_fdimf.c (__fdimf): Likewise.
51163         * math/s_fdiml.c (__fdiml): Likewise.
51164         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
51165         errno is unchanged.
51167 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
51169         * argp/argp-help.c: Fix typos.
51170         * crypt/speeds.c: Likewise.
51171         * csu/check_fds.c: Likewise.
51172         * elf/dl-load.c: Likewise.
51173         * elf/dl-open.c: Likewise.
51174         * elf/reldep3.c: Likewise.
51175         * elf/reldep.c: Likewise.
51176         * elf/sprof.c: Likewise.
51177         * iconv/iconv_charmap.c: Likewise.
51178         * iconv/skeleton.c: Likewise.
51179         * iconv/strtab.c: Likewise.
51180         * io/lockf64.c: Likewise.
51181         * libio/libioP.h: Likewise.
51182         * resolv/gai_notify.c: Likewise.
51183         * resolv/ns_name.c: Likewise.
51184         * resolv/ns_samedomain.c: Likewise.
51185         * resolv/res_send.c: Likewise.
51186         * stdlib/random.c: Likewise.
51187         * sunrpc/rpc/xdr.h: Likewise.
51188         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
51189         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51190         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51191         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51192         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51193         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51194         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51195         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51196         * sysdeps/mach/hurd/check_fds.c: Likewise.
51197         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51198         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51199         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51200         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51201         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51202         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51203         * sysdeps/pthread/aio_notify.c: Likewise.
51204         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
51205         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
51206         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
51207         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51208         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51210 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51212         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
51213         version if bit_Slow_SSE4_2 is set.
51214         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51215         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51217 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51219         [BZ #15867]
51220         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
51221         trampoline stack frame information.
51222         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
51223         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
51224         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
51225         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
51226         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
51227         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51228         (_libc_vdso_platform_setup): Initialize the signal trampolines.
51229         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
51230         sa_flags value.
51231         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
51232         interrupting a syscall and set with option SA_SIGINFO.
51234 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51236         [BZ #15531]
51237         * math/s_cproj.c (__cproj): Only return an infinity if one part of
51238         argument is infinite.
51239         * math/s_cprojf.c (__cprojf): Likewise.
51240         * math/s_cprojl.c (__cprojl): Likewise.
51241         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
51242         * math/libm-test.inc (cproj_test_data): Add more tests.
51244         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
51246         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
51247         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
51248         size.  Use __ffs to determine corresponding shift.
51250 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51251             Roland McGrath  <roland@hack.frob.com>
51253         * Makefile (INSTALL): Remove trailing blank lines from output of
51254         makeinfo.
51256 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51258         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
51259         Align 32 bit compat elf_greg to 8 bytes.
51261 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
51263         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
51265 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51267         * string/strcoll_l.c (coll_seq): New structure.
51268         (get_next_seq_cached): New function.
51269         (get_next_seq): New function.
51270         (do_compare): New function.
51271         (STRCOLL): Use GNU style definition.  Simplify implementation
51272         by using get_next_seq, get_next_seq_cached and do_compare.
51274 2013-08-16  Florian Weimer  <fweimer@redhat.com>
51276         [BZ #14699]
51277         CVE-2013-4237
51278         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
51279         member.
51280         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
51281         member.
51282         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
51283         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
51284         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
51285         conditional.
51286         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
51287         GETDENTS_64BIT_ALIGNED.
51288         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51289         * manual/filesys.texi (Reading/Closing Directory): Document
51290         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
51291         strongly.
51292         * manual/conf.texi (Limits for Files): Add portability note to
51293         NAME_MAX, PATH_MAX.
51294         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
51296 2013-08-13  Andreas Schwab  <schwab@suse.de>
51298         [BZ #15749]
51299         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
51300         of fabs.
51301         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
51302         LDBL_MAX_EXP >= 16384]: Add tests for it.
51304 2013-08-12  David S. Miller  <davem@davemloft.net>
51306         * version.h (RELEASE): Set to "development".
51307         (VERSION): Set to "2.18.90".
51308         * NEWS: Add 2.19 section.
51310 2013-08-03  David S. Miller  <davem@davemloft.net>
51312         * po/ko.po: Update Korean translation from translation project.
51314 2013-08-01  David S. Miller  <davem@davemloft.net>
51316         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
51317         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
51318         Bilka.
51320 2013-07-30  David S. Miller  <davem@davemloft.net>
51322         * po/fr.po: Update French translation from translation project.
51324 2013-07-28  David S. Miller  <davem@davemloft.net>
51326         * po/cs.po: Update Czech translation from translation project.
51328         * po/sv.po: Update Swedish translation from translation project.
51330 2013-07-27  David S. Miller  <davem@davemloft.net>
51332         * po/eo.po: Update Esperanto translation from translation project.
51334         * po/vi.po: Update Vietnamese translation from translation project.
51336         * po/de.po: Update German translation from translation project.
51338 2013-07-26  David S. Miller  <davem@davemloft.net>
51340         * po/bg.po: Update Bulgarian translation from translation project.
51342         * po/nl.po: Update Dutch translation from translation project.
51343         * po/pl.po: Update Polish translation from translation project.
51344         * po/ru.po: Update Russian translation from translation project.
51346 2013-07-24  David S. Miller  <davem@davemloft.net>
51348         * po/libc.pot: Update.
51350 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51352         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
51353         variable page size.
51354         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
51355         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
51356         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
51358 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51360         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
51362 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51363             Andreas Schwab  <schwab@suse.de>
51364             Roland McGrath  <roland@hack.frob.com>
51365             Joseph Myers  <joseph@codesourcery.com>
51366             Carlos O'Donell  <carlos@redhat.com>
51368         [BZ #15755]
51369         * config.h.in: Define HAVE_PT_CHOWN.
51370         * config.make.in (build-pt-chown): New variable.
51371         * configure.in (--enable-pt_chown): New configure option.
51372         * configure: Regenerate.
51373         * login/Makefile: Include Makeconfig.  Build pt_chown only if
51374         build-pt-chown is enabled.
51375         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
51376         pt_chown to fix pty ownership.
51377         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
51378         CLOSE_ALL_FDS.
51379         * manual/install.texi (Configuring and compiling): Mention
51380         --enable-pt_chown. Add @findex for grantpt.
51381         * INSTALL: Regenerate.
51383 2013-07-20  David S. Miller  <davem@davemloft.net>
51385         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
51386         difference between 32-bit and 64-bit.
51388 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
51390         [BZ #15711]
51391         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
51392         Avoid system header dependency with -ffreestanding.
51393         ($(objpfx)bits/syscall%d): Likewise.
51395 2013-07-13  David S. Miller  <davem@davemloft.net>
51397         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51398         underflows from atanl/atan2l due to bug 15319.
51399         (casinh_test_data): Likewise.
51401 2013-07-07  David S. Miller  <davem@davemloft.net>
51403         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51405 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
51407         * sysdeps/i386/fpu/libm-test-ulps: Update.
51408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51410 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51412         * configure.in (--enable-lock-elision): Fix message text.
51413         * INSTALL: Regenerate.
51414         * configure: Regenerate.
51416 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51420 2013-07-03  Andreas Jaeger  <aj@suse.de>
51422         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
51423         define.
51424         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
51425         (ptrace_peeksiginfo_args): Add.
51426         (__ptrace_peeksiginfo_flags): Add.
51427         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51428         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51429         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51431 2013-07-03  Allan McRae  <allan@archlinux.org>
51433         * sysdeps/i386/fpu/libm-test-ulps: Update.
51435 2013-07-02  David S. Miller  <davem@davemloft.net>
51437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51439 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
51441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51443 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51445         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51448 2013-07-02  Andi Kleen <ak@linux.intel.com>
51450         * config.h.in (ENABLE_LOCK_ELISION): Add.
51451         * configure.in (--enable-lock-elision): Add option.
51452         * manual/install.texi: Document --enable lock elision.
51453         * configure: Regenerate
51454         * INSTALL: Regenerate.
51456 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
51458         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
51459         SSE4.2 strcasecmp for libc.a.
51460         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
51462 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51464         [BZ #13304]
51465         * soft-fp/op-common.h (_FP_FMA): New macro.
51466         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
51467         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
51468         (_FP_MUL_MEAT_1_imm): ... here.
51469         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
51470         (_FP_MUL_MEAT_1_wide): ... here.
51471         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
51472         (_FP_MUL_MEAT_1_hard): ... here.
51473         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
51474         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
51475         (_FP_MUL_MEAT_2_wide): ... here.
51476         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
51477         (_FP_MUL_MEAT_2_wide_3mul): ... here.
51478         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
51479         (_FP_MUL_MEAT_2_gmp): ... here.
51480         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51481         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
51482         (_FP_MUL_MEAT_4_wide): ... here.
51483         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
51484         (_FP_MUL_MEAT_4_gmp): ... here.
51485         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
51486         (_FP_WFRACBITS_DW_S): Likewise.
51487         (_FP_WFRACXBITS_DW_S): Likewise.
51488         (_FP_HIGHBIT_DW_S): Likewise.
51489         (FP_FMA_S): Likewise.
51490         (_FP_FRAC_HIGH_DW_S): Likewise.
51491         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
51492         (_FP_WFRACBITS_DW_D): Likewise.
51493         (_FP_WFRACXBITS_DW_D): Likewise.
51494         (_FP_HIGHBIT_DW_D): Likewise.
51495         (FP_FMA_D): Likewise.
51496         (_FP_FRAC_HIGH_DW_D): Likewise.
51497         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51498         (_FP_WFRACBITS_DW_E): Likewise.
51499         (_FP_WFRACXBITS_DW_E): Likewise.
51500         (_FP_HIGHBIT_DW_E): Likewise.
51501         (FP_FMA_E): Likewise.
51502         (_FP_FRAC_HIGH_DW_E): Likewise.
51503         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
51504         (_FP_WFRACBITS_DW_Q): Likewise.
51505         (_FP_WFRACXBITS_DW_Q): Likewise.
51506         (_FP_HIGHBIT_DW_Q): Likewise.
51507         (FP_FMA_Q): Likewise.
51508         (_FP_FRAC_HIGH_DW_Q): Likewise.
51509         * soft-fp/fmasf4.c: New file.
51510         * soft-fp/fmadf4.c: Likewise.
51511         * soft-fp/fmatf4.c: Likewise.
51513 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51515         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51516         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
51517         Silvermont.
51518         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
51519         macro.
51520         (index_Slow_SSE4_2): Likewise.
51521         (index_Prefer_PMINUB_for_stringop): Likewise.
51522         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
51523         bit_Slow_SSE4_2 is set.
51524         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51525         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51527 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51529         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
51530         rtld_global._dl_hwcap2.
51531         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
51532         POWER8.
51533         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
51534         POWER8 feature descriptions defined in _dl_hwcap2.
51535         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
51536         string handling for POWER8 feature bits.
51537         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
51538         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
51539         _dl_powerpc_cap_flags.
51540         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
51541         * sysdeps/powerpc/rtld-global-offsets.sym
51542         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
51543         _dl_hwcap2 in the rtld_global_ro structure.
51545 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51547         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
51548         hardware capabilities in support of AT_HWCAP2.
51549         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
51550         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
51551         GLRO(dl_hwcap2).
51552         (_dl_show_auxv): Add support for calling _dl_procinfo to display
51553         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
51554         explicitly the unknown a_type display mechanism is used.
51555         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
51556         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
51557         struct member.
51558         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
51559         to macro prototype for AT_HWCAP2 support.
51560         * sysdeps/i386/dl-procinfo.h: Likewise.
51561         * sysdeps/s390/dl-procinfo.h: Likewise.
51562         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
51563         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
51564         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
51565         return -1 for unknown a_type display fallback.
51566         * sysdeps/sparc/dl-procinfo.h: Likewise.
51567         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
51568         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
51570 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
51572         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
51573         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
51575 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
51577         [BZ #12492]
51578         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
51579         mprotect making __stack_prot writable.
51581 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
51582             Joseph Myers  <joseph@codesourcery.com>
51584         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
51585         as being properly aligned.
51587 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
51589         * dlfcn/modstatic5.c: New file.
51590         * dlfcn/tststatic5.c: New file.
51591         * dlfcn/Makefile (tests): Add tststatic5.
51592         (tests-static): Likewise.
51593         (modules-names): Add modstatic5.
51594         (tststatic5-ENV): New variable.
51595         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
51597         [BZ #15022]
51598         * elf/dl-support.c (_dl_main_map): New variable.
51599         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
51600         (_dl_nns, _dl_load_adds): Set to 1.
51601         (_dl_initial_searchlist): Refer to _dl_main_map.
51602         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
51603         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
51604         call to _dl_get_origin.
51605         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
51606         around call_map.
51607         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
51608         * dlfcn/modstatic3.c: New file.
51609         * dlfcn/tststatic3.c: New file.
51610         * dlfcn/tststatic4.c: New file.
51611         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
51612         (tests-static): Likewise.
51613         (modules-names): Add modstatic3.
51614         (tststatic3-ENV, tststatic4-ENV): New variables.
51615         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
51616         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
51618 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
51620         * configure.in (CC): Require GCC version 4.4 or later.
51621         * configure: Regenerated.
51622         * manual/install.texi (Tools for Compilation): Update GCC version
51623         requirement.
51624         * INSTALL: Regenerated.
51626 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51628         [BZ #15674]
51629         * string/test-memcmp.c (check2): New.
51630         (main): Call check2.
51632         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
51634 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
51636         [BZ #15022]
51637         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
51638         over to...
51639         (dl_open_worker) [!SHARED]: ... here.
51641 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51643         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
51645 2013-06-25  Richard Henderson  <rth@redhat.com>
51647         * locale/programs/locarchive.c: Include <libc-internal.h>
51649 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
51651         * manual/texinfo.tex: Update to version 2013-06-21.17, with
51652         trailing whitespace removed.
51654 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51656         [BZ #10283]
51657         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
51658         * locale/programs/locarchive.c: Include libc-mmap.h.
51659         (prepare_address_space): Take two new outputs (the mmap base and len).
51660         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
51661         values.
51662         (create_archive): Declare new mmap base and len values for
51663         prepare_address_space, and store the result in ah.
51664         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
51665         (enlarge_archive): If ah->mmap_base is not NULL, use that and
51666         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51667         Declare new mmap base and len values for
51668         prepare_address_space, and store the result in new_ah.
51669         (open_archive): Declare new mmap base and len values for
51670         prepare_address_space, and store the result in ah.
51671         (close_archive): If ah->mmap_base is not NULL, use that and
51672         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51673         * sysdeps/generic/libc-mmap.h: New file.
51675 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51677         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
51678         (ALIGN_UP): Likewise.
51679         (PTR_ALIGN_DOWN): Likewise.
51680         (PTR_ALIGN_UP): Likewise.
51682 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51684         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
51685         entry mapped to PPC_PLATFORM_POWER8.
51686         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
51687         POWER8.
51688         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
51689         (_dl_string_platform): Add case for exporting platform position for
51690         POWER8.
51691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
51692         search path to sysdeps/powerpc/powerpc32/power8 directory.
51693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
51694         search path to sysdeps/powerpc/powerpc64/power8 directory.
51695         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
51696         power7 directories.
51697         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
51698         power7 directories.
51700 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51702         * INSTALL: Regenerate.
51704         * nscd/connections.c (nscd_init): Fix comment.
51706 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
51708         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
51710         [BZ #15667]
51711         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
51712         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
51714 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51716         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
51717         DL_DST_REQ_STATIC.
51718         (DL_DST_REQ_STATIC): Remove macro.
51720 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
51722         [BZ #7006]
51723         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
51724         with a shift of 0 bits.
51726 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51728         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
51729         $(tststatic-ENV).
51731 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51733         [BZ #15655]
51734         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
51736 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51738         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
51739         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
51740         accepts -fno-tree-loop-distribute-patterns.
51741         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
51742         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
51743         recursive call.
51744         * string/memset.c (memset): Likewise.
51745         * string/test-memmove.c (simple_memmove): Disable loop transformation
51746         to library calls.
51747         * string/test-memset.c (simple_memset): Likewise.
51748         * benchtests/bench-memmove.c (simple_memmove): Likewise.
51749         * benchtests/bench-memset.c (simple_memset): Likewise.
51750         * configure: Regenerated.
51752 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
51754         * math/test-misc.c (main): Ignore fesetround failure when failures
51755         of subsequent rounding tests would be ignored.
51757         [BZ #15654]
51758         * math/fedisblxcpt.c (fedisableexcept): Return 0.
51759         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
51760         * math/fegetenv.c (__fegetenv): Return 0.
51761         * math/fegetexcept.c (fegetexcept): Return 0.
51762         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
51763         FE_TONEAREST.
51764         * math/feholdexcpt.c (feholdexcept): Return 0.
51765         * math/fesetenv.c (__fesetenv): Return 0.
51766         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51767         argument FE_TONEAREST.
51768         * math/feupdateenv.c (__feupdateenv): Return 0.
51769         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51771 2013-06-18  Roland McGrath  <roland@hack.frob.com>
51773         * elf/rtld-Rules (rtld-compile-command.S): New variable.
51774         (rtld-compile-command.s, rtld-compile-command.c): New variables.
51775         ($(objpfx)rtld-%.os rules): Use them.
51777 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51779         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51780         fields.
51782 2013-06-17  Roland McGrath  <roland@hack.frob.com>
51784         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51785         length of target pattern, then descending length of dependency pattern.
51786         * configure.in (AWK): Require gawk 3.1.2 or newer.
51787         * manual/install.texi (Tools for Compilation): Say that we do.
51788         * configure: Regenerated.
51790         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51791         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51792         * scripts/sysd-rules.awk: ... this new script.
51793         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51794         than a glob-style pattern.
51796 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
51798         * math/test-misc.c (main): Do not treat incorrectly rounded
51799         conversions as failure unless ROUNDING_TESTS passes.
51801 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
51803         [BZ #15631]
51804         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51805         restore exception state around main square root computation, then
51806         check for inexactness explicitly.
51808         * math/libm-test.inc (fma_test_data): Add another test.
51810 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51812         * manual/threads.texi (Non-POSIX Extensions): New document
51813         node.  Document pthread_getattr_default_np and
51814         pthread_setattr_default_np.
51816         * Versions.def (libpthread): Add GLIBC_2.18.
51817         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51819         Likewise.
51820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51821         Likewise.
51822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51823         Likewise.
51824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51825         Likewise.
51826         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51827         Likewise.
51828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51829         Likewise.
51830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51831         Likewise.
51832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51833         Likewise.
51834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51835         Likewise.
51837 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51840         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
51842 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51843             H.J. Lu  <hjl.tools@gmail.com>
51845         [BZ #15627]
51846         * sysdeps/x86_64/rtld-memset.c: Remove file.
51847         * sysdeps/x86_64/rtld-memset.S: New file.
51849 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
51851         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
51852         (test_in_one_mode): Take arguments for whether the rounding mode
51853         is supported for each floating-point type.
51854         (do_test): Pass new arguments to test_in_one_mode using
51855         ROUNDING_TESTS.
51857 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51859         * posix/tst-waitid.c (do_test): Distinguish different instances of
51860         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
51861         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
51862         before entering the kernel for waitpid.
51864 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51866         * NEWS: Fix note on clock function precision.  Text by Roland
51867         McGrath.
51869 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51871         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51872         it into place only when and if the sanity check passes.
51874 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51876         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51877         output for whether conversion result is exact.  Take argument
51878         indicating whether type is IBM long double.
51879         (round_for_all): Change need_exact field to ibm_ld.
51880         * stdlib/tst-strtod-round.c (struct exactness): New type.
51881         (struct test): Change bool ld_ok field to struct exactness exact.
51882         (TEST): Update all definitions for change to field.
51883         (tests): Regenerate array contents.
51884         (test_in_one_mode): Take pointer to new field instead of old ld_ok
51885         field value.  Check for IBM long double here.
51886         (do_test): Update calls to test_in_one_mode.
51888 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51890         [BZ #12515]
51891         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51892         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51894 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51896         [BZ #15605]
51897         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
51898         generated by the compiler on loop optimizations.
51899         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
51900         general definitions.
51902 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
51904         * math/bug-nextafter.c: Include <math-tests.h>.
51905         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51906         the relevant type.
51907         * math/bug-nexttoward.c: Include <math-tests.h>.
51908         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51909         the relevant type.
51910         * math/test-misc.c: Include <math-tests.h>.
51911         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51912         the relevant type.
51914 2013-06-12  Andreas Jaeger  <aj@suse.de>
51916         * po/ia.po: Update Interlingua translation from translation
51917         project.
51919 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51921         * include/fenv.h: Include stdbool.h.
51922         (struct rm_ctx): New structure.
51923         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
51924         Define macro.
51925         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
51926         (SET_RESTORE_ROUNDF): Likewise.
51927         (SET_RESTORE_ROUNDL): Likewise.
51928         (SET_RESTORE_ROUND_NOEX): Likewise.
51929         (SET_RESTORE_ROUND_NOEXF): Likewise.
51930         (SET_RESTORE_ROUND_NOEXL): Likewise.
51931         (SET_RESTORE_ROUND_53BIT): Likewise.
51932         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
51933         (libc_feresetround_noexf_ctx): Likewise.
51934         (libc_feresetround_noexl_ctx): Likewise.
51935         (libc_feholdsetround_53bit_ctx): Likewise.
51936         (libc_feresetround_53bit_ctx): Likewise.
51937         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
51938         (libc_feholdexcept_setround_sse_ctx): New function.
51939         (libc_fesetenv_sse_ctx): Likewise.
51940         (libc_feupdateenv_sse_ctx): Likewise.
51941         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
51942         (libc_feholdexcept_setround_387_ctx): Likewise.
51943         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
51944         (libc_feholdsetround_387_prec_ctx): Likewise.
51945         (libc_feholdsetround_387_ctx): Likewise.
51946         (libc_feholdsetround_387_53bit_ctx): Likewise.
51947         (libc_feholdsetround_sse_ctx): Likewise.
51948         (libc_feresetround_sse_ctx): Likewise.
51949         (libc_feresetround_387_ctx): Likewise.
51950         (libc_feupdateenv_387_ctx): Likewise.
51951         (libc_feholdexcept_setroundf_ctx): Define macro.
51952         (libc_fesetenvf_ctx): Likewise.
51953         (libc_feupdateenvf_ctx): Likewise.
51954         (libc_feholdsetroundf_ctx): Likewise.
51955         (libc_feresetroundf_ctx): Likewise.
51956         (libc_feholdexcept_setround_ctx): Likewise.
51957         (libc_fesetenv_ctx): Likewise.
51958         (libc_feupdateenv_ctx): Likewise.
51959         (libc_feholdsetround_ctx): Likewise.
51960         (libc_feresetround_ctx): Likewise.
51961         (libc_feholdexcept_setroundl_ctx): Likewise.
51962         (libc_feupdateenvl_ctx): Likewise.
51963         (libc_feholdsetroundl_ctx): Likewise.
51964         (libc_feresetroundl_ctx): Likewise.
51965         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
51966         (libc_feresetround_53bit_ctx): Likewise.
51968 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51970         * locale/iso-639.def: Convert to UTF-8.
51972 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
51974         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
51975         (EXCEPTION_TESTS_double): Likewise.
51976         (EXCEPTION_TESTS_long_double): Likewise.
51977         (EXCEPTION_TESTS): Likewise.
51978         * math/libm-test.inc (test_exceptions): Only test exceptions if
51979         EXCEPTION_TESTS (FLOAT).
51981 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51983         * benchtests/Makefile (string-bench): Add strcpy_chk and
51984         stpcpy_chk.
51985         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
51986         * benchtests/bench-stpcpy_chk.c: New file.
51987         * benchtests/bench-strcpy_chk-ifunc.c: New file.
51988         * benchtests/bench-strcpy_chk.c: New file.
51989         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
51990         code.
51991         (do_test): Likewise.
51993 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51995         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
51996         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
51997         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
51998         with tabs where appropriate.
51999         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
52000         dl-procinfo.h.
52001         [PPC_PLATFORM_PPC440]: Likewise.
52002         [PPC_PLATFORM_PPC464]: Likewise.
52003         [PPC_PLATFORM_PPC476]: Likewise.
52004         (_dl_string_platform): Add support for detecting ppc405, ppc440,
52005         ppc464, and ppc476 platform strings merging from ports/
52006         dl-procinfo.h.
52008 2013-06-11  Andreas Schwab  <schwab@suse.de>
52010         [BZ #14991]
52011         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
52012         (from_ucs4_idx): Regenerate.
52013         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
52014         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
52015         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
52016         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
52017         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
52018         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
52019         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
52020         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
52021         from FROM_LOOP and TO_LOOP specific macros.
52022         (BODY): Handle combining characters.
52023         * iconvdata/BIG5HKSCS.irreversible: Update.
52024         * iconvdata/BIG5HKSCS.precomposed: New file.
52025         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
52026         characters.
52027         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
52029 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52031         * include/sys/time.h: Fix indentation and add copyright header.
52033         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
52034         (do_test): Likewise.
52035         * string/test-memchr.c (do_one_test): Likewise.
52036         (do_test): Likewise.
52037         * string/test-memcmp.c (do_one_test): Likewise.
52038         (do_test): Likewise.
52039         * string/test-memcpy.c (do_one_test): Likewise.
52040         (do_test): Likewise.
52041         * string/test-memmem.c (do_one_test): Likewise.
52042         (do_test): Likewise.
52043         (do_random_tests): Likewise.
52044         * string/test-memmove.c (do_one_test): Likewise.
52045         (do_test): Likewise.
52046         * string/test-memset.c (do_one_test): Likewise.
52047         (do_test): Likewise.
52048         * string/test-rawmemchr.c (do_one_test): Likewise.
52049         (do_test): Likewise.
52050         * string/test-strcasecmp.c (do_one_test): Likewise.
52051         (do_test): Likewise.
52052         * string/test-strcasestr.c (do_one_test): Likewise.
52053         (do_test): Likewise.
52054         * string/test-strcat.c (do_one_test): Likewise.
52055         (do_test): Likewise.
52056         * string/test-strchr.c (do_one_test): Likewise.
52057         (do_test): Likewise.
52058         * string/test-strcmp.c (do_one_test): Likewise.
52059         (do_test): Likewise.
52060         * string/test-strcpy.c (do_one_test): Likewise.
52061         (do_test): Likewise.
52062         * string/test-string.h: Likewise.
52063         (test_init): Likewise.
52064         * string/test-strlen.c (do_one_test): Likewise.
52065         (do_test): Likewise.
52066         * string/test-strncasecmp.c (do_one_test): Likewise.
52067         (do_test): Likewise.
52068         * string/test-strncat.c (do_one_test): Likewise.
52069         (do_test): Likewise.
52070         * string/test-strncmp.c (do_one_test): Likewise.
52071         (do_test_limit): Likewise.
52072         (do_test): Likewise.
52073         * string/test-strncpy.c (do_one_test): Likewise.
52074         (do_test): Likewise.
52075         * string/test-strnlen.c (do_one_test): Likewise.
52076         (do_test): Likewise.
52077         * string/test-strpbrk.c (do_one_test): Likewise.
52078         (do_test): Likewise.
52079         * string/test-strrchr.c (do_one_test): Likewise.
52080         (do_test): Likewise.
52081         * string/test-strspn.c (do_one_test): Likewise.
52082         (do_test): Likewise.
52083         * string/test-strstr.c (do_one_test): Likewise.
52084         (do_test): Likewise.
52086         * benchtests/Makefile (string-bench): Add string benchmarks.
52087         * benchtests/bench-bcopy-ifunc.c: New file.
52088         * benchtests/bench-bcopy.c: New file.
52089         * benchtests/bench-bzero-ifunc.c: New file.
52090         * benchtests/bench-bzero.c: New file.
52091         * benchtests/bench-memccpy-ifunc.c: New file.
52092         * benchtests/bench-memccpy.c: New file.
52093         * benchtests/bench-memchr-ifunc.c: New file.
52094         * benchtests/bench-memchr.c: New file.
52095         * benchtests/bench-memcmp-ifunc.c: New file.
52096         * benchtests/bench-memcmp.c: New file.
52097         * benchtests/bench-memmem-ifunc.c: New file.
52098         * benchtests/bench-memmem.c: New file.
52099         * benchtests/bench-memmove-ifunc.c: New file.
52100         * benchtests/bench-memmove.c: New file.
52101         * benchtests/bench-mempcpy-ifunc.c: New file.
52102         * benchtests/bench-mempcpy.c: New file.
52103         * benchtests/bench-memset-ifunc.c: New file.
52104         * benchtests/bench-memset.c: New file.
52105         * benchtests/bench-rawmemchr-ifunc.c: New file.
52106         * benchtests/bench-rawmemchr.c: New file.
52107         * benchtests/bench-stpcpy-ifunc.c: New file.
52108         * benchtests/bench-stpcpy.c: New file.
52109         * benchtests/bench-stpncpy-ifunc.c: New file.
52110         * benchtests/bench-stpncpy.c: New file.
52111         * benchtests/bench-strcasecmp-ifunc.c: New file.
52112         * benchtests/bench-strcasecmp.c: New file.
52113         * benchtests/bench-strcasestr-ifunc.c: New file.
52114         * benchtests/bench-strcasestr.c: New file.
52115         * benchtests/bench-strcat-ifunc.c: New file.
52116         * benchtests/bench-strcat.c: New file.
52117         * benchtests/bench-strchr-ifunc.c: New file.
52118         * benchtests/bench-strchr.c: New file.
52119         * benchtests/bench-strchrnul-ifunc.c: New file.
52120         * benchtests/bench-strchrnul.c: New file.
52121         * benchtests/bench-strcmp-ifunc.c: New file.
52122         * benchtests/bench-strcmp.c: New file.
52123         * benchtests/bench-strcpy-ifunc.c: New file.
52124         * benchtests/bench-strcpy.c: New file.
52125         * benchtests/bench-strcspn-ifunc.c: New file.
52126         * benchtests/bench-strcspn.c: New file.
52127         * benchtests/bench-strlen-ifunc.c: New file.
52128         * benchtests/bench-strlen.c: New file.
52129         * benchtests/bench-strncasecmp-ifunc.c: New file.
52130         * benchtests/bench-strncasecmp.c: New file.
52131         * benchtests/bench-strncat-ifunc.c: New file.
52132         * benchtests/bench-strncat.c: New file.
52133         * benchtests/bench-strncmp-ifunc.c: New file.
52134         * benchtests/bench-strncmp.c: New file.
52135         * benchtests/bench-strncpy-ifunc.c: New file.
52136         * benchtests/bench-strncpy.c: New file.
52137         * benchtests/bench-strnlen-ifunc.c: New file.
52138         * benchtests/bench-strnlen.c: New file.
52139         * benchtests/bench-strpbrk-ifunc.c: New file.
52140         * benchtests/bench-strpbrk.c: New file.
52141         * benchtests/bench-strrchr-ifunc.c: New file.
52142         * benchtests/bench-strrchr.c: New file.
52143         * benchtests/bench-strspn-ifunc.c: New file.
52144         * benchtests/bench-strspn.c: New file.
52145         * benchtests/bench-strstr-ifunc.c: New file.
52146         * benchtests/bench-strstr.c: New file.
52148         * benchtests/Makefile: Disable parallel execution of targets.
52149         (string-bench): Add memcpy.
52150         (benchset): New variable to store a list of benchmark sets.
52151         (bench-func): Renamed from bench.
52152         (bench-set): New target.
52153         (bench): Depend on bench-func and bench-set.
52154         * benchtests/README: Add section on benchmark sets.
52155         * benchtests/bench-memcpy-ifunc.c: New file.
52156         * benchtests/bench-memcpy.c: New file.
52157         * benchtests/bench-string.h: New file.
52159 2013-06-11  Andreas Schwab  <schwab@suse.de>
52161         [BZ #15577]
52162         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
52163         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
52164         values in the triple.
52165         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
52166         terminator in the group key.
52168 2013-06-11  Andreas Jaeger  <aj@suse.de>
52170         * po/zh_TW.po: Update Chinese (traditional) translation from
52171         translation project.
52173 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52175         * include/time.h (__clock_gettime): Add libc_hidden_proto.
52176         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
52177         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
52178         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52179         (clock_getcpuclockid): Likewise.
52180         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
52181         Add weak_alias and libc_hidden_def.
52182         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
52183         * rt/clock_gettime.c (clock_gettime): Rename to
52184         __clock_gettime.  Add weak_alias and libc_hidden_def.
52185         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
52186         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
52187         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
52188         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
52189         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
52190         Likewise.
52191         * rt/clock_settime.c (clock_settime): Rename to
52192         __clock_settime.  Add weak_alias and libc_hidden_def.
52193         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
52195 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
52197         * mach/err_boot.sub: Remove trailing whitespace.
52198         * mach/err_ipc.sub: Likewise.
52199         * mach/err_mach.sub: Likewise.
52201         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
52202         (ROUNDING_TESTS_double): Likewise.
52203         (ROUNDING_TESTS_long_double): Likewise.
52204         (ROUNDING_TESTS): Likewise.
52205         * math/libm-test.inc: Include <math-tests.h>.
52206         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
52207         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52208         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52209         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52211 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52213         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
52214         of assigning.
52216 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
52218         * sysdeps/gnu/errlist.awk: Do not generate space at end of
52219         otherwise empty TRANS lines.
52220         * sysdeps/gnu/errlist.c: Regenerated.
52222         * catgets/gencat.c (error_print): Use (void) in function
52223         definition.
52224         * crypt/crypt_util.c (__init_des): Likewise.
52225         * crypt/speeds.c (Stop): Likewise.
52226         (main): Likewise.
52227         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
52228         * inet/ruserpass.c (token): Likewise.
52229         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
52230         * intl/localealias.c (extend_alias_table): Likewise.
52231         * intl/plural-exp.c (init_germanic_plural): Likewise.
52232         * libio/fcloseall.c (__fcloseall): Likewise.
52233         * libio/genops.c (_IO_flush_all): Likewise.
52234         (_IO_flush_all_linebuffered): Likewise.
52235         (_IO_cleanup): Likewise.
52236         (_IO_iter_begin): Likewise.
52237         (_IO_iter_end): Likewise.
52238         (_IO_list_lock): Likewise.
52239         (_IO_list_unlock): Likewise.
52240         (_IO_list_resetlock): Likewise.
52241         * libio/getchar.c (getchar): Likewise.
52242         * libio/getchar_u.c (getchar_unlocked): Likewise.
52243         * libio/getwchar.c (getwchar): Likewise.
52244         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
52245         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
52246         * login/getpt.c (__getpt): Likewise.
52247         * login/tst-utmp.c (main): Likewise.
52248         * malloc/hooks.c (__malloc_check_init): Likewise.
52249         * malloc/malloc.c (__malloc_stats): Likewise.
52250         * malloc/mtrace.c (tr_break): Likewise.
52251         (mtrace): Likewise.
52252         (muntrace): Likewise.
52253         * misc/fstab.c (endfsent): Likewise.
52254         * misc/getclktck.c (__getclktck): Likewise.
52255         * misc/getdtsz.c (__getdtablesize): Likewise.
52256         * misc/gethostid.c (gethostid): Likewise.
52257         * misc/getpagesize.c (__getpagesize): Likewise.
52258         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
52259         (__get_nprocs): Likewise.
52260         (__get_phys_pages): Likewise.
52261         (__get_avphys_pages): Likewise.
52262         * misc/getttyent.c (getttyent): Likewise.
52263         (setttyent): Likewise.
52264         (endttyent): Likewise.
52265         * misc/getusershell.c (getusershell): Likewise.
52266         (endusershell): Likewise.
52267         (setusershell): Likewise.
52268         (initshells): Likewise.
52269         * misc/hsearch.c (__hdestroy): Likewise.
52270         * misc/sync.c (sync): Likewise.
52271         * misc/syslog.c (closelog_internal): Likewise.
52272         (closelog): Likewise.
52273         * misc/ttyslot.c (ttyslot): Likewise.
52274         * misc/vhangup.c (vhangup): Likewise.
52275         * posix/fork.c (__fork): Likewise.
52276         * posix/getegid.c (__getegid): Likewise.
52277         * posix/geteuid.c (__geteuid): Likewise.
52278         * posix/getgid.c (__getgid): Likewise.
52279         * posix/getpid.c (__getpid): Likewise.
52280         * posix/getppid.c (__getppid): Likewise.
52281         * posix/getuid.c (__getuid): Likewise.
52282         * posix/pause.c (pause): Likewise.
52283         * posix/setpgrp.c (setpgrp): Likewise.
52284         * posix/setsid.c (__setsid): Likewise.
52285         * posix/test-vfork.c (noop): Likewise.
52286         * resolv/gethnamaddr.c (_endhtent): Likewise.
52287         (_gethtent): Likewise.
52288         (ht_endhostent): Likewise.
52289         (gethostent): Likewise.
52290         (dns_service): Likewise.
52291         * stdlib/drand48.c (drand48): Likewise.
52292         * stdlib/lrand48.c (lrand48): Likewise.
52293         * stdlib/mrand48.c (mrand48): Likewise.
52294         * stdlib/rand.c (rand): Likewise.
52295         * stdlib/random.c (__random): Likewise.
52296         * stdlib/setenv.c (clearenv): Likewise.
52297         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
52298         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
52299         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
52300         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
52301         (__get_nprocs): Likewise.
52302         (__get_phys_pages): Likewise.
52303         (__get_avphys_pages): Likewise.
52304         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
52305         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
52306         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
52307         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
52308         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
52309         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
52310         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
52311         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
52312         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
52313         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
52314         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
52315         * sysdeps/mach/hurd/sync.c (sync): Likewise.
52316         * sysdeps/posix/clock.c (clock): Likewise.
52317         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
52318         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
52319         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
52320         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
52321         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
52322         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
52323         (__get_nprocs_conf): Likewise.
52324         (__get_phys_pages): Likewise.
52325         (__get_avphys_pages): Likewise.
52326         * time/clock.c (clock): Likewise.
52327         * time/tzset.c (__tzname_max): Likewise.
52329 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
52331         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
52332         (__bswap_32): Do not use "register".
52333         * crypt/crypt.c (_ufc_doit_r): Likewise.
52334         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52335         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52336         * gmon/gmon.c (__monstartup): Likewise.
52337         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
52338         * hurd/hurdmalloc.c (more_memory): Likewise.
52339         (malloc): Likewise.
52340         (free): Likewise.
52341         (realloc): Likewise.
52342         (malloc_fork_prepare): Likewise.
52343         (malloc_fork_parent): Likewise.
52344         (malloc_fork_child): Likewise.
52345         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
52346         (_svcauth_des): Likewise.
52347         * inet/inet_lnaof.c (inet_lnaof): Likewise.
52348         * inet/inet_net.c (inet_network): Likewise.
52349         * inet/inet_netof.c (inet_netof): Likewise.
52350         * inet/rcmd.c (__validuser2_sa): Likewise.
52351         * io/fts.c (fts_open): Likewise.
52352         (fts_load): Likewise.
52353         (fts_close): Likewise.
52354         (fts_read): Likewise.
52355         (fts_children): Likewise.
52356         (fts_build): Likewise.
52357         (fts_stat): Likewise.
52358         (fts_sort): Likewise.
52359         (fts_alloc): Likewise.
52360         (fts_lfree): Likewise.
52361         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
52362         (_IO_file_xsgetn): Likewise.
52363         (_IO_file_xsgetn_mmap): Likewise.
52364         * libio/iofopncook.c (_IO_cookie_read): Likewise.
52365         (_IO_cookie_write): Likewise.
52366         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
52367         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
52368         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
52369         * malloc/obstack.c (_obstack_begin): Likewise.
52370         (_obstack_begin_1): Likewise.
52371         (_obstack_newchunk): Likewise.
52372         (_obstack_allocated_p): Likewise.
52373         (obstack_free): Likewise.
52374         (_obstack_memory_used): Likewise.
52375         * misc/getttyent.c (getttynam): Likewise.
52376         (getttyent): Likewise.
52377         (skip): Likewise.
52378         (value): Likewise.
52379         * misc/getusershell.c (initshells): Likewise.
52380         * misc/syslog.c (__vsyslog_chk): Likewise.
52381         * misc/ttyslot.c (ttyslot): Likewise.
52382         * nis/nis_hash.c (__nis_hash): Likewise.
52383         * posix/fnmatch_loop.c (FCT): Likewise.
52384         * posix/getconf.c (print_all): Likewise.
52385         (main): Likewise.
52386         * posix/getopt.c (exchange): Likewise.
52387         * posix/glob.c (globfree): Likewise.
52388         (prefix_array): Likewise.
52389         (__glob_pattern_type): Likewise.
52390         * resolv/arpa/nameser.h (NS_GET16): Likewise.
52391         (NS_GET32): Likewise.
52392         (NS_PUT16): Likewise.
52393         (NS_PUT32): Likewise.
52394         * resolv/gethnamaddr.c (getanswer): Likewise.
52395         (gethostbyname2): Likewise.
52396         (gethostbyaddr): Likewise.
52397         (_gethtent): Likewise.
52398         (_gethtbyname2): Likewise.
52399         (_gethtbyaddr): Likewise.
52400         * resolv/ns_print.c (dst_s_get_int16): Likewise.
52401         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52402         * resolv/res_init.c (__res_vinit): Likewise.
52403         (net_mask): Likewise.
52404         * resolv/res_mkquery.c (outchar): Likewise.
52405         (PRINT): Likewise.
52406         * stdio-common/printf_fp.c (outchar): Likewise.
52407         (PRINT): Likewise.
52408         * stdio-common/printf_fphex.c (outchar): Likewise.
52409         (PRINT): Likewise.
52410         * stdio-common/printf_size.c (outchar): Likewise.
52411         (PRINT): Likewise.
52412         * stdio-common/test_rdwr.c (main): Likewise.
52413         * stdio-common/tfformat.c (matches): Likewise.
52414         * stdio-common/vfprintf.c (outchar): Likewise.
52415         (printf_unknown): Likewise.
52416         (buffered_vfprintf): Likewise.
52417         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52418         * stdio-common/xbug.c (AppendToBuffer): Likewise.
52419         (ReadFile): Likewise.
52420         * stdlib/qsort.c (SWAP): Likewise.
52421         (_quicksort): Likewise.
52422         * stdlib/setenv.c (__add_to_environ): Likewise.
52423         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52424         * stdlib/strtol_l.c (__strtol_l): Likewise.
52425         * stdlib/tst-strtod.c (main): Likewise.
52426         * stdlib/tst-strtol.c (main): Likewise.
52427         * stdlib/tst-strtoll.c (main): Likewise.
52428         * string/bits/string2.h (__strcmp_cc): Likewise.
52429         (__strcmp_cg): Likewise.
52430         (__strcspn_c1): Likewise.
52431         (__strcspn_c2): Likewise.
52432         (__strcspn_c3): Likewise.
52433         (__strspn_c1): Likewise.
52434         (__strspn_c2): Likewise.
52435         (__strspn_c3): Likewise.
52436         (__strsep_1c): Likewise.
52437         (__strsep_2c): Likewise.
52438         (__strsep_3c): Likewise.
52439         * string/memccpy.c (__memccpy): Likewise.
52440         * string/stpcpy.c (__stpcpy): Likewise.
52441         * string/strcmp.c (strcmp): Likewise.
52442         * string/strrchr.c (strrchr): Likewise.
52443         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
52444         Likewise.
52445         * sysdeps/mach/hurd/getcwd.c
52446         (_hurd_canonicalize_directory_name_internal): Likewise.
52447         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
52448         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
52449         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
52450         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
52451         Likewise, in both definitions.
52452         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
52453         definitions.
52454         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
52455         64] (__bswap_64): Likewise.
52456         * time/test_time.c (main): Likewise.
52457         * time/tzfile.c (__tzfile_read): Likewise.
52458         (__tzfile_compute): Likewise.
52459         * time/tzset.c (__tzset_parse_tz): Likewise.
52460         (tzset_internal): Likewise.
52461         (compute_change): Likewise.
52462         * wcsmbs/wcscat.c (__wcscat): Likewise.
52463         * wcsmbs/wcschr.c (wcschr): Likewise.
52464         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
52465         * wcsmbs/wcscspn.c (wcscspn): Likewise.
52466         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
52467         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
52468         * wcsmbs/wcsspn.c (wcsspn): Likewise.
52469         * wcsmbs/wcsstr.c (wcsstr): Likewise.
52470         * wcsmbs/wmemchr.c (wmemchr): Likewise.
52471         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52472         * wcsmbs/wmemset.c (wmemset): Likewise.
52474 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
52476         * scripts/config.guess: Update to version 2013-05-16.
52477         * scripts/config.sub: Update to version 2013-04-24.
52478         * scripts/install-sh: Update to version 2011-11-20.07.
52479         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
52480         * scripts/move-if-change: Update to version 2012-01-06 07:23.
52482 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
52484         * debug/fgetws_u_chk.c: Fix leading whitespaces.
52485         * elf/sln.c: Likewise.
52486         * hurd/hurd/ioctl.h: Likewise.
52487         * hurd/hurdmalloc.c: Likewise.
52488         * hurd/xattr.c: Likewise.
52489         * include/shlib-compat.h: Likewise.
52490         * inet/ruserpass.c: Likewise.
52491         * libio/iofgets_u.c: Likewise.
52492         * libio/iofgetws_u.c: Likewise.
52493         * locale/programs/ld-identification.c: Likewise.
52494         * locale/programs/ld-time.c: Likewise.
52495         * mach/msg-destroy.c: Likewise.
52496         * nss/nss_files/files-netgrp.c: Likewise.
52497         * resolv/res_data.c: Likewise.
52498         * soft-fp/op-1.h: Likewise.
52499         * soft-fp/op-2.h: Likewise.
52500         * soft-fp/op-4.h: Likewise.
52501         * soft-fp/op-common.h: Likewise.
52502         * stdio-common/printf_fphex.c: Likewise.
52503         * stdlib/strtod_l.c: Likewise.
52504         * sunrpc/rpc/clnt.h: Likewise.
52505         * sysdeps/generic/framestate.c: Likewise.
52506         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52507         * sysdeps/i386/bsd-setjmp.S: Likewise.
52508         * sysdeps/i386/__longjmp.S: Likewise.
52509         * sysdeps/i386/setjmp.S: Likewise.
52510         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52511         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52512         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52513         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52514         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52515         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52516         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52517         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52518         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52519         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52520         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52521         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52522         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52523         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52524         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52525         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52526         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52527         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
52528         * sysdeps/ieee754/support.c: Likewise.
52529         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52530         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
52531         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
52532         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52533         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
52534         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
52535         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
52536         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
52537         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
52538         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
52539         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
52540         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
52541         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
52542         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
52543         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
52544         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
52545         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
52548 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
52550         * posix/transbug.c: Remove executable mode.
52552 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
52554         * crypt/speeds.c: Remove trailing whitespace.
52555         * dlfcn/default.c: Likewise.
52556         * elf/ifuncdep2.c: Likewise.
52557         * elf/ifuncmain1.c: Likewise.
52558         * elf/ifuncmain1vis.c: Likewise.
52559         * elf/testobj.h: Likewise.
52560         * elf/tst-stackguard1.c: Likewise.
52561         * gmon/sys/gmon.h: Likewise.
52562         * hurd/hurdmsg.c: Likewise.
52563         * hurd/new-fd.c: Likewise.
52564         * hurd/ports-get.c: Likewise.
52565         * iconvdata/ibm1008_420.c: Likewise.
52566         * inet/tst-getni1.c: Likewise.
52567         * inet/tst-getni2.c: Likewise.
52568         * libio/ioungetc.c: Likewise.
52569         * libio/wfiledoalloc.c: Likewise.
52570         * manual/libm-err-tab.pl: Likewise.
52571         * math/w_dremf.c: Likewise.
52572         * misc/ftruncate.c: Likewise.
52573         * posix/bug-glob2.c: Likewise.
52574         * posix/tst-pcre.c: Likewise.
52575         * posix/wait4.c: Likewise.
52576         * resolv/README: Likewise.
52577         * resolv/res_debug.h: Likewise.
52578         * resolv/tst-inet_ntop.c: Likewise.
52579         * setjmp/bug269-setjmp.c: Likewise.
52580         * soft-fp/extended.h: Likewise.
52581         * soft-fp/op-1.h: Likewise.
52582         * soft-fp/op-2.h: Likewise.
52583         * soft-fp/op-4.h: Likewise.
52584         * soft-fp/op-8.h: Likewise.
52585         * soft-fp/testit.c: Likewise.
52586         * stdio-common/bug16.c: Likewise.
52587         * stdlib/random.c: Likewise.
52588         * sunrpc/rpcsvc/rquota.x: Likewise.
52589         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
52590         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52591         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52592         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52593         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52594         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52595         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52596         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52597         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52598         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52599         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52600         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52601         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52602         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52603         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52604         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52605         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52606         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52607         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52608         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52609         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52610         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52611         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
52612         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52613         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52614         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52615         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52616         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52617         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52618         * sysdeps/ieee754/s_lib_version.c: Likewise.
52619         * sysdeps/mach/hurd/check_fds.c: Likewise.
52620         * sysdeps/mach/hurd/getsockname.c: Likewise.
52621         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
52622         * sysdeps/mach/hurd/recvfrom.c: Likewise.
52623         * sysdeps/powerpc/bits/link.h: Likewise.
52624         * sysdeps/powerpc/dl-procinfo.c: Likewise.
52625         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
52626         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
52627         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
52628         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52629         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52630         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
52631         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52632         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
52633         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52634         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
52635         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52636         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
52637         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52638         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52639         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52640         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52641         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52642         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52643         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52644         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52645         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
52646         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52647         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52648         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
52649         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52650         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52651         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52652         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52653         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52654         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52655         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52656         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52657         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52658         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
52659         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52660         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
52661         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52662         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
52663         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
52664         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
52665         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
52666         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
52667         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
52668         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52669         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
52670         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
52671         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52672         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
52673         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
52674         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52675         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52676         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52677         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52678         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
52679         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
52680         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
52681         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52682         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
52683         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
52684         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
52685         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
52686         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
52687         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52688         * sysdeps/powerpc/sysdep.h: Likewise.
52689         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52690         * sysdeps/s390/s390-64/sub_n.S: Likewise.
52691         * sysdeps/sh/dl-trampoline.S: Likewise.
52692         * sysdeps/sh/memset.S: Likewise.
52693         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
52694         * sysdeps/sh/strlen.S: Likewise.
52695         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
52696         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
52697         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
52698         * sysdeps/sparc/sparc32/rem.S: Likewise.
52699         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
52700         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
52701         * sysdeps/sparc/sparc32/strchr.S: Likewise.
52702         * sysdeps/sparc/sparc32/udiv.S: Likewise.
52703         * sysdeps/sparc/sparc32/urem.S: Likewise.
52704         * sysdeps/sparc/sparc64/add_n.S: Likewise.
52705         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52706         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
52707         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
52708         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
52709         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
52710         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
52711         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
52712         * sysdeps/unix/bsd/times.c: Likewise.
52713         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
52714         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
52715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
52716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
52717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
52718         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
52719         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52720         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
52721         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
52722         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
52723         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
52724         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52725         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
52726         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52727         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52728         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
52729         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52730         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
52731         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
52732         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
52733         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
52734         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
52735         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52736         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
52737         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
52738         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
52739         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
52740         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52741         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
52742         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
52743         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
52744         * sysdeps/x86_64/strcspn.S: Likewise.
52746 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52748         * locale/C-translit.h: Revert #include <stdint.h> because this is a
52749         generated file.  Regenerate properly from gen-translit.pl.
52750         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
52751         locale/C-translit.h.
52753 2013-06-05  Andreas Schwab  <schwab@suse.de>
52755         [BZ #15100]
52756         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
52757         week as 6 instead of -1.
52758         * time/tst-strptime.c (day_tests): Add test case.
52760 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52762         * sysdeps/generic/math_private.h
52763         (libc_feholdexcept_setround_53bit): Replace with
52764         libc_feholdsetround_53bit.
52765         (libc_feupdateenv_53bit): Replace with
52766         libc_feresetround_53bit.
52767         (SET_RESTORE_ROUND_53BIT): Adjust.
52769 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52771         * string/test-strchrnul.c: Add copyright header.
52773         * posix/tst-getaddrinfo4.c: Increase test timeout.
52775 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
52777         [BZ #15536]
52778         * math/libm-test.inc (MAX_EXP): Remove
52779         (MIN_EXP): Define.
52780         (ulp): Use MIN_EXP - MANT_DIG.
52781         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52783 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
52785         * po/be.po: Revert last change.
52786         * po/zh_CN.po: Likewise.
52787         * po/header.pot: Likewise.
52789 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
52791         * Makefile ($(common-objpfx)linkobj/libc.so): Define
52792         link-libc-deps to empty as target-specific variable.
52793         * Makerules (link-libc-args): New variable.
52794         (libc-for-link): Likewise.
52795         (link-libc-deps): Likewise.
52796         (lib%.so): Depend on $(link-libc-deps).  Link with
52797         $(link-libc-args).
52798         (build-module): Link with $(link-libc-args).
52799         (build-module-asneeded): Likewise.
52800         (build-module-helper-objlist): Filter out $(link-libc-deps) from
52801         list of objects.
52802         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52803         target-specific variable.
52804         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52805         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52806         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52807         libc.
52808         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52809         libc and ld.so.
52810         ($(objpfx)libpcprofile.so): Likewise.
52811         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52812         libc_nonshared.a.
52813         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52814         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52815         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52816         $(link-libc-deps).
52817         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52818         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52819         * login/Makefile ($(objpfx)libutil.so): Likewise.
52820         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52821         * math/Makefile ($(objpfx)libm.so): Likewise.
52822         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52823         $(objpfx)libnsl.so): Define libc-for-link as target-specific
52824         variable instead of depending directly on libc.
52825         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52826         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52827         $(link-libc-deps).
52828         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52829         libc.
52830         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52831         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52832         ($(objpfx)libanl.so): Likewise.
52833         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52834         ld.so.
52835         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52836         $(link-libc-deps).
52837         * sysdeps/i386/fpu/Makefile: Remove file.
52838         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
52839         ($(objpfx)libm.so): Remove dependency on ld.so.
52841 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
52843         [BZ # 15553]
52844         * nis/yp_xdr.c (XDRMAXNAME): Define.
52845         (XDRMAXRECORD): Define.
52846         (xdr_domainname): Use XDRMAXNAME.
52847         (xdr_mapname): Likewise.
52848         (xdr_peername): Likewise.
52849         (xdr_keydat): Use XDRMAXRECORD.
52850         (xdr_valdat): Likewise.
52852 2013-05-30  Jeff Law  <law@redhat.com>
52854         [BZ #14256]
52855         * manual/errno.texi (ESTALE): Update to account for more than
52856         just NFS file systems.
52857         * sysdeps/gnu/errlist.c: Regenerated.
52859 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52861         [BZ #15465]
52862         * elf/Makefile (tests): Add tst-null-argv.
52863         (modules-names):  Add tst-null-argv-lib.
52864         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52865         (tst-null-argv-ENV): Set environment for tst-null-argv.
52866         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52867         (RTLD_PROGNAME): New macro.
52868         * elf/tst-null-argv.c: New test case.
52869         * elf/tst-null-argv-lib.c: Library for test case.
52870         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52871         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52872         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52873         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52874         * elf/dl-init.c (call_init): Likewise.
52875         (_dl_init): Likewise.
52876         * elf/dl-load.c (print_search_path): Likewise.
52877         (_dl_map_object): Likewise.
52878         * elf/dl-lookup.c (do_lookup_x): Likewise.
52879         (add_dependency): Likewise.
52880         (_dl_lookup_symbol_x): Likewise.
52881         (_dl_debug_bindings): Likewise.
52882         * elf/dl-open.c (_dl_show_scope): Likewise.
52883         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52884         * elf/dl-version.c (match_symbol): Likewise.
52885         (_dl_check_map_versions): Likewise.
52886         * elf/rtld.c (dl_main): Likewise.
52887         (print_unresolved): Use RTLD_PROGNAME.
52888         (print_missing_version): Likewise.
52889         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52890         (elf_machine_rela): Likewise.
52891         * sysdeps/powerpc/powerpc32/dl-machine.c
52892         (__process_machine_rela): Likewise.
52893         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52894         Likewise.
52895         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52896         Likewise.
52897         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
52898         Likewise.
52899         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52900         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
52901         Likewise.
52902         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
52903         Likewise.
52904         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52906 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
52908         * po/be.po: Add descriptive title.
52909         * po/zh_CN.po: Likewise.
52910         * po/header.pot: Likewise.
52912 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
52914         * locale/programs/locarchive.c (create_archive): Inlucde fname in
52915         error message.
52916         (enlarge_archive): Likewise.
52918 2013-05-28  Ben North  <ben@redfrontdoor.org>
52920         * manual/arith.texi (frexp): It is the magnitude of the return
52921         value which lies in [0.5, 1), not the return value itself.
52923 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52927 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
52929         * stdio-common/bug26.c (main): Correct fscanf template.
52931         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
52932         declare _dl_skip_args.
52934         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
52935         Don't declare.
52937         * manual/platform.texi: Add missing @end deftypefun.
52939 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52941         [BZ #15529]
52942         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
52943         bit of mantissa of 2^16382.
52944         * math/libm-test.inc (hypot_test_data): Add more tests.
52946         * math/libm-test.inc: Add drem and pow10 to list of tested
52947         functions.
52948         (pow10_test): New function.
52949         (drem_test): Likewise.
52950         (drem_test_tonearest): Likewise.
52951         (drem_test_towardzero): Likewise.
52952         (drem_test_downward): Likewise.
52953         (drem_test_upward): Likewise.
52954         (main): Call the new functions.
52956         * math/libm-test.inc (finite_test_data): Remove.
52957         (finite_test): Run tests from isfinite_test_data.
52958         (gamma_test_data): Remove.
52959         (gamma_test): Run tests from lgamma_test_data.
52960         * sysdeps/i386/fpu/libm-test-ulps: Update.
52961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52963 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52965         * manual/platform.texi: Add PowerPC PPR function set documentation.
52966         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
52967         implementation.
52969 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
52971         * math/libm-test.inc (MAX_EXP): Define.
52972         (ULPDIFF): Define.
52973         (ulp): New function.
52974         (check_float_internal): Use ULPDIFF.
52975         (cpow_test): Disable failing test.
52976         (check_ulp): Test ulp() implemetnation.
52977         (main): Call check_ulp before starting tests.
52979 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52981         * math/gen-libm-test.pl (generate_testfile): Do not handle
52982         START_DATA and END_DATA.
52983         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
52984         END_DATA.
52985         (acos_tonearest_test_data): Likewise.
52986         (acos_towardzero_test_data): Likewise.
52987         (acos_downward_test_data): Likewise.
52988         (acos_upward_test_data): Likewise.
52989         (acosh_test_data): Likewise.
52990         (asin_test_data): Likewise.
52991         (asin_tonearest_test_data): Likewise.
52992         (asin_towardzero_test_data): Likewise.
52993         (asin_downward_test_data): Likewise.
52994         (asin_upward_test_data): Likewise.
52995         (asinh_test_data): Likewise.
52996         (atan_test_data): Likewise.
52997         (atanh_test_data): Likewise.
52998         (atan2_test_data): Likewise.
52999         (cabs_test_data): Likewise.
53000         (cacos_test_data): Likewise.
53001         (cacosh_test_data): Likewise.
53002         (carg_test_data): Likewise.
53003         (casin_test_data): Likewise.
53004         (casinh_test_data): Likewise.
53005         (catan_test_data): Likewise.
53006         (catanh_test_data): Likewise.
53007         (cbrt_test_data): Likewise.
53008         (ccos_test_data): Likewise.
53009         (ccosh_test_data): Likewise.
53010         (ceil_test_data): Likewise.
53011         (cexp_test_data): Likewise.
53012         (cimag_test_data): Likewise.
53013         (clog_test_data): Likewise.
53014         (clog10_test_data): Likewise.
53015         (conj_test_data): Likewise.
53016         (copysign_test_data): Likewise.
53017         (cos_test_data): Likewise.
53018         (cos_tonearest_test_data): Likewise.
53019         (cos_towardzero_test_data): Likewise.
53020         (cos_downward_test_data): Likewise.
53021         (cos_upward_test_data): Likewise.
53022         (cosh_test_data): Likewise.
53023         (cosh_tonearest_test_data): Likewise.
53024         (cosh_towardzero_test_data): Likewise.
53025         (cosh_downward_test_data): Likewise.
53026         (cosh_upward_test_data): Likewise.
53027         (cpow_test_data): Likewise.
53028         (cproj_test_data): Likewise.
53029         (creal_test_data): Likewise.
53030         (csin_test_data): Likewise.
53031         (csinh_test_data): Likewise.
53032         (csqrt_test_data): Likewise.
53033         (ctan_test_data): Likewise.
53034         (ctan_tonearest_test_data): Likewise.
53035         (ctan_towardzero_test_data): Likewise.
53036         (ctan_downward_test_data): Likewise.
53037         (ctan_upward_test_data): Likewise.
53038         (ctanh_test_data): Likewise.
53039         (ctanh_tonearest_test_data): Likewise.
53040         (ctanh_towardzero_test_data): Likewise.
53041         (ctanh_downward_test_data): Likewise.
53042         (ctanh_upward_test_data): Likewise.
53043         (erf_test_data): Likewise.
53044         (erfc_test_data): Likewise.
53045         (exp_test_data): Likewise.
53046         (exp_tonearest_test_data): Likewise.
53047         (exp_towardzero_test_data): Likewise.
53048         (exp_downward_test_data): Likewise.
53049         (exp_upward_test_data): Likewise.
53050         (exp10_test_data): Likewise.
53051         (exp2_test_data): Likewise.
53052         (expm1_test_data): Likewise.
53053         (fabs_test_data): Likewise.
53054         (fdim_test_data): Likewise.
53055         (finite_test_data): Likewise.
53056         (floor_test_data): Likewise.
53057         (fma_test_data): Likewise.
53058         (fma_towardzero_test_data): Likewise.
53059         (fma_downward_test_data): Likewise.
53060         (fma_upward_test_data): Likewise.
53061         (fmax_test_data): Likewise.
53062         (fmin_test_data): Likewise.
53063         (fmod_test_data): Likewise.
53064         (fpclassify_test_data): Likewise.
53065         (frexp_test_data): Likewise.
53066         (gamma_test_data): Likewise.
53067         (hypot_test_data): Likewise.
53068         (ilogb_test_data): Likewise.
53069         (isfinite_test_data): Likewise.
53070         (isgreater_test_data): Likewise.
53071         (isgreaterequal_test_data): Likewise.
53072         (isinf_test_data): Likewise.
53073         (isless_test_data): Likewise.
53074         (islessequal_test_data): Likewise.
53075         (islessgreater_test_data): Likewise.
53076         (isnan_test_data): Likewise.
53077         (isnormal_test_data): Likewise.
53078         (issignaling_test_data): Likewise.
53079         (isunordered_test_data): Likewise.
53080         (j0_test_data): Likewise.
53081         (j1_test_data): Likewise.
53082         (jn_test_data): Likewise.
53083         (ldexp_test_data): Likewise.
53084         (lgamma_test_data): Likewise.
53085         (lrint_test_data): Likewise.
53086         (lrint_tonearest_test_data): Likewise.
53087         (lrint_towardzero_test_data): Likewise.
53088         (lrint_downward_test_data): Likewise.
53089         (lrint_upward_test_data): Likewise.
53090         (llrint_test_data): Likewise.
53091         (llrint_tonearest_test_data): Likewise.
53092         (llrint_towardzero_test_data): Likewise.
53093         (llrint_downward_test_data): Likewise.
53094         (llrint_upward_test_data): Likewise.
53095         (log_test_data): Likewise.
53096         (log10_test_data): Likewise.
53097         (log1p_test_data): Likewise.
53098         (log2_test_data): Likewise.
53099         (logb_test_data): Likewise.
53100         (logb_downward_test_data): Likewise.
53101         (lround_test_data): Likewise.
53102         (llround_test_data): Likewise.
53103         (modf_test_data): Likewise.
53104         (nearbyint_test_data): Likewise.
53105         (nextafter_test_data): Likewise.
53106         (nexttoward_test_data): Likewise.
53107         (pow_test_data): Likewise.
53108         (pow_tonearest_test_data): Likewise.
53109         (pow_towardzero_test_data): Likewise.
53110         (pow_downward_test_data): Likewise.
53111         (pow_upward_test_data): Likewise.
53112         (remainder_test_data): Likewise.
53113         (remainder_tonearest_test_data): Likewise.
53114         (remainder_towardzero_test_data): Likewise.
53115         (remainder_downward_test_data): Likewise.
53116         (remainder_upward_test_data): Likewise.
53117         (remquo_test_data): Likewise.
53118         (rint_test_data): Likewise.
53119         (rint_tonearest_test_data): Likewise.
53120         (rint_towardzero_test_data): Likewise.
53121         (rint_downward_test_data): Likewise.
53122         (rint_upward_test_data): Likewise.
53123         (round_test_data): Likewise.
53124         (scalb_test_data): Likewise.
53125         (scalbn_test_data): Likewise.
53126         (scalbln_test_data): Likewise.
53127         (signbit_test_data): Likewise.
53128         (sin_test_data): Likewise.
53129         (sin_tonearest_test_data): Likewise.
53130         (sin_towardzero_test_data): Likewise.
53131         (sin_downward_test_data): Likewise.
53132         (sin_upward_test_data): Likewise.
53133         (sincos_test_data): Likewise.
53134         (sinh_test_data): Likewise.
53135         (sinh_tonearest_test_data): Likewise.
53136         (sinh_towardzero_test_data): Likewise.
53137         (sinh_downward_test_data): Likewise.
53138         (sinh_upward_test_data): Likewise.
53139         (sqrt_test_data): Likewise.
53140         (tan_test_data): Likewise.
53141         (tan_tonearest_test_data): Likewise.
53142         (tan_towardzero_test_data): Likewise.
53143         (tan_downward_test_data): Likewise.
53144         (tan_upward_test_data): Likewise.
53145         (tanh_test_data): Likewise.
53146         (tgamma_test_data): Likewise.
53147         (trunc_test_data): Likewise.
53148         (y0_test_data): Likewise.
53149         (y1_test_data): Likewise.
53150         (yn_test_data): Likewise.
53151         (significand_test_data): Likewise.
53153         * math/gen-libm-test.pl (@functions): Remove variable.
53154         (generate_testfile): Don't handle START and END lines.
53155         * math/libm-test.inc (START): New macro.
53156         (END): Likewise.
53157         (END_COMPLEX): Likewise.
53158         (acos_test): Use END macro without arguments.
53159         (acos_test_tonearest): Likewise.
53160         (acos_test_towardzero): Likewise.
53161         (acos_test_downward): Likewise.
53162         (acos_test_upward): Likewise.
53163         (acosh_test): Likewise.
53164         (asin_test): Likewise.
53165         (asin_test_tonearest): Likewise.
53166         (asin_test_towardzero): Likewise.
53167         (asin_test_downward): Likewise.
53168         (asin_test_upward): Likewise.
53169         (asinh_test): Likewise.
53170         (atan_test): Likewise.
53171         (atanh_test): Likewise.
53172         (atan2_test): Likewise.
53173         (cabs_test): Likewise.
53174         (cacos_test): Use END_COMPLEX macro without arguments.
53175         (cacosh_test): Likewise.
53176         (carg_test): Use END macro without arguments.
53177         (casin_test): Use END_COMPLEX macro without arguments.
53178         (casinh_test): Likewise.
53179         (catan_test): Likewise.
53180         (catanh_test): Likewise.
53181         (cbrt_test): Use END macro without arguments.
53182         (ccos_test): Use END_COMPLEX macro without arguments.
53183         (ccosh_test): Likewise.
53184         (ceil_test): Use END macro without arguments.
53185         (cexp_test): Use END_COMPLEX macro without arguments.
53186         (cimag_test): Use END macro without arguments.
53187         (clog_test): Use END_COMPLEX macro without arguments.
53188         (clog10_test): Likewise.
53189         (conj_test): Likewise.
53190         (copysign_test): Use END macro without arguments.
53191         (cos_test): Likewise.
53192         (cos_test_tonearest): Likewise.
53193         (cos_test_towardzero): Likewise.
53194         (cos_test_downward): Likewise.
53195         (cos_test_upward): Likewise.
53196         (cosh_test): Likewise.
53197         (cosh_test_tonearest): Likewise.
53198         (cosh_test_towardzero): Likewise.
53199         (cosh_test_downward): Likewise.
53200         (cosh_test_upward): Likewise.
53201         (cpow_test): Use END_COMPLEX macro without arguments.
53202         (cproj_test): Likewise.
53203         (creal_test): Use END macro without arguments.
53204         (csin_test): Use END_COMPLEX macro without arguments.
53205         (csinh_test): Likewise.
53206         (csqrt_test): Likewise.
53207         (ctan_test): Likewise.
53208         (ctan_test_tonearest): Likewise.
53209         (ctan_test_towardzero): Likewise.
53210         (ctan_test_downward): Likewise.
53211         (ctan_test_upward): Likewise.
53212         (ctanh_test): Likewise.
53213         (ctanh_test_tonearest): Likewise.
53214         (ctanh_test_towardzero): Likewise.
53215         (ctanh_test_downward): Likewise.
53216         (ctanh_test_upward): Likewise.
53217         (erf_test): Use END macro without arguments.
53218         (erfc_test): Likewise.
53219         (exp_test): Likewise.
53220         (exp_test_tonearest): Likewise.
53221         (exp_test_towardzero): Likewise.
53222         (exp_test_downward): Likewise.
53223         (exp_test_upward): Likewise.
53224         (exp10_test): Likewise.
53225         (exp2_test): Likewise.
53226         (expm1_test): Likewise.
53227         (fabs_test): Likewise.
53228         (fdim_test): Likewise.
53229         (finite_test): Likewise.
53230         (floor_test): Likewise.
53231         (fma_test): Likewise.
53232         (fma_test_towardzero): Likewise.
53233         (fma_test_downward): Likewise.
53234         (fma_test_upward): Likewise.
53235         (fmax_test): Likewise.
53236         (fmin_test): Likewise.
53237         (fmod_test): Likewise.
53238         (fpclassify_test): Likewise.
53239         (frexp_test): Likewise.
53240         (gamma_test): Likewise.
53241         (hypot_test): Likewise.
53242         (ilogb_test): Likewise.
53243         (isfinite_test): Likewise.
53244         (isgreater_test): Likewise.
53245         (isgreaterequal_test): Likewise.
53246         (isinf_test): Likewise.
53247         (isless_test): Likewise.
53248         (islessequal_test): Likewise.
53249         (islessgreater_test): Likewise.
53250         (isnan_test): Likewise.
53251         (isnormal_test): Likewise.
53252         (issignaling_test): Likewise.
53253         (isunordered_test): Likewise.
53254         (j0_test): Likewise.
53255         (j1_test): Likewise.
53256         (jn_test): Likewise.
53257         (ldexp_test): Likewise.
53258         (lgamma_test): Likewise.
53259         (lrint_test): Likewise.
53260         (lrint_test_tonearest): Likewise.
53261         (lrint_test_towardzero): Likewise.
53262         (lrint_test_downward): Likewise.
53263         (lrint_test_upward): Likewise.
53264         (llrint_test): Likewise.
53265         (llrint_test_tonearest): Likewise.
53266         (llrint_test_towardzero): Likewise.
53267         (llrint_test_downward): Likewise.
53268         (llrint_test_upward): Likewise.
53269         (log_test): Likewise.
53270         (log10_test): Likewise.
53271         (log1p_test): Likewise.
53272         (log2_test): Likewise.
53273         (logb_test): Likewise.
53274         (logb_test_downward): Likewise.
53275         (lround_test): Likewise.
53276         (llround_test): Likewise.
53277         (modf_test): Likewise.
53278         (nearbyint_test): Likewise.
53279         (nextafter_test): Likewise.
53280         (nexttoward_test): Likewise.
53281         (pow_test): Likewise.
53282         (pow_test_tonearest): Likewise.
53283         (pow_test_towardzero): Likewise.
53284         (pow_test_downward): Likewise.
53285         (pow_test_upward): Likewise.
53286         (remainder_test): Likewise.
53287         (remainder_test_tonearest): Likewise.
53288         (remainder_test_towardzero): Likewise.
53289         (remainder_test_downward): Likewise.
53290         (remainder_test_upward): Likewise.
53291         (remquo_test): Likewise.
53292         (rint_test): Likewise.
53293         (rint_test_tonearest): Likewise.
53294         (rint_test_towardzero): Likewise.
53295         (rint_test_downward): Likewise.
53296         (rint_test_upward): Likewise.
53297         (round_test): Likewise.
53298         (scalb_test): Likewise.
53299         (scalbn_test): Likewise.
53300         (scalbln_test): Likewise.
53301         (signbit_test): Likewise.
53302         (sin_test): Likewise.
53303         (sin_test_tonearest): Likewise.
53304         (sin_test_towardzero): Likewise.
53305         (sin_test_downward): Likewise.
53306         (sin_test_upward): Likewise.
53307         (sincos_test): Likewise.
53308         (sinh_test): Likewise.
53309         (sinh_test_tonearest): Likewise.
53310         (sinh_test_towardzero): Likewise.
53311         (sinh_test_downward): Likewise.
53312         (sinh_test_upward): Likewise.
53313         (sqrt_test): Likewise.
53314         (tan_test): Likewise.
53315         (tan_test_tonearest): Likewise.
53316         (tan_test_towardzero): Likewise.
53317         (tan_test_downward): Likewise.
53318         (tan_test_upward): Likewise.
53319         (tanh_test): Likewise.
53320         (tgamma_test): Likewise.
53321         (trunc_test): Likewise.
53322         (y0_test): Likewise.
53323         (y1_test): Likewise.
53324         (yn_test): Likewise.
53325         (significand_test): Likewise.
53327 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
53329         [BZ #15381]
53330         * libio/genops.c (_IO_no_init): Initialize wide struct info.
53332 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53334         [BZ #14894]
53335         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
53336         __ppc_mdoio and __ppc_mdoom.
53337         * manual/platform.texi: Document new functions __ppc_yield,
53338         __ppc_mdoio and __ppc_mdoom.
53340 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
53342         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
53343         (main): Mention "tls" pseudo-hwcap is legacy.
53344         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
53346 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53348         * math/gen-libm-test.pl (parse_args): Output only string of
53349         arguments as text for test name, not full call or descriptions of
53350         tests for extra outputs.
53351         (generate_testfile): Do not pass function name to parse_args.
53352         Generate this_func variable from START.
53353         * math/libm-test.inc (struct test_f_f_data): Rename test_name
53354         field to arg_str.
53355         (struct test_ff_f_data): Likewise.
53356         (test_ff_f_data_nexttoward): Likewise.
53357         (struct test_fi_f_data): Likewise.
53358         (struct test_fl_f_data): Likewise.
53359         (struct test_if_f_data): Likewise.
53360         (struct test_fff_f_data): Likewise.
53361         (struct test_c_f_data): Likewise.
53362         (struct test_f_f1_data): Likewise.  Remove field extra_name.
53363         (struct test_fF_f1_data): Likewise.
53364         (struct test_ffI_f1_data): Likewise.
53365         (struct test_c_c_data): Rename test_name field to arg_str.
53366         (struct test_cc_c_data): Likewise.
53367         (struct test_f_i_data): Likewise.
53368         (struct test_ff_i_data): Likewise.
53369         (struct test_f_l_data): Likewise.
53370         (struct test_f_L_data): Likewise.
53371         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
53372         and extra2_name.
53373         (COMMON_TEST_SETUP): New macro.
53374         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
53375         (COMMON_TEST_CLEANUP): Likewise.
53376         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
53377         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
53378         macros.
53379         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
53380         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
53381         macros.
53382         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
53383         (RUN_TEST_fff_f): Take argument string.  Call new setup and
53384         cleanup macros.
53385         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
53386         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
53387         macros.
53388         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
53389         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
53390         macros.
53391         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53392         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
53393         cleanup macros.
53394         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53395         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
53396         cleanup macros.
53397         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53398         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
53399         cleanup macros.
53400         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53401         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
53402         macros.
53403         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53404         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
53405         macros.
53406         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53407         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
53408         macros.
53409         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53410         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
53411         cleanup macros.
53412         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53413         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
53414         cleanup macros.
53415         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53416         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
53417         macros.
53418         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
53419         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
53420         cleanup macros.
53421         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
53422         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
53423         macros.
53424         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
53425         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
53426         macros.
53427         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
53428         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
53429         cleanup macros.
53430         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
53432 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
53434         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
53435         to _sifields.sigfault.
53436         (si_addr_lsb): Define new macro.
53437         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53438         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53439         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
53441 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
53443         [BZ #15441]
53444         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
53445         returns -1.
53446         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
53447         null return -1.
53448         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
53449         loading the domain.
53451 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53453         * math/gen-libm-test.pl (parse_args): Do not include expected
53454         result in test name.
53455         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
53456         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53457         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53458         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53459         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53462 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53464         * benchtests/Makefile: Sort function entries.
53466         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
53467         tanh, asinh, acosh, atanh.
53468         * benchtests/acos-inputs: New file.
53469         * benchtests/acosh-inputs: New file.
53470         * benchtests/asin-inputs: New file.
53471         * benchtests/asinh-inputs: New file.
53472         * benchtests/atanh-inputs: New file.
53473         * benchtests/cosh-inputs: New file.
53474         * benchtests/log-inputs: New file.
53475         * benchtests/sinh-inputs: New file.
53476         * benchtests/tanh-inputs: New file.
53478 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
53480         [BZ #15339]
53481         * posix/tst-getaddrinfo4.c: New test.
53482         * posix/Makefile (tests): Add it.
53484 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53486         [BZ #15339]
53487         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
53488         when no services were used.
53489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
53490         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
53492 2013-05-21  Andreas Schwab  <schwab@suse.de>
53494         [BZ #15014]
53495         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
53496         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
53497         successful.
53498         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
53499         redundant variable declarations and reallocation of buffer when
53500         parsing as IPv6 address.  Always set NSS status when called from
53501         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
53502         buffer too small.  Correct computation of needed size.
53503         * nss/Makefile (tests): Add test-digits-dots.
53504         * nss/test-digits-dots.c: New test.
53506 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53508         * benchtests/Makefile: Remove instructions for adding
53509         benchmark tests.
53510         * benchtests/README: New file to explain how to execute and
53511         enhance the benchmark tests.
53513 2013-05-21  Andreas Schwab  <schwab@suse.de>
53515         [BZ #15493]
53516         * setjmp/Makefile (tests): Add tst-sigsetjmp.
53517         * setjmp/tst-sigsetjmp.c: New test.
53519 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53521         * sysdeps/x86_64/memset.S (memset): New implementation.
53522         (__bzero): Likewise.
53523         (__memset_tail): New function.
53525 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53527         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
53528         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
53529         __memcpy_sse2_unaligned ifunc selection.
53530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53531         Add memcpy-sse2-unaligned.S.
53532         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53533         Add: __memcpy_sse2_unaligned.
53535 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
53537         [BZ #15490]
53538         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53539         math_force_eval before restoring floating-point envrionment.
53540         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
53541         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
53542         Likewise.
53543         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
53544         <math_private.h>.
53545         (__nearbyintl): Use math_force_eval before restoring
53546         floating-point environment.
53547         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
53549         * math/gen-libm-test.pl (special_functions): Remove.
53550         (parse_args): Don't handle TEST_extra.  Handle functions with no
53551         return value.
53552         * math/libm-test.inc (struct test_sincos_data): Replace with
53553         struct test_fFF_11_data.
53554         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
53555         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
53556         (sincos_test_data): Change element type to struct
53557         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
53558         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
53559         RUN_TEST_LOOP_sincos.
53560         * math/README.libm-test: Don't mention special handling of
53561         individual functions.
53562         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
53563         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53564         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53565         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53566         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53569         * math/gen-libm-test.pl (get_variable): Remove function.
53570         (parse_args): Don't show pointer parameters to call in test
53571         names.  Use "extra output N" in test names for extra outputs
53572         rather than naming variables.
53574 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
53576         [BZ #15488]
53577         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
53578         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
53579         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
53580         double tests.
53581         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
53582         disable.
53583         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
53584         check_long_double.
53586         * math/gen-libm-test.pl (@tests): Remove variable.
53587         ($count): Likewise.
53588         (new_test): Remove function.
53589         (show_exceptions): New function.
53590         (special_functions): Use show_exceptions instead of new_test.
53591         (parse_args): Likewise.
53592         (generate_testfile): Pass only function name in generated call to
53593         print_max_error or print_complex_max_error.
53594         (get_ulps): Do not handle complex tests specially.
53595         (output_test): Rename to ...
53596         (get_all_ulps_for_test): ... this.  Return a string rather than
53597         printing to a file.  Require ulps to be present.
53598         (output_ulps): Generate arrays rather than #defines.
53599         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
53600         (struct ulp_data): New type.
53601         (BUILD_COMPLEX_ULP): Remove macro.
53602         (compare_ulp_data): New function.
53603         (find_ulps): Likewise.
53604         (find_test_ulps): Likewise.
53605         (find_function_ulps): Likewise.
53606         (find_complex_function_ulps): Likewise.
53607         (print_max_error): Determine allowed ulps using
53608         find_function_ulps.
53609         (print_complex_max_error): Determine allowed ulps using
53610         find_complex_function_ulps.
53611         (check_float_internal): Determine max ulps using find_test_ulps.
53612         (check_float): Do not take max_ulp parameter.  Update call to
53613         check_float_internal.
53614         (check_complex): Likewise.
53615         (check_int): Do not take max_ulp parameter.
53616         (check_long): Likewise.
53617         (check_bool): Likewise.
53618         (check_longlong): Likewise.
53619         (struct test_f_f_data): Remove max_ulp field.
53620         (struct test_ff_f_data): Likewise.
53621         (struct test_ff_f_data_nexttoward): Likewise.
53622         (struct test_fi_f_data): Likewise.
53623         (struct test_fl_f_data): Likewise.
53624         (struct test_if_f_data): Likewise.
53625         (struct test_fff_f_data): Likewise.
53626         (struct test_c_f_data): Likewise.
53627         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
53628         (struct test_fF_f1_data): Likewise.
53629         (struct test_ffI_f1_data): Likewise.
53630         (struct test_c_c_data): Remove max_ulp field.
53631         (struct test_cc_c_data): Likewise.
53632         (struct test_f_i_data): Likewise.
53633         (struct test_ff_i_data): Likewise.
53634         (struct test_f_l_data): Likewise.
53635         (struct test_f_L_data): Likewise.
53636         (struct test_sincos_data): Likewise.
53637         (RUN_TEST_f_f): Do not handle ulps.
53638         (RUN_TEST_LOOP_f_f): Likewise.
53639         (RUN_TEST_2_f): Likewise.
53640         (RUN_TEST_LOOP_2_f): Likewise.
53641         (RUN_TEST_fff_f): Likewise.
53642         (RUN_TEST_LOOP_fff_f): Likewise.
53643         (RUN_TEST_c_f): Likewise.
53644         (RUN_TEST_LOOP_c_f): Likewise.
53645         (RUN_TEST_f_f1): Likewise.
53646         (RUN_TEST_LOOP_f_f1): Likewise.
53647         (RUN_TEST_fF_f1): Likewise.
53648         (RUN_TEST_LOOP_fF_f1): Likewise.
53649         (RUN_TEST_fI_f1): Likewise.
53650         (RUN_TEST_LOOP_fI_f1): Likewise.
53651         (RUN_TEST_ffI_f1): Likewise.
53652         (RUN_TEST_LOOP_ffI_f1): Likewise.
53653         (RUN_TEST_c_c): Likewise.
53654         (RUN_TEST_LOOP_c_c): Likewise.
53655         (RUN_TEST_cc_c): Likewise.
53656         (RUN_TEST_LOOP_cc_c): Likewise.
53657         (RUN_TEST_f_i): Likewise.
53658         (RUN_TEST_LOOP_f_i): Likewise.
53659         (RUN_TEST_f_i_tg): Likewise.
53660         (RUN_TEST_LOOP_f_i_tg): Likewise.
53661         (RUN_TEST_ff_i_tg): Likewise.
53662         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53663         (RUN_TEST_f_b): Likewise.
53664         (RUN_TEST_LOOP_f_b): Likewise.
53665         (RUN_TEST_f_b_tg): Likewise.
53666         (RUN_TEST_LOOP_f_b_tg): Likewise.
53667         (RUN_TEST_f_l): Likewise.
53668         (RUN_TEST_LOOP_f_l): Likewise.
53669         (RUN_TEST_f_L): Likewise.
53670         (RUN_TEST_LOOP_f_L): Likewise.
53671         (RUN_TEST_sincos): Likewise.
53672         (RUN_TEST_LOOP_sincos): Likewise.
53674 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
53676         [BZ #15480]
53677         [BZ #15485]
53678         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
53679         main case of finite arguments, set rounding mode to FE_TONEAREST
53680         and discard exceptions.
53681         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
53682         exceptions.
53683         (remainder_tonearest_test_data): New variable.
53684         (remainder_test_tonearest): New function.
53685         (remainder_towardzero_test_data): New variable.
53686         (remainder_test_towardzero): New function.
53687         (remainder_downward_test_data): New variable.
53688         (remainder_test_downward): New function.
53689         (remainder_upward_test_data): New variable.
53690         (remainder_test_upward): New function.
53691         (main): Call the new test functions.
53693         * math/libm-test.inc (struct test_f_f1_data): Remove field
53694         extra_init.
53695         (struct test_fF_f1_data): Likewise.
53696         (struct test_ffI_f1_data): Likewise.
53697         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
53698         based on value of EXTRA_EXPECTED.
53699         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53700         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
53701         EXTRA_VAR based on value of EXTRA_EXPECTED.
53702         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53703         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
53704         EXTRA_VAR based on value of EXTRA_EXPECTED.
53705         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53706         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
53707         EXTRA_VAR based on value of EXTRA_EXPECTED.
53708         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53709         * math/gen-libm-test.pl (parse_args): Don't output initializers
53710         for extra output values.
53712         * math/libm-test.inc (check_int): Expect result to be exactly
53713         equal to expected value and do not handle ulps.
53714         (check_long): Likewise.
53715         (check_longlong): Likewise.
53717         * math/libm-test.inc (ceil_test_data): Test for "inexact"
53718         exceptions.
53719         (cimag_test_data): Likewise.
53720         (conj_test_data): Likewise.
53721         (copysign_test_data): Likewise.
53722         (cproj_test_data): Likewise.
53723         (creal_test_data): Likewise.
53724         (fabs_test_data): Likewise.
53725         (fdim_test_data): Likewise.
53726         (finite_test_data): Likewise.
53727         (floor_test_data): Likewise.
53728         (fmax_test_data): Likewise.
53729         (fmin_test_data): Likewise.
53730         (fmod_test_data): Likewise.
53731         (fpclassify_test_data): Likewise.
53732         (frexp_test_data): Likewise.
53733         (ilogb_test_data): Likewise.
53734         (isfinite_test_data): Likewise.
53735         (isgreater_test_data): Likewise.
53736         (isgreaterequal_test_data): Likewise.
53737         (isinf_test_data): Likewise.
53738         (isless_test_data): Likewise.
53739         (islessequal_test_data): Likewise.
53740         (islessgreater_test_data): Likewise.
53741         (isnan_test_data): Likewise.
53742         (isnormal_test_data): Likewise.
53743         (issignaling_test_data): Likewise.
53744         (isunordered_test_data): Likewise.
53745         (ldexp_test_data): Likewise.
53746         (lrint_test_data): Likewise.
53747         (lrint_test_data) [TEST_FLOAT]: Disable one test.
53748         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
53749         (lrint_tonearest_test_data): Test for "inexact" exceptions.
53750         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53751         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
53752         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53753         test input.
53754         (lrint_towardzero_test_data): Test for "inexact" exceptions.
53755         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53756         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
53757         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
53758         that test input.
53759         (lrint_downward_test_data): Test for "inexact" exceptions.
53760         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53761         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
53762         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53763         test input.
53764         (lrint_upward_test_data): Test for "inexact" exceptions.
53765         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53766         test input.
53767         (llrint_test_data): Test for "inexact" exceptions.
53768         (llrint_test_data) [TEST_FLOAT]: Disable one test.
53769         (llrint_tonearest_test_data): Test for "inexact" exceptions.
53770         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53771         (llrint_towardzero_test_data): Test for "inexact" exceptions.
53772         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53773         (llrint_downward_test_data): Test for "inexact" exceptions.
53774         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53775         (llrint_upward_test_data): Test for "inexact" exceptions.
53776         (logb_test_data): Likewise.
53777         (logb_downward_test_data): Likewise.
53778         (nextafter_test_data): Likewise.
53779         (nexttoward_test_data): Likewise.
53780         (remainder_test_data): Likewise.
53781         (remquo_test_data): Likewise.
53782         (scalbn_test_data): Likewise.
53783         (scalbln_test_data): Likewise.
53784         (signbit_test_data): Likewise.
53785         (sqrt_test_data): Likewise.
53786         (significand_test_data): Likewise.
53788 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53790         [BZ #15424]
53791         * benchtests/bench-modf.c (struct args): Mark arg0 as
53792         volatile.
53793         * scripts/bench.pl: Mark members of struct args as volatile.
53795 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53797         [BZ # 15497]
53798         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53799         negative infinity on POWER6 or lower.
53800         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53802 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
53804         [BZ #15442]
53805         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53806         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53807         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53808         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53809         (_FP_SETQNAN): New macro.
53810         (_FP_SETQNAN_SEMIRAW): Likewise.
53811         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53812         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53813         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53814         (FP_EXTEND): Use _FP_FRAC_SNANP.
53815         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53816         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53817         into account.
53818         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53819         New macro.
53820         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53821         Likewise.
53823 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53825         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53826         with DIVIDE_BY_ZERO_EXCEPTION.
53827         (gamma_test_data): Likewise.
53828         (lgamma_test_data): Likewise.
53829         (log_test_data): Likewise.
53830         (log10_test_data): Likewise.
53831         (log2_test_data): Likewise.
53832         (tgamma_test_data): Likewise.
53834         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53835         (acos_test_tonearest): Likewise.
53836         (acos_test_towardzero): Likewise.
53837         (acos_test_downward): Likewise.
53838         (acos_test_upward): Likewise.
53839         (acosh_test): Likewise.
53840         (asin_test): Likewise.
53841         (asin_test_tonearest): Likewise.
53842         (asin_test_towardzero): Likewise.
53843         (asin_test_downward): Likewise.
53844         (asin_test_upward): Likewise.
53845         (asinh_test): Likewise.
53846         (atan_test): Likewise.
53847         (atanh_test): Likewise.
53848         (atan2_test): Likewise.
53849         (cabs_test): Likewise.
53850         (cacos_test): Likewise.
53851         (cacosh_test): Likewise.
53852         (casin_test): Likewise.
53853         (casinh_test): Likewise.
53854         (catan_test): Likewise.
53855         (catanh_test): Likewise.
53856         (cbrt_test): Likewise.
53857         (ccos_test): Likewise.
53858         (ccosh_test): Likewise.
53859         (cexp_test): Likewise.
53860         (clog_test): Likewise.
53861         (clog10_test): Likewise.
53862         (cos_test): Likewise.
53863         (cos_test_tonearest): Likewise.
53864         (cos_test_towardzero): Likewise.
53865         (cos_test_downward): Likewise.
53866         (cos_test_upward): Likewise.
53867         (cosh_test): Likewise.
53868         (cosh_test_tonearest): Likewise.
53869         (cosh_test_towardzero): Likewise.
53870         (cosh_test_downward): Likewise.
53871         (cosh_test_upward): Likewise.
53872         (cpow_test): Likewise.
53873         (csin_test): Likewise.
53874         (csinh_test): Likewise.
53875         (csqrt_test): Likewise.
53876         (ctan_test): Likewise.
53877         (ctan_test_tonearest): Likewise.
53878         (ctan_test_towardzero): Likewise.
53879         (ctan_test_downward): Likewise.
53880         (ctan_test_upward): Likewise.
53881         (ctanh_test): Likewise.
53882         (ctanh_test_tonearest): Likewise.
53883         (ctanh_test_towardzero): Likewise.
53884         (ctanh_test_downward): Likewise.
53885         (ctanh_test_upward): Likewise.
53886         (erf_test): Likewise.
53887         (erfc_test): Likewise.
53888         (exp_test): Likewise.
53889         (exp_test_tonearest): Likewise.
53890         (exp_test_towardzero): Likewise.
53891         (exp_test_downward): Likewise.
53892         (exp_test_upward): Likewise.
53893         (exp10_test): Likewise.
53894         (exp2_test): Likewise.
53895         (expm1_test): Likewise.
53896         (fmod_test): Likewise.
53897         (gamma_test): Likewise.
53898         (hypot_test): Likewise.
53899         (j0_test): Likewise.
53900         (j1_test): Likewise.
53901         (jn_test): Likewise.
53902         (lgamma_test): Likewise.
53903         (log_test): Likewise.
53904         (log10_test): Likewise.
53905         (log1p_test): Likewise.
53906         (log2_test): Likewise.
53907         (logb_test_downward): Likewise.
53908         (pow_test): Likewise.
53909         (pow_test_tonearest): Likewise.
53910         (pow_test_towardzero): Likewise.
53911         (pow_test_downward): Likewise.
53912         (pow_test_upward): Likewise.
53913         (remainder_test): Likewise.
53914         (remquo_test): Likewise.
53915         (sin_test): Likewise.
53916         (sin_test_tonearest): Likewise.
53917         (sin_test_towardzero): Likewise.
53918         (sin_test_downward): Likewise.
53919         (sin_test_upward): Likewise.
53920         (sincos_test): Likewise.
53921         (sinh_test): Likewise.
53922         (sinh_test_tonearest): Likewise.
53923         (sinh_test_towardzero): Likewise.
53924         (sinh_test_downward): Likewise.
53925         (sinh_test_upward): Likewise.
53926         (sqrt_test): Likewise.
53927         (tan_test): Likewise.
53928         (tan_test_tonearest): Likewise.
53929         (tan_test_towardzero): Likewise.
53930         (tan_test_downward): Likewise.
53931         (tan_test_upward): Likewise.
53932         (tanh_test): Likewise.
53933         (tgamma_test): Likewise.
53934         (y0_test): Likewise.
53935         (y1_test): Likewise.
53936         (yn_test): Likewise.
53938         * math/gen-libm-test.pl (adjust_arg): Remove function.
53939         (special_function): Remove argument $in_func.  Only handle
53940         generating output for tables of tests, not inside functions.
53941         (parse_args): Likewise.
53942         (generate_testfile): Remove variable $in_func.  Update call to
53943         parse_args.
53944         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
53945         (MINUS_ZERO_INIT): Rename macro to minus_zero.
53946         (PLUS_INFTY_INIT): Rename macro to plus_infty.
53947         (MINUS_INFTY_INIT): Rename macro to minus_infty.
53948         (QNAN_VALUE_INIT): Rename macro to qnan_value.
53949         (MAX_VALUE_INIT): Rename macro to max_value.
53950         (MIN_VALUE_INIT): Rename macro to min_value.
53951         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
53952         (plus_zero): Remove variable.
53953         (minus_zero): Likewise.
53954         (plus_infty): Likewise.
53955         (minus_infty): Likewise.
53956         (qnan_value): Likewise.
53957         (max_value): Likewise.
53958         (min_value): Likewise.
53959         (min_subnorm_value): Likewise.
53961 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53963         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
53964         uint64_t or uint32_t usage.
53965         * crypt/sha256-block.c: Likewise.
53966         * crypt/sha256-crypt.c: Likewise.
53967         * crypt/sha256.c: Likewise.
53968         * crypt/sha512-block.c: Likewise.
53969         * crypt/sha512-crypt.c: Likewise.
53970         * crypt/sha512.c: Likewise.
53971         * debug/backtrace-tst.c: Likewise.
53972         * debug/pcprofiledump.c: Likewise.
53973         * elf/cache.c: Likewise.
53974         * elf/dl-cache.c: Likewise.
53975         * elf/dl-misc.c: Likewise.
53976         * elf/dl-profile.c: Likewise.
53977         * elf/dl-support.c: Likewise.
53978         * elf/ldconfig.c: Likewise.
53979         * elf/sprof.c: Likewise.
53980         * iconv/dummy-repertoire.c: Likewise.
53981         * iconv/iconv_charmap.c: Likewise.
53982         * iconv/skeleton.c: Likewise.
53983         * iconvdata/8bit-generic.c: Likewise.
53984         * iconvdata/cp737.h: Likewise.
53985         * iconvdata/cp775.h: Likewise.
53986         * iconvdata/ibm1008.h: Likewise.
53987         * iconvdata/ibm1025.h: Likewise.
53988         * iconvdata/ibm1046.h: Likewise.
53989         * iconvdata/ibm1097.h: Likewise.
53990         * iconvdata/ibm1112.h: Likewise.
53991         * iconvdata/ibm1122.h: Likewise.
53992         * iconvdata/ibm1123.h: Likewise.
53993         * iconvdata/ibm1124.h: Likewise.
53994         * iconvdata/ibm1129.h: Likewise.
53995         * iconvdata/ibm1130.h: Likewise.
53996         * iconvdata/ibm1132.h: Likewise.
53997         * iconvdata/ibm1133.h: Likewise.
53998         * iconvdata/ibm1137.h: Likewise.
53999         * iconvdata/ibm1140.h: Likewise.
54000         * iconvdata/ibm1141.h: Likewise.
54001         * iconvdata/ibm1142.h: Likewise.
54002         * iconvdata/ibm1143.h: Likewise.
54003         * iconvdata/ibm1144.h: Likewise.
54004         * iconvdata/ibm1145.h: Likewise.
54005         * iconvdata/ibm1146.h: Likewise.
54006         * iconvdata/ibm1147.h: Likewise.
54007         * iconvdata/ibm1148.h: Likewise.
54008         * iconvdata/ibm1149.h: Likewise.
54009         * iconvdata/ibm1153.h: Likewise.
54010         * iconvdata/ibm1154.h: Likewise.
54011         * iconvdata/ibm1155.h: Likewise.
54012         * iconvdata/ibm1156.h: Likewise.
54013         * iconvdata/ibm1157.h: Likewise.
54014         * iconvdata/ibm1158.h: Likewise.
54015         * iconvdata/ibm1160.h: Likewise.
54016         * iconvdata/ibm1161.h: Likewise.
54017         * iconvdata/ibm1162.h: Likewise.
54018         * iconvdata/ibm1163.h: Likewise.
54019         * iconvdata/ibm1164.h: Likewise.
54020         * iconvdata/ibm1166.h: Likewise.
54021         * iconvdata/ibm1167.h: Likewise.
54022         * iconvdata/ibm12712.h: Likewise.
54023         * iconvdata/ibm1390.h: Likewise.
54024         * iconvdata/ibm1399.h: Likewise.
54025         * iconvdata/ibm16804.h: Likewise.
54026         * iconvdata/ibm4517.h: Likewise.
54027         * iconvdata/ibm4899.h: Likewise.
54028         * iconvdata/ibm4909.h: Likewise.
54029         * iconvdata/ibm4971.h: Likewise.
54030         * iconvdata/ibm5347.h: Likewise.
54031         * iconvdata/ibm803.h: Likewise.
54032         * iconvdata/ibm856.h: Likewise.
54033         * iconvdata/ibm901.h: Likewise.
54034         * iconvdata/ibm902.h: Likewise.
54035         * iconvdata/ibm9030.h: Likewise.
54036         * iconvdata/ibm9066.h: Likewise.
54037         * iconvdata/ibm921.h: Likewise.
54038         * iconvdata/ibm922.h: Likewise.
54039         * iconvdata/ibm9448.h: Likewise.
54040         * iconvdata/isiri-3342.h: Likewise.
54041         * iconvdata/jis0201.h: Likewise.
54042         * include/link.h: Likewise.
54043         * include/netdb.h: Likewise.
54044         * inet/check_native.c: Likewise.
54045         * inet/check_pf.c: Likewise.
54046         * inet/getipv4sourcefilter.c: Likewise.
54047         * inet/getnameinfo.c: Likewise.
54048         * inet/getsourcefilter.c: Likewise.
54049         * inet/htonl.c: Likewise.
54050         * inet/setipv4sourcefilter.c: Likewise.
54051         * inet/setsourcefilter.c: Likewise.
54052         * inet/test-inet6_opt.c: Likewise.
54053         * inet/tst-network.c: Likewise.
54054         * locale/C-collate.c: Likewise.
54055         * locale/C-ctype.c: Likewise.
54056         * locale/C-time.c: Likewise.
54057         * locale/C-translit.h: Likewise.
54058         * locale/loadarchive.c: Likewise.
54059         * locale/programs/3level.h: Likewise.
54060         * locale/programs/charmap.c: Likewise.
54061         * locale/programs/charmap.h: Likewise.
54062         * locale/programs/ld-address.c: Likewise.
54063         * locale/programs/ld-collate.c: Likewise.
54064         * locale/programs/ld-ctype.c: Likewise.
54065         * locale/programs/ld-identification.c: Likewise.
54066         * locale/programs/ld-measurement.c: Likewise.
54067         * locale/programs/ld-messages.c: Likewise.
54068         * locale/programs/ld-monetary.c: Likewise.
54069         * locale/programs/ld-name.c: Likewise.
54070         * locale/programs/ld-numeric.c: Likewise.
54071         * locale/programs/ld-paper.c: Likewise.
54072         * locale/programs/ld-telephone.c: Likewise.
54073         * locale/programs/ld-time.c: Likewise.
54074         * locale/programs/linereader.c: Likewise.
54075         * locale/programs/locale.c: Likewise.
54076         * locale/programs/locarchive.c: Likewise.
54077         * locale/programs/locfile.h: Likewise.
54078         * locale/programs/repertoire.c: Likewise.
54079         * locale/programs/simple-hash.c: Likewise.
54080         * locale/programs/simple-hash.h: Likewise.
54081         * malloc/memusage.c: Likewise.
54082         * malloc/memusagestat.c: Likewise.
54083         * nis/nis_defaults.c: Likewise.
54084         * nis/nis_hash.c: Likewise.
54085         * nis/nis_print.c: Likewise.
54086         * nis/nis_xdr.c: Likewise.
54087         * nscd/connections.c: Likewise.
54088         * nscd/hstcache.c: Likewise.
54089         * nscd/nscd_gethst_r.c: Likewise.
54090         * nscd/nscd_getserv_r.c: Likewise.
54091         * nscd/nscd_helper.c: Likewise.
54092         * nscd/servicescache.c: Likewise.
54093         * nss/makedb.c: Likewise.
54094         * nss/nss_db/db-XXX.c: Likewise.
54095         * nss/nss_db/db-initgroups.c: Likewise.
54096         * nss/nss_db/db-netgrp.c: Likewise.
54097         * nss/nss_files/files-network.c: Likewise.
54098         * nss/nss_files/files-parse.c: Likewise.
54099         * posix/bug-regex5.c: Likewise.
54100         * posix/fnmatch_loop.c: Likewise.
54101         * posix/regcomp.c: Likewise.
54102         * posix/regexec.c: Likewise.
54103         * posix/tst-rfc3484-2.c: Likewise.
54104         * posix/tst-rfc3484-3.c: Likewise.
54105         * posix/tst-rfc3484.c: Likewise.
54106         * resolv/nss_dns/dns-canon.c: Likewise.
54107         * resolv/nss_dns/dns-network.c: Likewise.
54108         * resolv/res_init.c: Likewise.
54109         * resolv/res_mkquery.c: Likewise.
54110         * resolv/tst-aton.c: Likewise.
54111         * stdlib/cxa_atexit.c: Likewise.
54112         * stdlib/cxa_finalize.c: Likewise.
54113         * stdlib/gen-fpioconst.c: Likewise.
54114         * stdlib/strtol_l.c: Likewise.
54115         * string/tst-endian.c: Likewise.
54116         * sunrpc/auth_des.c: Likewise.
54117         * sunrpc/clnt_udp.c: Likewise.
54118         * sunrpc/rtime.c: Likewise.
54119         * sunrpc/svcauth_des.c: Likewise.
54120         * sunrpc/xdr.c: Likewise.
54121         * sunrpc/xdr_intXX_t.c: Likewise.
54122         * sunrpc/xdr_rec.c: Likewise.
54123         * sysdeps/generic/ldconfig.h: Likewise.
54124         * sysdeps/generic/ldsodefs.h: Likewise.
54125         * sysdeps/generic/memusage.h: Likewise.
54126         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54127         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
54128         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
54129         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54130         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54131         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54132         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54133         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54134         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54135         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54136         * sysdeps/posix/getaddrinfo.c: Likewise.
54137         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54138         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54139         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54140         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54141         * sysdeps/powerpc/test-gettimebase.c: Likewise.
54142         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
54143         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
54144         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
54145         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
54146         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
54147         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54148         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54149         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
54150         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
54151         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
54152         * sysdeps/x86_64/dl-tls.h: Likewise.
54153         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
54154         * time/alt_digit.c: Likewise.
54155         * time/era.c: Likewise.
54156         * wcsmbs/tst-c16c32-1.c: Likewise.
54158 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54160         * math/libm-test.inc (struct test_sincos_data): New type.
54161         (RUN_TEST_LOOP_sincos): New macro.
54162         (sincos_test_data): New variable.
54163         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
54165 2013-05-16  Richard Henderson  <rth@redhat.com>
54167         * math/atest-exp2.c (LIMB64): New macro.
54168         (CONSTSZ): New macro.
54169         (mp_exp1, mp_exp_m1, mp_log2): New variables.
54170         (hexdig): Move ...
54171         (print_mpn_fp): ... to function scope.
54172         (read_mpn_hex): Remove.
54173         (get_log2): Remove.
54174         (exp2_mpn): Use mp_log2.
54175         (main): Use mp_exp1.
54177 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54179         * math/libm-test.inc: Remove comment about not testing "inexact"
54180         exceptions.
54181         (INEXACT_EXCEPTION): New macro.
54182         (NO_INEXACT_EXCEPTION): Likewise.
54183         (INVALID_EXCEPTION_OK): Update value.
54184         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54185         (OVERFLOW_EXCEPTION_OK): Likewise.
54186         (UNDERFLOW_EXCEPTION_OK): Likewise.
54187         (IGNORE_ZERO_INF_SIGN): Likewise.
54188         (ERRNO_UNCHANGED): Likewise.
54189         (ERRNO_EDOM): Likewise.
54190         (ERRNO_ERANGE): Likewise.
54191         (test_exceptions): Handle testing "inexact" exceptions.
54192         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
54193         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
54194         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
54195         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
54196         INEXACT_EXCEPTION.
54197         (rint_towardzero_test_data): Likewise.
54198         (rint_downward_test_data): Likewise.
54199         (rint_upward_test_data): Likewise.
54201         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
54202         with OVERFLOW_EXCEPTION.
54203         (exp10_test_data): Likewise.
54204         (exp2_test_data): Likewise.
54205         (expm1_test_data): Likewise.
54206         (lgamma_test_data): Likewise.
54207         (pow_test_data): Likewise.
54208         (tgamma_test_data): Likewise.
54209         (yn_test_data): Remove duplicate test of overflow.
54211         * math/libm-test.inc (struct test_cc_c_data): New type.
54212         (RUN_TEST_LOOP_cc_c): New macro.
54213         (cpow_test_data): New variable.
54214         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
54216         * math/libm-test.inc (struct test_f_L_data): New type.
54217         (RUN_TEST_LOOP_f_L): New macro.
54218         (llrint_test_data): New variable.
54219         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
54220         (llrint_tonearest_test_data): New variable.
54221         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
54222         (llrint_towardzero_test_data): New variable.
54223         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
54224         (llrint_downward_test_data): New variable.
54225         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
54226         (llrint_upward_test_data): New variable.
54227         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
54228         (llround_test_data): New variable.
54229         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
54231 2013-05-13  Peter Collingbourne  <pcc@google.com>
54233         * math/atest-exp2.c (get_log2): Remove const attribute.
54235 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54237         * math/libm-test.inc (struct test_f_l_data): New type.
54238         (RUN_TEST_LOOP_f_l): New macro.
54239         (lrint_test_data): New variable.
54240         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
54241         (lrint_tonearest_test_data): New variable.
54242         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
54243         (lrint_towardzero_test_data): New variable.
54244         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
54245         (lrint_downward_test_data): New variable.
54246         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
54247         (lrint_upward_test_data): New variable.
54248         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
54249         (lround_test_data): New variable.
54250         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
54252 2013-05-15  Peter Collingbourne  <pcc@google.com>
54254         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
54255         (EXTRACT_WORDS64) Use where appropriate.
54256         (INSERT_WORDS64) Likewise.
54258         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
54259         constraints with x constraints.
54260         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
54262         * malloc/obstack.c (_obstack_compat): Add initializer.
54264 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
54266         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
54267         si_trapno and add si_addr_lsb to _sifields.sigfault.
54268         (si_trapno): Remove macro.
54269         (si_addr_lsb): Define new macro.
54270         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54272 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54274         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
54275         instead of TEST_f_l.
54276         (llrint_test_tonearest): Likewise.
54277         (llrint_test_towardzero): Likewise.
54278         (llrint_test_downward): Likewise.
54279         (llrint_test_upward): Likewise.
54280         (llround_test): Likewise.
54282         * math/libm-test.inc (struct test_f_i_data): Add comment.
54283         (RUN_TEST_LOOP_f_b): New macro.
54284         (RUN_TEST_LOOP_f_b_tg): Likewise.
54285         (finite_test_data): New variable.
54286         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
54287         (isfinite_test_data): New variable.
54288         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54289         (isinf_test_data): New variable.
54290         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54291         (isnan_test_data): New variable.
54292         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54293         (isnormal_test_data): New variable.
54294         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54295         (issignaling_test_data): New variable.
54296         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54297         (signbit_test_data): New variable.
54298         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54300         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
54301         with INVALID_EXCEPTION.
54302         (acosh_test_data): Likewise.
54303         (asin_test_data): Likewise.
54304         (atanh_test_data): Likewise.
54305         (fmod_test_data): Likewise.
54306         (log_test_data): Likewise.
54307         (log10_test_data): Likewise.
54308         (log2_test_data): Likewise.
54309         (pow_test_data): Likewise.
54310         (sqrt_test_data): Likewise.
54311         (y0_test_data): Likewise.
54312         (y1_test_data): Likewise.
54313         (yn_test_data): Likewise.
54315         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
54316         function contents.
54318         * math/libm-test.inc (struct test_ff_i_data): New type.
54319         (RUN_TEST_LOOP_ff_i_tg): New macro.
54320         (isgreater_test_data): New variable.
54321         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54322         (isgreaterequal_test_data): New variable.
54323         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54324         (isless_test_data): New variable.
54325         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54326         (islessequal_test_data): New variable.
54327         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54328         (islessgreater_test_data): New variable.
54329         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54330         (isunordered_test_data): New variable.
54331         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54333 2013-05-14  David S. Miller  <davem@davemloft.net>
54335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54337 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
54339         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
54341         * math/libm-test.inc (struct test_fF_f1_data): Change type of
54342         extra_test to int.
54343         (struct test_f_i_data): Change type of max_ulp to int.
54345         * math/libm-test.inc (test_ffI_f1_data): New type.
54346         (RUN_TEST_LOOP_ffI_f1): New macro.
54347         (remquo_test_data): New variable.
54348         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
54350         * setjmp/tst-setjmp-fp.c: New file.
54351         * setjmp/Makefile (tests): Add tst-setjmp-fp.
54352         (link-libm): New variable.
54353         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
54355         * math/libm-test.inc (struct test_f_i_data): New type.
54356         (RUN_TEST_LOOP_f_i): New macro.
54357         (RUN_TEST_LOOP_f_i_tg): Likewise.
54358         (fpclassify_test_data): New variable.
54359         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
54360         (ilogb_test_data): New variable.
54361         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
54363         * math/libm-test.inc (scalbln_test): Correct function name in END
54364         call.
54366         * math/libm-test.inc (struct test_f_f1_data): Add comment.
54367         (RUN_TEST_LOOP_fI_f1): New macro.
54368         (frexp_test_data): New variable.
54369         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
54371         * math/libm-test.inc (struct test_fF_f1_data): New type.
54372         (RUN_TEST_LOOP_fF_f1): New macro.
54373         (modf_test_data): New variable.
54374         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
54376         * math/libm-test.inc (struct test_f_f1_data): New type.
54377         (RUN_TEST_LOOP_f_f1): New macro.
54378         (gamma_test_data): New variable.
54379         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54380         (lgamma_test_data): New variable.
54381         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54383 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
54385         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
54386         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
54387         (main): Comment "tls" pseudo-hwcap.
54389 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
54391         * math/libm-test.inc (struct test_fl_f_data): New type.
54392         (RUN_TEST_LOOP_fl_f): New variable.
54393         (scalbln_test_data): New variable.
54394         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54396         * math/libm-test.inc (struct test_fi_f_data): New type.
54397         (RUN_TEST_LOOP_fi_f): New macro.
54398         (ldexp_test_data): New variable.
54399         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54400         (scalbn_test_data): New variable.
54401         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54403         * math/libm-test.inc (struct test_c_f_data): New type.
54404         (RUN_TEST_LOOP_c_f): New macro.
54405         (cabs_test_data): New variable.
54406         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54407         (carg_test_data): New variable.
54408         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54409         (cimag_test_data): New variable.
54410         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54411         (creal_test_data): New variable.
54412         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54414         * math/libm-test.inc (struct test_if_f_data): New type.
54415         (RUN_TEST_LOOP_if_f): New macro.
54416         (jn_test_data): New variable.
54417         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
54418         (yn_test_data): New variable.
54419         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
54421         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54423 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54425         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
54426         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
54428 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54430         * benchtests/Makefile (CPPFLAGS-nonlib): Add
54431         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
54432         (bench-deps): Add bench-timing.h.
54433         * benchtests-bench-skeleton.c: Include bench-timing.h.
54434         (main): Use TIMING_* macros instead of clock_gettime.
54435         * benchtests/bench-timing.h: New file.
54437         [BZ #14582]
54438         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
54439         Renamed from _LIB_VERSION.
54440         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
54442 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
54444         * math/libm-test.inc (struct test_fff_f_data): New type.
54445         (RUN_TEST_LOOP_fff_f): New macro.
54446         (fma_test_data): New variable.
54447         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
54448         (fma_towardzero_test_data): New variable.
54449         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
54450         (fma_downward_test_data): New variable.
54451         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
54452         (fma_upward_test_data): New variable.
54453         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
54455         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
54456         (struct test_c_c_data): New type.
54457         (RUN_TEST_LOOP_c_c): New macro.
54458         (cacos_test_data): New variable.
54459         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
54460         (cacosh_test_data): New variable.
54461         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
54462         (casin_test_data): New variable.
54463         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
54464         (casinh_test_data): New variable.
54465         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
54466         (catan_test_data): New variable.
54467         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
54468         (catanh_test_data): New variable.
54469         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
54470         (ccos_test_data): New variable.
54471         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
54472         (ccosh_test_data): New variable.
54473         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
54474         (cexp_test_data): New variable.
54475         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
54476         (clog_test_data): New variable.
54477         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
54478         (clog10_test_data): New variable.
54479         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
54480         (conj_test_data): New variable.
54481         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
54482         (cproj_test_data): New variable.
54483         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
54484         (csin_test_data): New variable.
54485         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
54486         (csinh_test_data): New variable.
54487         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54488         (csqrt_test_data): New variable.
54489         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
54490         (ctan_test_data): New variable.
54491         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
54492         (ctan_tonearest_test_data): New variable.
54493         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54494         (ctan_towardzero_test_data): New variable.
54495         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54496         (ctan_downward_test_data): New variable.
54497         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54498         (ctan_upward_test_data): New variable.
54499         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54500         (ctanh_test_data): New variable.
54501         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
54502         (ctanh_tonearest_test_data): New variable.
54503         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54504         (ctanh_towardzero_test_data): New variable.
54505         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54506         (ctanh_downward_test_data): New variable.
54507         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54508         (ctanh_upward_test_data): New variable.
54509         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54510         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
54511         of BUILD_COMPLEX.
54513         * math/libm-test.inc (struct test_ff_f_data): New type.
54514         (struct test_ff_f_data_nexttoward): Likewise.
54515         (RUN_TEST_LOOP_2_f): New macro.
54516         (RUN_TEST_LOOP_ff_f): Likewise.
54517         (atan2_test_data): New variable.
54518         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
54519         (copysign_test_data): New variable.
54520         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
54521         (fdim_test_data): New variable.
54522         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
54523         (fmax_test_data): New variable.
54524         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
54525         (fmin_test_data): New variable.
54526         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
54527         (fmod_test_data): New variable.
54528         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
54529         (hypot_test_data): New variable.
54530         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
54531         (nextafter_test_data): New variable.
54532         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
54533         (nexttoward_test_data): New variable.
54534         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
54535         (pow_test_data): New variable.
54536         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
54537         (pow_tonearest_test_data): New variable.
54538         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
54539         (pow_towardzero_test_data): New variable.
54540         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
54541         (pow_downward_test_data): New variable.
54542         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
54543         (pow_upward_test_data): New variable.
54544         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
54545         (remainder_test_data): New variable.
54546         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
54547         (scalb_test_data): New variable.
54548         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
54549         * sysdeps/i386/fpu/libm-test-ulps: Update.
54551 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
54553         * math/libm-test.inc (fma_test): Use max_value instead of local
54554         variable fltmax.
54555         (nextafter_test): Likewise.
54557         * math/libm-test.inc (acos_towardzero_test_data): New variable.
54558         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54559         (acos_downward_test_data): New variable.
54560         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54561         (acos_upward_test_data): New variable.
54562         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54563         (acosh_test_data): New variable.
54564         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
54565         (asin_test_data): New variable.
54566         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
54567         (asin_tonearest_test_data): New variable.
54568         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54569         (asin_towardzero_test_data): New variable.
54570         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54571         (asin_downward_test_data): New variable.
54572         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54573         (asin_upward_test_data): New variable.
54574         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54575         (asinh_test_data): New variable.
54576         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
54577         (atan_test_data): New variable.
54578         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
54579         (atanh_test_data): New variable.
54580         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
54581         (cbrt_test_data): New variable.
54582         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
54583         (ceil_test_data): New variable.
54584         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
54585         (cos_test_data): New variable.
54586         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
54587         (cos_tonearest_test_data): New variable.
54588         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54589         (cos_towardzero_test_data): New variable.
54590         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54591         (cos_downward_test_data): New variable.
54592         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54593         (cos_upward_test_data): New variable.
54594         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54595         (cosh_test_data): New variable.
54596         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
54597         (cosh_tonearest_test_data): New variable.
54598         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54599         (cosh_towardzero_test_data): New variable.
54600         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54601         (cosh_downward_test_data): New variable.
54602         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54603         (cosh_upward_test_data): New variable.
54604         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54605         (erf_test_data): New variable.
54606         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
54607         (erfc_test_data): New variable.
54608         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
54609         (exp_test_data): New variable.
54610         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
54611         (exp_tonearest_test_data): New variable.
54612         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54613         (exp_towardzero_test_data): New variable.
54614         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54615         (exp_downward_test_data): New variable.
54616         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54617         (exp_upward_test_data): New variable.
54618         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54619         (exp10_test_data): New variable.
54620         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
54621         (exp2_test_data): New variable.
54622         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
54623         (expm1_test_data): New variable.
54624         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
54625         (fabs_test_data): New variable.
54626         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
54627         (floor_test_data): New variable.
54628         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
54629         (j0_test_data): New variable.
54630         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
54631         (j1_test_data): New variable.
54632         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
54633         (log_test_data): New variable.
54634         (log_test): Run tests with RUN_TEST_LOOP_f_f.
54635         (log10_test_data): New variable.
54636         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
54637         (log1p_test_data): New variable.
54638         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
54639         (log2_test_data): New variable.
54640         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
54641         (logb_test_data): New variable.
54642         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
54643         (logb_downward_test_data): New variable.
54644         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54645         (nearbyint_test_data): New variable.
54646         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
54647         (rint_test_data): New variable.
54648         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
54649         (rint_tonearest_test_data): New variable.
54650         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54651         (rint_towardzero_test_data): New variable.
54652         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54653         (rint_downward_test_data): New variable.
54654         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54655         (rint_upward_test_data): New variable.
54656         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54657         (round_test_data): New variable.
54658         (round_test): Run tests with RUN_TEST_LOOP_f_f.
54659         (sin_test_data): New variable.
54660         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
54661         (sin_tonearest_test_data): New variable.
54662         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54663         (sin_towardzero_test_data): New variable.
54664         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54665         (sin_downward_test_data): New variable.
54666         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54667         (sin_upward_test_data): New variable.
54668         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54669         (sinh_test_data): New variable.
54670         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
54671         (sinh_tonearest_test_data): New variable.
54672         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54673         (sinh_towardzero_test_data): New variable.
54674         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54675         (sinh_downward_test_data): New variable.
54676         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54677         (sinh_upward_test_data): New variable.
54678         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54679         (sqrt_test_data): New variable.
54680         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
54681         (tan_test_data): New variable.
54682         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
54683         (tan_tonearest_test_data): New variable.
54684         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54685         (tan_towardzero_test_data): New variable.
54686         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54687         (tan_downward_test_data): New variable.
54688         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54689         (tan_upward_test_data): New variable.
54690         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54691         (tanh_test_data): New variable.
54692         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
54693         (tgamma_test_data): New variable.
54694         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
54695         (trunc_test_data): New variable.
54696         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
54697         (y0_test_data): New variable.
54698         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
54699         (y1_test_data): New variable.
54700         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
54701         (significand_test_data): New variable.
54702         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
54704 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
54706         [BZ #12387]
54707         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
54709 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54711         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
54713 2013-05-10  Andreas Jaeger  <aj@suse.de>
54715         [BZ #15448]
54716         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
54717         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
54719 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54721         * math/gen-libm-test.pl (adjust_arg): New function.
54722         (special_functions): Handle generating output in both functions
54723         and arrays.
54724         (parse_args): Likewise.
54725         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
54726         $in_func argument to parse_args.
54727         * math/libm-test.inc (struct test_f_f_data): New type.
54728         (IF_ROUND_INIT_): New macro.
54729         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
54730         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54731         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54732         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54733         (ROUND_RESTORE_): Likewise.
54734         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
54735         (ROUND_RESTORE_FE_TONEAREST): Likewise.
54736         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
54737         (ROUND_RESTORE_FE_UPWARD): Likewise.
54738         (RUN_TEST_LOOP_f_f): New macro.
54739         (acos_test_data): New variable.
54740         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
54741         (acos_tonearest_test_data): New variable.
54742         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54744 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54746         * benchtests/bench-skeleton.c (startup): Fix coding style.
54748 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54750         [BZ #6809]
54751         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
54752         negative infinity argument.
54753         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
54754         negative infinity argument.
54755         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
54756         negative infinity argument.
54757         * math/libm-test.inc (tgamma_test): Expect errno to be set for
54758         domain errors.
54760 2013-05-10  Florian Weimer  <fweimer@redhat.com>
54762         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
54763         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
54764         * iconv/iconv_prog.c (main): Likewise.
54765         * locale/programs/charmap-dir.c (charmap_readdir)
54766         (fopen_uncompressed): Likewise.
54767         * locale/programs/locfile.c (siblings_uncached)
54768         (write_locale_data): Use lstat64 instead of lstat.
54769         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54770         stat.
54772 2013-05-10  Andreas Jaeger  <aj@suse.de>
54774         [BZ #15395]
54775         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54776         localization.
54777         Include <locale.h>.
54779 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
54781         * elf/dl-close.c (_dl_close_worker): Add comments.
54783 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
54785         [BZ #15359]
54786         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54787         high part of pi/2.
54788         (__ieee754_rem_pio2l): Update comments.
54790         [BZ #15429]
54791         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54792         high part of pi/2.
54793         (__ieee754_rem_pio2l): Update comments.
54795         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54796         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54798         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54799         M_PI_4l.
54801         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54802         (M_PI_34_LOG10El): Likewise.
54803         (M_PI2_LOG10El): Likewise.
54804         (M_PI4_LOG10El): Likewise.
54805         (M_PI_LOG10El): Likewise.
54807 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54811 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
54813         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54814         (MINUS_ZERO_INIT): Likewise.
54815         (PLUS_INFTY_INIT): Likewise.
54816         (MINUS_INFTY_INIT): Likewise.
54817         (QNAN_VALUE_INIT): Likewise.
54818         (MAX_VALUE_INIT): Likewise.
54819         (MIN_VALUE_INIT): Likewise.
54820         (MIN_SUBNORM_VALUE_INIT): Likewise.
54821         (plus_zero): Initialize with PLUS_ZERO_INIT.
54822         (minus_zero): Initialize with MINUS_ZERO_INIT.
54823         (plus_infty): Initialize with PLUS_INFTY_INIT.
54824         (minus_infty): Initialize with MINUS_INFTY_INIT.
54825         (qnan_value): Initialize with QNAN_VALUE_INIT.
54826         (max_value): Initialize with MAX_VALUE_INIT.
54827         (min_value): Initialize with MIN_VALUE_INIT.
54828         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54830         * math/libm-test.inc (RUN_TEST_if_f): New macro.
54831         (jn_test): Use TEST_if_f instead of TEST_ff_f.
54832         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54833         (yn_test): Use TEST_if_f instead of TEST_ff_f.
54835         * math/libm-test.inc (RUN_TEST_f_f): New macro.
54836         (RUN_TEST_2_f): Likewise.
54837         (RUN_TEST_ff_f): Likewise.
54838         (RUN_TEST_fi_f): Likewise.
54839         (RUN_TEST_fl_f): Likewise.
54840         (RUN_TEST_fff_f): Likewise.
54841         (RUN_TEST_c_f): Likewise.
54842         (RUN_TEST_f_f1): Likewise.
54843         (RUN_TEST_fF_f1): Likewise.
54844         (RUN_TEST_fI_f1): Likewise.
54845         (RUN_TEST_ffI_f1): Likewise.
54846         (RUN_TEST_c_c): Likewise.
54847         (RUN_TEST_cc_c): Likewise.
54848         (RUN_TEST_f_i): Likewise.
54849         (RUN_TEST_f_i_tg): Likewise.
54850         (RUN_TEST_ff_i_tg): Likewise.
54851         (RUN_TEST_f_b): Likewise.
54852         (RUN_TEST_f_b_tg): Likewise.
54853         (RUN_TEST_f_l): Likewise.
54854         (RUN_TEST_f_L): Likewise.
54855         (RUN_TEST_sincos): Likewise.
54856         * math/gen-libm-test.pl (new_test): Take new argument to indicate
54857         whether to show exceptions.  Do not include ");\n" in return
54858         value.
54859         (special_functions): Output call to RUN_TEST_sincos instead of
54860         check_float calls.  Update calls to new_test.
54861         (parse_args): Output call to single RUN_TEST_* macro instead of
54862         check_* calls and other assignments.  Update calls to new_test.
54864         [BZ #2546]
54865         [BZ #2560]
54866         [BZ #5159]
54867         [BZ #15426]
54868         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54869         input to result for tgamma overflow.
54870         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54871         (gamma_coeff): New variable.
54872         (NCOEFF): New macro.
54873         (gamma_positive): New function.
54874         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54875         underflow here.  Use gamma_positive instead of exp (lgamma) for
54876         other arguments.
54877         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54878         (gamma_coeff): New variable.
54879         (NCOEFF): New macro.
54880         (gammaf_positive): New function.
54881         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54882         underflow here.  Use gamma_positive instead of exp (lgamma) for
54883         other arguments.
54884         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54885         (gamma_coeff): New variable.
54886         (NCOEFF): New macro.
54887         (gammal_positive): New function.
54888         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
54889         underflow here.  Use gamma_positive instead of exp (lgamma) for
54890         other arguments.
54891         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
54892         (gamma_coeff): New variable.
54893         (NCOEFF): New macro.
54894         (gammal_positive): New function.
54895         (__ieee754_gammal_r): Handle positive infinity, overflow and
54896         underflow here.  Handle NaN the same as positive infinity.  Remove
54897         check x < 0xffffffff for negative integers.  Use gamma_positive
54898         instead of exp (lgamma) for other arguments.
54899         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
54900         (gamma_coeff): New variable.
54901         (NCOEFF): New macro.
54902         (gammal_positive): New function.
54903         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
54904         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
54905         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
54906         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
54907         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
54908         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
54909         * sysdeps/generic/math_private.h (__gamma_productf): New
54910         prototype.
54911         (__gamma_product): Likewise.
54912         (__gamma_productl): Likewise.
54913         * math/Makefile (libm-calls): Add gamma_product.
54914         * math/libm-test.inc (tgamma_test): Add more tests.
54915         * sysdeps/i386/fpu/libm-test-ulps: Update.
54916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54918 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
54920         * benchtests/bench-skeleton.c (main): Preheat CPU.
54922 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
54924         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
54926 2013-05-07  Roland McGrath  <roland@hack.frob.com>
54928         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
54929         and _dl_skip_args_internal.
54931 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
54933         * manual/message.texi (Message Translation): Talk about users.
54934         Message to key mapping impacts design.
54936 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54938         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
54940         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
54942         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
54943         * sysdeps/wordsize-64/glob64.c: ... here.
54945         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
54946         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
54947         New macros.
54949         * debug/getlogin_r_chk.c: Moved to ...
54950         * login/getlogin_r_chk.c: ... here.
54951         * debug/Makefile (routines): Move getlogin_r_chk to ...
54952         * login/Makefile (routines): ... here.
54953         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
54954         * login/Versions (libc: GLIBC_2.4): ... here.
54956         * io/poll.c (__poll): Renamed from poll.
54957         Add libc_hidden_def.
54958         (poll): Define as weak alias.
54960         * debug/ptsname_r_chk.c: Moved to ...
54961         * login/ptsname_r_chk.c: ... here.
54962         * debug/Makefile (routines): Move ptsname_r_chk to ...
54963         * login/Makefile (routines): ... here.
54964         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
54965         * login/Versions (libc: GLIBC_2.4): ... here.
54967         * posix/getlogin.c: Moved to ...
54968         * login/getlogin.c: ... here.
54969         * posix/getlogin_r.c: Moved to ...
54970         * login/getlogin_r.c: ... here.
54971         * posix/getlogin_r.c: Moved to ...
54972         * login/getlogin_r.c: ... here.
54973         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
54974         * login/Makefile (routines): ... here.
54975         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
54976         * login/Versions (libc: GLIBC_2.0): ... here.
54978         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
54979         (setrlimit): Define as weak alias.
54981         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
54982         Call __ names for open, ftruncate, and close.
54983         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
54984         (truncate): Define as weak alias.
54986 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
54988         * math/gen-libm-test.pl (parse_args): Initialize x before each
54989         test of frexp, modf and remquo.
54991         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
54992         test signgam value.
54994 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54996         [BZ #15418]
54997         [BZ #15419]
54998         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
54999         internal tests.
55000         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55002 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55004         * elf/dl-writev.h: New file.
55005         * elf/dl-misc.c: Include it.
55006         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
55007         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
55009 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
55011         * math/libm-test.inc (noXFails): Remove variable.
55012         (noXPasses): Likewise.
55013         (BUILD_COMPLEX_INT): Remove macro.
55014         (print_screen): Remove xfail argument.
55015         (print_screen_max_error): Likewise.
55016         (update_stats): Likewise.
55017         (print_max_error): Likewise.  Update calls to other affected
55018         functions.
55019         (print_complex_max_error): Likewise.
55020         (test_single_exception): Update calls to print_screen.
55021         (test_single_errno): Likewise.
55022         (check_float_internal): Remove xfail argument.  Update calls to
55023         other affected functions.
55024         (check_float): Likewise.
55025         (check_complex): Likewise.
55026         (check_int): Likewise.
55027         (check_long): Likewise.
55028         (check_bool): Likewise.
55029         (check_longlong): Likewise.
55030         (main): Don't print noXFails and noXPasses.
55031         * math/gen-libm-test.pl (top level): Don't mention expected
55032         failure handling in comment.
55033         (new_test): Don't handle expected failures.
55034         (parse_args): Don't mention expected failure handling in comment.
55035         (generate_testfile): Don't handle expected failures.
55036         (parse_ulps): Likewise.
55037         (print_ulps_file): Likewise.
55038         (get_failure): Remove function.
55039         (output_test): Don't handle expected failures.
55040         * make/README.libm-test: Don't mention expected failure handling.
55042         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
55043         (minus_zero): Likewise.
55044         (plus_infty): Likewise.
55045         (minus_infty): Likewise.
55046         (qnan_value): Likewise.
55047         (max_value): Likewise.
55048         (min_value): Likewise.
55049         (min_subnorm_value): Likewise.
55050         (initialize): Do not initialize those variables dynamically.
55052 2013-05-03  Roland McGrath  <roland@hack.frob.com>
55054         * io/open.c (__open_2): Moved to ...
55055         * io/open_2.c: ... this new file.
55056         * io/open64.c (__open64_2): Moved to ...
55057         * io/open64_2.c: ... this new file.
55058         * io/openat.c (__openat_2): Moved to ...
55059         * io/openat_2.c: ... this new file.
55060         * io/openat64.c (__openat64_2): Moved to ...
55061         * io/openat64_2.c: ... this new file.
55062         * io/Makefile (routines): Add them.
55063         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
55064         * sysdeps/unix/sysv/linux/open_2.c: File removed.
55065         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
55066         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
55067         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
55068         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
55069         (__openat64): Add hidden_ver.
55070         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
55071         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
55073         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
55074         Separately conditionalize setting of GLRO(dl_sysinfo) so
55075         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
55076         as well, but the actual setting is only under [NEED_DL_SYSINFO].
55078 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55080         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
55081         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
55082         definition.
55083         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
55084         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55085         (_libc_vdso_platform_setup): Add __vdso_time initialization.
55086         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
55087         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
55089 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
55091         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
55092         test signgam value.
55094         * math/libm-test.inc (hypot_test): Do not use
55095         IGNORE_ZERO_INF_SIGN.
55097 2013-05-03  Andreas Jaeger  <aj@suse.de>
55099         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
55100         Linux 3.9.
55101         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
55102         (PF_MAX): Adjust for VSOCK change.
55104 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55108 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
55110         [BZ #15264]
55111         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
55112         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
55113         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
55115 2013-05-02  David S. Miller  <davem@davemloft.net>
55117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55119 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
55121         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
55123 2013-05-01  Roland McGrath  <roland@hack.frob.com>
55125         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
55127 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
55129         [BZ #14952]
55130         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
55131         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55132         Use __attribute__ ((__gnu_inline__)).
55133         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55134         Don't use __attribute__ ((__gnu_inline__)).
55136 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
55138         [BZ #15423]
55139         * math/s_catan.c (__catan): Handle small real or imaginary part of
55140         input specially to avoid spurious underflow.
55141         * math/s_catanf.c (__catanf): Likewise.
55142         * math/s_catanh.c (__catanh): Likewise.
55143         * math/s_catanhf.c (__catanhf): Likewise.
55144         * math/s_catanhl.c (__catanhl): Likewise.
55145         * math/s_catanl.c (__catanl): Likewise.
55146         * math/libm-test.inc (catan_test): Add more tests.
55147         (catanh_test): Likewise.
55148         * sysdeps/i386/fpu/libm-test-ulps: Update.
55149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55151 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55155 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
55157         [BZ #15416]
55158         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
55159         accurately for denominator in atan2.
55160         * math/s_catanf.c (__catanf): Likewise.
55161         * math/s_catanh.c (__catanh): Likewise.
55162         * math/s_catanhf.c (__catanhf): Likewise.
55163         * math/s_catanhl.c (__catanhl): Likewise.
55164         * math/s_catanl.c (__catanl): Likewise.
55165         * math/libm-test.inc (catan_test): Add more tests.
55166         (catanh_test): Likewise.
55167         * sysdeps/i386/fpu/libm-test-ulps: Update.
55168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55170 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55172         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
55174         * benchtests/Makefile (bench): Remove slow benchmarks.
55175         * benchtests/atan-inputs: Add slow benchmark inputs.
55176         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
55177         (BENCH_FUNC): Accept variant offset.
55178         (VARIANT): Define.
55179         * benchtests/bench-skeleton.c (main): Run benchmark for each
55180         variant.
55181         * benchtests/cos-inputs: Add slow benchmark inputs.
55182         * benchtests/exp-inputs: Likewise.
55183         * benchtests/pow-inputs: Likewise.
55184         * benchtests/sin-inputs: Likewise.
55185         * benchtests/slowatan-inputs: Remove.
55186         * benchtests/slowatan.c: Remove.
55187         * benchtests/slowcos-inputs: Remove.
55188         * benchtests/slowcos.c: Remove.
55189         * benchtests/slowexp-inputs: Remove.
55190         * benchtests/slowexp.c: Remove.
55191         * benchtests/slowpow-inputs: Remove.
55192         * benchtests/slowpow.c: Remove.
55193         * benchtests/slowsin-inputs: Remove.
55194         * benchtests/slowsin.c: Remove.
55195         * benchtests/slowtan-inputs: Remove.
55196         * benchtests/slowtan.c: Remove.
55197         * benchtests/tan-inputs: Add slow benchmark inputs.
55198         * scripts/bench.pl: Parse comments and directives.
55200         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
55201         in CPPFLAGS.
55202         ($(objpfx)bench-%.c): Remove *-ITER.
55203         * benchtests/bench-modf.c: Remove definition of ITER.
55204         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
55205         (main): Loop for DURATION seconds instead of fixed number of
55206         iterations.
55207         * scripts/bench.pl: Don't expect iterations in parameters.
55209 2013-04-29  Roland McGrath  <roland@hack.frob.com>
55211         * io/fchdir.c (__fchdir): Renamed from fchdir.
55212         (fchdir): Define as weak alias.
55214 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55216         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
55217         (ERRNO_EDOM): Likewise.
55218         (ERRNO_ERANGE): Likewise.
55219         (noErrnoTests): New variable.
55220         (init_max_error): Set errno to 0.
55221         (test_single_errno): New function.
55222         (test_errno): Likewise.
55223         (check_float_internal): Call test_errno.  Set errno to 0.
55224         (check_complex): Refer to errno tests in comment.
55225         (check_int): Call test_errno.  Set errno to 0.
55226         (check_long): Likewise.
55227         (check_bool): Likewise.
55228         (check_longlong): Likewise.
55229         (cos_test): Use ERRNO_* flags for errno tests instead of
55230         check_int.
55231         (expm1_test): Likewise.
55232         (fmod_test): Likewise.
55233         (ilogb_test): Likewise.
55234         (lgamma_test): Likewise.
55235         (pow_test): Likewise.
55236         (remainder_test): Likewise.
55237         (sin_test): Likewise.
55238         (tan_test): Likewise.
55239         (yn_test): Likewise.
55240         (initialize): Set errno to 0.
55241         (main): Print number of errno tests.
55242         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
55244 2013-04-29  Andreas Jaeger  <aj@suse.de>
55246         [BZ #15084]
55247         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
55248         and RES_USEVC.
55250         [BZ #15085]
55251         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55252         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
55253         unimplemented.
55255         [BZ #15380]
55256         * stdlib/random.c (__initstate): Return NULL if
55257         __initstate fails.
55259         [BZ #15086]
55260         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
55261         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
55262         RES_SNGLKUPREOP.
55264 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55268 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55270         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
55271         of individual tests.
55272         (casin_test): Likewise.
55273         (casinh_test): Likewise.
55275 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
55277         [BZ #15409]
55278         * math/s_catan.c (__catan): Handle arguments with large real or
55279         imaginary part separately without squaring.
55280         * math/s_catanf.c (__catanf): Likewise.
55281         * math/s_catanh.c (__catanh): Likewise.
55282         * math/s_catanhf.c (__catanhf): Likewise.
55283         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55284         and redefine.
55285         (__catanhl): Handle arguments with large real or imaginary part
55286         separately without squaring.
55287         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55288         and redefine.
55289         (__catanl): Handle arguments with large real or imaginary part
55290         separately without squaring.
55291         * math/libm-test.inc (catan_test): Add more tests.
55292         (catanh_test): Likewise.
55293         * sysdeps/i386/fpu/libm-test-ulps: Update.
55294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55296 2013-04-27  Andreas Jaeger  <aj@suse.de>
55298         [BZ #15007]
55299         * stdlib/stdlib.h: Update guards for qecvt.
55300         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
55301         <stdlib.h>.
55303 2013-04-27  Allan McRae  <allan@archlinux.org>
55305         * sysdeps/i386/fpu/libm-test-ulps: Update.
55307 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
55309         [BZ #15406]
55310         * math/s_catan.c: Include <float.h>.
55311         (__catan): Ensure underflow exception occurs for underflowed
55312         result.
55313         * math/s_catanf.c: Include <float.h>.
55314         (__catanf): Ensure underflow exception occurs for underflowed
55315         result.
55316         * math/s_catanh.c: Include <float.h>.
55317         (__catanh): Ensure underflow exception occurs for underflowed
55318         result.
55319         * math/s_catanhf.c: Include <float.h>.
55320         (__catanhf): Ensure underflow exception occurs for underflowed
55321         result.
55322         * math/s_catanhl.c: Include <float.h>.
55323         (__catanhl): Ensure underflow exception occurs for underflowed
55324         result.
55325         * math/s_catanl.c: Include <float.h>.
55326         (__catanl): Ensure underflow exception occurs for underflowed
55327         result.
55328         * math/libm-test.inc (catan_test): Add more tests.
55329         (catanh_test): Likewise.
55331         [BZ #15405]
55332         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
55333         underflowed result.
55334         * math/s_ccoshf.c (__ccoshf): Likewise.
55335         * math/s_ccoshl.c (__ccoshl): Likewise.
55336         * math/s_csin.c (__csin): Likewise.
55337         * math/s_csinf.c (__csinf): Likewise.
55338         * math/s_csinh.c (__csinh): Likewise.
55339         * math/s_csinhf.c (__csinhf): Likewise.
55340         * math/s_csinhl.c (__csinhl): Likewise.
55341         * math/s_csinl.c (__csinl): Likewise.
55342         * math/libm-test.inc (ccos_test): Add more tests.
55343         (ccosh_test): Likewise.
55344         (csin_test): Likewise.
55345         (csinh_test): Likewise.
55347 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55349         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
55350         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
55351         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
55352         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55353         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
55354         powerpc/power5+/fpu folders.
55355         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
55358 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55360         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55362 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
55364         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
55365         additions to variable.
55366         [$(config-machine) = x86_64] (modules-names): Likewise.
55367         ($(objpfx)tst-audit3): Remove dependency.
55368         ($(objpfx)tst-audit3.out): Likewise.
55369         ($(objpfx)tst-audit4): Likewise.
55370         ($(objpfx)tst-audit4.out): Likewise.
55371         ($(objpfx)tst-audit5): Likewise.
55372         ($(objpfx)tst-audit5.out): Likewise.
55373         ($(objpfx)tst-audit6): Likewise.
55374         ($(objpfx)tst-audit6.out): Likewise.
55375         ($(objpfx)tst-audit7): Likewise.
55376         ($(objpfx)tst-audit7.out): Likewise.
55377         (tst-audit3-ENV): Remove variable.
55378         (tst-audit4-ENV): Likewise.
55379         (tst-audit5-ENV): Likewise.
55380         (tst-audit6-ENV): Likewise.
55381         (tst-audit7-ENV): Likewise.
55382         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55383         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
55384         addition to variable.
55385         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
55386         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
55387         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
55388         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
55389         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
55390         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
55391         tst-audit3, tst-audit4 and tst-audit5.
55392         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
55393         tst-audit6 and tst-audit7.
55394         [$(subdir) = elf] (modules-names): Add audit modules for those
55395         tests.
55396         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55397         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55398         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55399         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55400         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55401         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55402         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55403         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55404         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55405         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55406         [$(subdir) = elf] (tst-audit3-ENV): New variable.
55407         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55408         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55409         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55410         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55411         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55412         Likewise.
55413         [$(subdir) = elf && $(config-cflags-avx) = yes]
55414         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55415         [$(subdir) = elf && $(config-cflags-avx) = yes]
55416         (CFLAGS-tst-auditmod4a.c): Likewise.
55417         [$(subdir) = elf && $(config-cflags-avx) = yes]
55418         (CFLAGS-tst-auditmod4b.c): Likewise.
55419         [$(subdir) = elf && $(config-cflags-avx) = yes]
55420         (CFLAGS-tst-auditmod6b.c): Likewise.
55421         [$(subdir) = elf && $(config-cflags-avx) = yes]
55422         (CFLAGS-tst-auditmod6c.c): Likewise.
55423         [$(subdir) = elf && $(config-cflags-avx) = yes]
55424         (CFLAGS-tst-auditmod7b.c): Likewise.
55425         * elf/tst-audit3.c: Move to ...
55426         * sysdeps/x86_64/tst-audit3.c: ... here.
55427         * elf/tst-audit4.c: Move to ...
55428         * sysdeps/x86_64/tst-audit4.c: ... here.
55429         * elf/tst-audit5.c: Move to ...
55430         * sysdeps/x86_64/tst-audit5.c: ... here.
55431         * elf/tst-audit6.c: Move to ...
55432         * sysdeps/x86_64/tst-audit6.c: ... here.
55433         * elf/tst-audit7.c: Move to ...
55434         * sysdeps/x86_64/tst-audit7.c: ... here.
55435         * elf/tst-auditmod3a.c: Move to ...
55436         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
55437         * elf/tst-auditmod3b.c: Move to ...
55438         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
55439         * elf/tst-auditmod4a.c: Move to ...
55440         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
55441         * elf/tst-auditmod4b.c: Move to ...
55442         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
55443         * elf/tst-auditmod5a.c: Move to ...
55444         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
55445         * elf/tst-auditmod5b.c: Move to ...
55446         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
55447         * elf/tst-auditmod6a.c: Move to ...
55448         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
55449         * elf/tst-auditmod6b.c: Move to ...
55450         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
55451         * elf/tst-auditmod6c.c: Move to ...
55452         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
55453         * elf/tst-auditmod7a.c: Move to ...
55454         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
55455         * elf/tst-auditmod7b.c: Move to ...
55456         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
55458 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
55460         [BZ #15366]
55461         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
55462         define unconditionally.
55463         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
55464         define unconditionally.
55465         (INT8_C, INT16_C, etc.): Likewise.
55467 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
55469         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
55470         __ehdr_start with hidden visibility.
55472         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
55474 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
55476         * math/libm-test.inc (cos_test): Use accurate hex constants.
55477         (sincost_test): Likewise.
55479 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
55481         * math/libm-test.inc (catan_test): Add more tests.
55482         (catanh_test): Likewise.
55484         * math/s_catanf.c (__catanf): Use suffixed floating-point
55485         constants.
55486         * math/s_catanhf.c (__catanhf): Likewise.
55487         * math/s_catanhl.c (__catanhl): Likewise.
55488         * math/s_catanl.c (__catanl): Likewise.
55490         [BZ #15394]
55491         * math/s_catan.c (__catan): Calculate imaginary part of result
55492         with log1p not log unless computing log of number close to 0.
55493         * math/s_catanf.c (__catanf): Likewise.
55494         * math/s_catanl.c (__catanl): Likewise.
55495         * math/s_catanh.c (__catanh): Calculate real part of result with
55496         log1p not log unless computing log of number close to 0.
55497         * math/s_catanhf.c (__catanhf): Likewise.
55498         * math/s_catanhl.c (__catanhl): Likewise.
55499         * math/libm-test.inc (catan_test): Add more tests.
55500         (catanh_test): Likewise.
55501         * sysdeps/i386/fpu/libm-test-ulps: Update.
55502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55504 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55506         * benchtests/Makefile: Mention files in which fast and slow
55507         paths of math functions are implemented.
55509 2013-04-23  Roland McGrath  <roland@hack.frob.com>
55511         * sysdeps/posix/timespec_get.c: New file.
55513 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55515         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
55516         POWER.
55517         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
55518         for POWER.
55519         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
55520         powerpc/power5/fpu folders.
55521         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
55522         * benchtests/Makefile: Add modf testcase.
55523         * benchtests/bench-modf.c: New file: Benchmark test for mo
55525 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55527         [BZ #14888]
55528         * time/Makefile (tests): Add tst-strptime-whitespace.
55529         * time/strptime_l.c (get_number): Use ISSPACE.
55530         (__strptime_internal): Likewise.
55531         * time/tst-strptime-whitespace.c: New test case.
55533 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
55535         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
55536         member.
55537         (_nss_files_init): Set it here.
55539 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
55541         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
55542         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
55543         unsigned.
55545 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
55547         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
55549 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55551         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
55552         size just once.
55554 2013-04-21  David S. Miller  <davem@davemloft.net>
55556         * po/ru.po: Update Russion translation from translation project.
55558 2013-04-17  Adam Conrad  <adconrad@0c3.net>
55560         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
55561         and setfsgid.
55563 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
55565         * configure.in: Remove i386 configure warning. Remove i386 case.
55566         * configure: Regenerate.
55567         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
55568         Add example to error message.
55569         * sysdeps/i386/configure: Regenerate.
55571 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55573         * benchtests/Makefile (bench): Add cos, tan, slowcos and
55574         slowtan.
55575         * benchtests/cos-inputs: New file.
55576         * benchtests/slowcos-inputs: New file.
55577         * benchtests/slowcos.c: New file.
55578         * benchtests/slowtan-inputs: New file.
55579         * benchtests/slowtan.c: New file.
55580         * benchtests/tan-inputs: New file.
55582 2013-04-16  Roland McGrath  <roland@hack.frob.com>
55584         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
55585         considered kosher.
55587 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55589         * benchtests/Makefile: Include cppflags-iterator.mk to add
55590         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
55592         * Makefile.in (bench-clean): New target.
55593         * benchtests/Makefile (bench-clean): Likewise.
55595 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
55597         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
55599 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
55601         * stdio-common/tstdiomisc.c: Fix coding-style violation.
55603 2013-04-15  Andreas Schwab  <schwab@suse.de>
55605         * nscd/grpcache.c (cache_addgr): Properly check for short write.
55606         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55607         * nscd/pwdcache.c (cache_addpw): Likewise.
55608         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
55609         more than recsize.
55611 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55613         * benchtests/Makefile (bench): Write all output to
55614         bench-out.tmp together.
55616 2013-04-15  Andreas Schwab  <schwab@suse.de>
55618         * nscd/nscd.c (main): Don't fork again after closing files.
55620 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55622         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
55624         * benchtests/Rules (bench-deps): Collect dependencies into a
55625         single variable.  Add Makefile to dependencies.
55626         ($(objpfx)bench-%.c): Depend on bench-deps.
55628 2013-04-12  Roland McGrath  <roland@hack.frob.com>
55629             Xavier Roche  <roche+kml2@exalead.com>
55631         [BZ #15361]
55632         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
55633         just that it's a file descriptor.
55634         * manual/llio.texi (Synchronizing AIO Operations): Update description
55635         for EBADF error from aio_fsync.
55637 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55639         * Rules (bench): Move target definition...
55640         * benchtests/Makefile: ... here.
55642 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
55644         * math/libm-test.inc (cos_test): Fix PI/2 test.
55645         (sincos_test): Likewise.
55646         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55647         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
55649 2013-04-11  Andreas Schwab  <schwab@suse.de>
55651         [BZ #13988]
55652         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
55653         accept exponent character only when digits were seen.
55654         * stdio-common/Makefile (tests): Add bug26.
55655         * stdio-common/bug26.c: New file.
55657         [BZ #14293]
55658         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
55659         non-freeable.
55661 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55663         * Makeconfig (rtld-prefix): Define built linker prefix.
55664         * Rules (run-bench): Use it.
55665         * math/Makefile (run-regen-ulps): Likewise.
55667         * Rules (bench): Remove eval.
55669 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55670             Roland McGrath  <roland@hack.frob.com>
55671             Ondrej Bilka  <neleai@seznam.cz>
55673         [BZ #15346]
55674         * time/getdate.c: Include ctype.h and alloca.h.
55675         (__getdate_r): Trim leading and trailing spaces of input.
55676         * time/tst-getdate.c (tests): Add tests with leading and
55677         trailing spaces.
55679 2013-04-08  Roland McGrath  <roland@hack.frob.com>
55681         [BZ #14280]
55682         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
55683         when computing value.
55685 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55687         * math/README.libm-test (How can I generate "libm-test-ulps"?):
55688         Use testrun.sh to run libm tests.
55690         [BZ #15309]
55691         * elf/dl-open.c (dl_open_worker): memset all of seen array.
55693 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
55695         [BZ #15264]
55696         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
55698 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55700         * Makefile.in (regen-ulps): New target.
55701         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
55702         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
55703         [ifneq (no,$(PERL)] (regen-ulps): New target.
55704         [ifeq (no,$(PERL)] (regen-ulps): New target.
55705         * math/libm-test.inc (ulps_file_name): Define.
55706         (output_dir): New variable.
55707         (options): Add "output-dir" option.
55708         (parse_opt): Handle 'o' case.
55709         (main): If output_dir is non-NULL use it as a prefix
55710         otherwise use "".
55711         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
55713 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55715         [BZ #10060, #10062]
55716         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
55717         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
55718         fail configure if __sync_val_compare_and_swap is not inlined.
55719         * sysdeps/i386/configure: Regenerate.
55720         * configure.in: Build for i686 when configured for i386.
55721         * configure: Regenerate.
55722         * README: Remove i386 reference.
55724 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55726         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
55727         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55729 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55731         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
55732         (lmsnanval): New variables.
55733         (F): Add conversion tests.
55734         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
55735         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
55737         * stdio-common/tstdiomisc.c (F): Properly collect individual
55738         tests' results.
55740         [BZ #14686, #15336]
55741         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
55742         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
55743         Instead, use input NaN values or generate a qNaN by arithmetic
55744         operation.  Also fix bugs to comply with the standard.
55745         * math/libm-test.inc (remainder_test): Add more tests.
55747         [BZ #15335, #15342]
55748         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
55749         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
55750         input NaN values or generate a qNaN by arithmetic operation.
55752         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
55753         unreachable code.
55755         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
55756         definitions.
55758 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
55760         [BZ #14478]
55761         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
55762         underflowed result.
55763         * math/s_cexpf.c (__cexpf): Likewise.
55764         * math/s_cexpl.c (__cexpl): Likewise.
55765         * math/libm-test.inc (cexp_test): Add more tests.
55767 2013-04-03  Andreas Schwab  <schwab@suse.de>
55769         [BZ #15330]
55770         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55771         order arrays from heap if bigger than alloca cutoff.
55773 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
55775         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55776         (SNAN_TESTS_double): Refer to GCC PR56831.
55777         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55778         GCC PR56828.
55780 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55782         * Rules (bench): Move bench.out after the run is complete.
55784         * Rules (bench): Echo currently running benchmark.
55786         * benchtests/Makefile (bench): Add atan and slowatan.
55787         * benchtests/atan-inputs: New file.
55788         * benchtests/slowatan-inputs: New file.
55789         * benchtests/slowatan.c: New file.
55791         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55792         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55793         its value.
55795         [BZ #15305]
55796         * sysdeps/unix/sysv/linux/kernel-features.h
55797         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55798         __ASSUME_XFS_RESTRICTED_CHOWN.
55799         * sysdeps/unix/sysv/linux/pathconf.c
55800         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55801         Save and restore errno.
55803 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
55805         [BZ #15327]
55806         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55807         arguments using __kernel_casinh.
55808         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55809         arguments using __kernel_casinhf.
55810         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55811         arguments using __kernel_casinhl.
55812         * math/libm-test.inc (cacosh_test): Add more tests.
55813         * sysdeps/i386/fpu/libm-test-ulps: Update.
55814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55816 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55818         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55819         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55821         * bench/Makefile (bench): Add sin and slowsin.
55822         * benchtests/sin-inputs: New file.
55823         * benchtests/slowsin-inputs: New file.
55824         * benchtests/slowsin.c: New file.
55826         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55827         (bench): Add slowexp and slowpow.
55828         (exp-ITER): Increase iterations.
55829         (pow-ITER): Likewise.
55830         * benchtests/exp-inputs: Change input.
55831         * benchtests/pow-inputs: Likewise.
55832         * benchtests/slowexp-inputs: New file.
55833         * benchtests/slowexp.c: New file.
55834         * benchtests/slowpow-inputs: New file.
55835         * benchtests/slowpow.c: New file.
55837 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55839         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
55840         instructions.
55841         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55842         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55843         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55844         * benchtests/Makefile: Add rint benchtest.
55845         * benchtests/rint-inputs: Input for rint benchtest.
55847 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55849         * Versions.def (libm): Add GLIBC_2.18.
55850         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
55851         hidden libm prototypes.
55852         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
55853         * math/Makefile (libm-calls): Add s_issignaling.
55854         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
55855         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
55856         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
55857         declaration.
55858         * math/math.h [__USE_GNU] (issignaling): New macro.
55859         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
55860         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
55861         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
55862         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
55863         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
55864         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55865         * manual/arith.texi (issignaling): New section.
55866         * manual/libm-err-tab.pl (@all_functions): Update comment.
55867         * math/gen-libm-test.pl (parse_args): Apply special handling for
55868         issignaling.
55869         * math/libm-test.inc (print_float, issignaling_test): New
55870         functions.
55871         (check_float_internal): Add issignaling checks.
55872         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55873         default definition.
55874         * sysdeps/powerpc/math-tests.h: New file.
55875         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55876         tests.
55877         * math/test-snan.c (TEST_FUNC): Likewise.
55879 2013-03-30  David S. Miller  <davem@davemloft.net>
55881         * po/de.po: Update from translation team.
55883 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
55885         [BZ #10357]
55886         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55887         imaginary part less than 1.0 and real part less than 0.5
55888         specially.
55889         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55890         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55891         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55892         (cacos_test): Add more tests.
55893         (casin_test): Likewise.
55894         (casinh_test): Likewise.
55895         * sysdeps/i386/fpu/libm-test-ulps: Update.
55896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55898 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55900         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
55901         ONE with its value.
55903         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
55904         (__pow_mp): Replace ONE and MONE with their values.
55905         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55906         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
55907         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55908         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
55909         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55910         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55912         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
55914         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
55915         (__pow_mp): Replace ZERO and MZERO with their values.
55916         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55917         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55918         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55920         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55921         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
55922         (__sqr): Likewise.
55924         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
55926         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
55928 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55930         * include/stdlib.h [!SHARED] (__call_tls_dtors):
55931         Declare with __attribute__ ((weak)).
55932         * stdlib/exit.c (__libc_atexit) [!SHARED]:
55933         Call __call_tls_dtors only if it's not NULL.
55935 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55937         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
55938         didn't do it already, then set _dl_phdr and _dl_phnum based on the
55939         magic __ehdr_start linker symbol if it's defined.
55940         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
55941         them up here if it was already done.
55943         * elf/dl-support.c (_dl_phdr): Make pointer to const.
55944         (_dl_aux_init): Use const in cast when setting it.
55945         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
55946         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
55947         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
55949         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
55950         Declare them here.
55951         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
55952         * csu/libc-tls.c: Nor here.
55953         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
55955         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
55956         (__libc_message): Never call vsyslog.
55958 2013-03-28  Alan Modra  <amodra@gmail.com>
55960         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
55961         Define as empty.
55962         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
55963         Likewise.
55965 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55967         [BZ #15214]
55968         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
55969         underflow.
55970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55972 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55974         [BZ #15304]
55975         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55976         Don't add gid passed as argument.
55978         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
55980 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
55982         [BZ #15307]
55983         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55984         imaginary part between 1.0 and 1.5 and real part less than 0.5
55985         specially.
55986         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55987         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55988         * math/libm-test.inc (cacos_test): Add more tests.
55989         (casin_test): Likewise.
55990         (casinh_test): Likewise.
55991         * sysdeps/i386/fpu/libm-test-ulps: Update.
55992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55994 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55996         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
55997         constants.
55998         (norm): Likewise.
55999         (denorm): Likewise.
56000         (__dbl_mp): Likewise.
56001         (add_magnitudes): Likewise.
56002         (sub_magnitudes): Likewise.
56003         (__add): Likewise.
56004         (__sub): Likewise.
56005         (__mul): Likewise.
56006         (__sqr): Likewise.
56007         (__inv): Likewise.
56008         (__dvd): Likewise.
56010         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
56011         commented code.
56012         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
56013         (__dubcos): Likewise.
56014         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
56015         (__ieee754_acos): Likewise.
56016         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56017         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
56018         (__exp1): Likewise.
56019         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56020         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56021         (log1): Likewise.
56022         (my_log2): Likewise.
56023         (checkint): Likewise.
56024         * sysdeps/ieee754/dbl-64/e_remainder.c
56025         (__ieee754_remainder): Likewise.
56026         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56027         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
56028         (bsloww): Likewise.
56029         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56031         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56032         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
56033         MANTISSA_STORE_T to store computations on mantissa.  Use
56034         macros for rounding and division.
56035         (denorm): Likewise.
56036         (__dbl_mp): Likewise.
56037         (add_magnitudes): Likewise.
56038         (sub_magnitudes): Likewise.
56039         (__mul): Likewise.
56040         (__sqr): Likewise.
56041         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56042         powers of two in terms of TWOPOW macro.
56043         (mp_no): Make type of mantissa as MANTISSA_T.
56044         [!RADIXI]: Define RADIXI.
56045         [!TWO52]: Define TWO52.
56046         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56048 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56050         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
56051         llroundl symbol when building for PPC32.
56053 2013-03-24  Mark H Weaver  <mhw@netris.org>
56055         * manual/arith.texi (Normalization Functions): Fix prototypes for
56056         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
56058 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56060         [BZ #13889]
56061         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
56062         high value to check if expl overflow.
56063         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
56064         to check for underflow and overflow.
56065         * math/libm-test.inc: Add exp test.
56067 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
56069         [BZ #11120]
56070         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
56071         with NOT_IN_libc.
56073 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56075         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
56076         symbol.
56078 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56080         * math/gen-libm-test.pl (parse_args, special_functions): Properly
56081         wrap blocks consisting of several statements.
56083         * sysdeps/generic/math-tests.h: New file.
56084         * sysdeps/i386/fpu/math-tests.h: Likewise.
56085         * math/test-snan.c: Include it.
56086         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
56088 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56090         [BZ #15285]
56091         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
56092         (__ieee754_j0l): Do not improve calculations using cos of twice
56093         input for inputs above LDBL_MAX / 2.0L.
56094         (__ieee754_y0l): Likewise.
56095         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
56096         (__ieee754_j1l): Do not improve calculations using cos of twice
56097         input for inputs above LDBL_MAX / 2.0L.
56098         (__ieee754_y1l): Likewise.
56099         * math/libm-test.inc (j0_test): Add another test.
56100         (j1_test): Likewise.
56101         (y0_test): Likewise.
56102         (y1_test): Likewise.
56103         * sysdeps/i386/fpu/libm-test-ulps: Update.
56105 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56107         * Rules ($(objpfx)bench-%.c): Include code from a C source
56108         file.
56110 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56112         [BZ #15287]
56113         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56114         imaginary part 1.0 and real part less than 0.5 specially.
56115         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56116         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56117         * math/libm-test.inc (cacos_test): Add more tests.
56118         (casin_test): Likewise.
56119         (casinh_test): Likewise.
56120         * sysdeps/i386/fpu/libm-test-ulps: Update.
56121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56123 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56125         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
56126         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
56128 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
56130         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
56131         * config.make.in (config-cflags-sse4): Remove variable.
56132         (config-cflags-avx): Likewise.
56133         (config-cflags-sse2avx): Likewise.
56134         (config-cflags-novzeroupper): Likewise.
56135         (config-asflags-i686): Likewise.
56136         (have-mfma4): Likewise.
56137         (have-as-vis3): Likewise.
56138         (MIG): Likewise.
56139         * configure.in (MIG): Do not AC_SUBST.
56140         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
56141         (libc_cv_cc_sse4): Do not AC_SUBST.
56142         (libc_cv_cc_avx): Likewise.
56143         (libc_cv_cc_sse2avx): Likewise.
56144         (libc_cv_cc_novzeroupper): Likewise.
56145         (libc_cv_cc_fma4): Likewise.
56146         (libc_cv_as_i686): Likewise.
56147         (libc_cv_sparc_as_vis3): Likewise.
56148         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
56149         LIBC_CONFIG_VAR.
56150         (config-asflags-i686): Likewise.
56151         (config-cflags-avx): Likewise.
56152         (config-cflags-sse2avx): Likewise.
56153         (have-mfma4): Likewise.
56154         (config-cflags-novzeroupper): Likewise.
56155         * sysdeps/mach/configure.in (MIG): Likewise.
56156         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
56157         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
56158         LIBC_CONFIG_VAR.
56159         (config-cflags-avx): Likewise.
56160         (config-cflags-sse2avx): Likewise.
56161         (have-mfma4): Likewise.
56162         (config-cflags-novzeroupper): Likewise.
56163         * configure: Regenerated.
56164         * sysdeps/i386/configure: Likewise.
56165         * sysdeps/mach/configure: Likewise.
56166         * sysdeps/sparc/configure: Likewise.
56167         * sysdeps/x86_64/configure: Likewise.
56169 2013-03-20  Roland McGrath  <roland@hack.frob.com>
56171         [BZ #14812]
56172         * locale/programs/localedef.c (options): Put N_ translation marker
56173         on argument names, not just descriptions.
56175 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56177         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
56179 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
56181         [BZ #14176]
56182         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
56184 2013-03-19  Roland McGrath  <roland@hack.frob.com>
56186         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
56187         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
56188         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
56189         [!BEFORE_ABORT] (before_abort): New function.
56190         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
56191         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
56192         (writev_for_fatal): New function.
56193         (WRITEV_FOR_FATAL): New macro; call that.
56194         (backtrace_and_maps): New function.
56195         (BEFORE_ABORT): New macro; call that.
56196         (struct str_list): Type removed.
56197         (__libc_message, __libc_fatal): Functions removed.
56198         Include <sysdeps/posix/libc_fatal.c> instead.
56200 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
56202         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
56203         constants.
56204         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
56205         double constants.
56207 2013-03-19  Andreas Schwab  <schwab@suse.de>
56209         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
56210         * sysdeps/gnu/configure: Regenerate.
56212         * configure.in: Substitute libc_cv_rtlddir.
56213         * configure: Regenerate.
56214         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
56215         * Makeconfig (rtlddir, inst_rtlddir): New variables.
56216         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
56217         * elf/Makefile (install-others, CFLAGS-interp.c)
56218         (ldso_install, common-ldd-rewrite): Likewise.
56219         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
56220         $(inst_slibdir)/$(rtld-installed-name).
56221         * scripts/rellns-sh: Add -p option.
56222         * Makerules (make-shlib-link): Use rellns-sh to get relative name
56223         for source.
56225 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56227         * manual/nptl.texi: Renamed to ...
56228         * manual/threads.texi: ... this.
56229         * manual/Makefile (chapters): Update.
56231 2013-03-18  Roland McGrath  <roland@hack.frob.com>
56233         [BZ #14812]
56234         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
56235         on argument names, not just descriptions.
56236         * malloc/memusagestat.c (options): Likewise.
56237         * nss/getent.c (options): Likewise.
56239 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
56241         [BZ #14812]
56242         * iconv/iconv_prog.c (options): Put N_ translation marker
56243         on argument names, not just descriptions.
56244         * iconv/iconvconfig.c (options): Likewise.
56246 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
56248         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
56249         implementation which is faster on all x86_64 architectures.
56250         Tested on AMD, Intel Nehalem, SNB, IVB.
56251         * sysdeps/x86_64/strnlen.S: Likewise.
56253         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56254         Remove all multiarch strlen and strnlen versions.
56255         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56256         Remove strlen and strnlen related parts.
56258         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
56259         Inline strlen part.
56260         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
56262         * sysdeps/x86_64/multiarch/strlen.S: Remove.
56263         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
56264         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
56265         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
56266         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56267         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
56269 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
56271         * manual/memory.texi (Malloc Tunable Parameters):
56272         Sort parameters alphabetically. Add comments for missing entries.
56274 2013-03-17  David S. Miller  <davem@davemloft.net>
56276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56278 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
56280         [BZ #15283]
56281         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
56282         for arguments at most half maximum finite value.
56283         * math/libm-test.inc (j0_test): Add more tests.
56284         (j1_test): Likewise.
56285         (y0_test): Likewise.
56286         (y1_test): Likewise.
56287         * sysdeps/i386/fpu/libm-test-ulps: Update.
56288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56290         [BZ #14155]
56291         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
56292         1 / x and functions P and Q for arguments above 0x1p256L.
56293         (__ieee754_y0l): Likewise.
56294         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
56295         (__ieee754_y1l): Likewise.
56296         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
56297         (j1_test): Likewise.
56298         (y0_test): Likewise.
56299         (y1_test): Likewise.
56301 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
56303         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
56304         variable.
56306 2013-03-15  Roland McGrath  <roland@hack.frob.com>
56308         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
56309         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
56310         zero since it's initialized to EXEC_PAGESIZE.
56312         * sysdeps/unix/sysv/linux/ldsodefs.h
56313         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
56314         * sysdeps/generic/ldsodefs.h: ... here.
56316 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
56318         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
56320         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
56321         math/test-snan.c.
56322         * math/test-snan.c: Renamed from
56323         sysdeps/powerpc/fpu/test-powerpc-snan.c.
56324         * math/Makefile (tests): Add test-snan.
56325         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
56326         test-powerpc-snan.
56328         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
56329         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
56330         functions.
56331         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
56332         __builtin_nan family of functions.
56333         * math/libm-test.inc (initialize): Initialize qnan_value with
56334         __builtin_nan family of functions.
56335         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
56336         Remove variables.
56337         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
56338         Remove functions.
56339         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
56340         storage class.  Initialize qNaN_var and sNaN_var with
56341         __builtin_nan and __builtin_nans families of functions,
56342         respectively.
56344         * math/libm-test.inc (acosh_test): Also test with qNaN input.
56345         (sqrt_test): Remove duplicate test with qNaN input.
56346         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
56347         (round_test, signbit_test, significand_test): Note missing +/-Inf
56348         as well as qNaN tests.
56350         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
56351         qNaN_var.  Fix a few strings, too.
56352         * math/libm-test.inc (nan_value): Rename to qnan_value.
56353         * math/gen-libm-test.pl (%beautify): Adjust to that.
56354         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
56355         * math/test-misc.c (main): Likewise.
56356         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
56357         to __qnan_bytes, and __qnan_union, respectively.
56358         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
56359         Likewise.
56360         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
56361         and lqnanval, respectively.
56362         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
56363         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
56364         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
56365         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
56367         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
56368         * math/test-misc.c (main) [__x86_64__]: Enable test for long
56369         doubles.
56371         * math/test-misc.c (main): Fix copy'n'pastos.
56372         * misc/tst-efgcvt.c (special): Likewise.
56374         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
56375         Remove declarations.
56377 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56379         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
56380         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
56381         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
56382         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
56384 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56386         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
56387         macro to return vdso values correctly in IFUNC implementations.
56388         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56389         Optimization by using IFUNC.
56391 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56392             Richard Henderson  <rth@redhat.com>
56393             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56395         * Makefile.in (bench): New target.
56396         * NEWS: Mention the benchmark framework.
56397         * Rules (bench): Likewise.
56398         (binaries-bench): Generate binaries for functions to
56399         benchmark.
56400         * benchtests/Makefile: New makefile for benchmark tests.
56401         * benchtests/bench-skeleton.c: New skeleton file for benchmark
56402         programs.
56403         * benchtests/exp-inputs: New input file for EXP function.
56404         * benchtests/pow-inputs: New input file for POW function.
56405         * scripts/bench.pl: New script to generate source files for
56406         benchmark programs.
56408 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56410         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56411         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56412         computations on mantissa.  Use macros for rounding and
56413         division.
56414         (denorm): Likewise.
56415         (__dbl_mp): Likewise.
56416         (add_magnitudes): Likewise.
56417         (sub_magnitudes): Likewise.
56418         (__mul): Likewise.
56419         (__sqr): Likewise.
56420         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56421         powers of two in terms of TWOPOW macro.
56422         (mp_no): Make type of mantissa as MANTISSA_T.
56423         [!RADIXI]: Define RADIXI.
56424         [!TWO52]: Define TWO52.
56425         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56427         * manual/nptl.texi (cindex): Modify threads to pthreads.
56429 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
56431         * sysdeps/x86_64/preconfigure: Regenerated.
56433 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
56435         [BZ #14155]
56436         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
56437         0x1p28 and above.
56438         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
56439         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
56440         0x1p28 and above.
56441         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
56442         * math/libm-test.inc (j0_test): Do not allow one spurious
56443         underflow exception.
56444         (y1_test): Likewise.
56446 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56448         * manual/Makefile (chapters): Add nptl.
56449         * manual/debug.texi (Debugging Support): Add link to Threads
56450         chapter.
56451         * manual/nptl.texi: New file.
56453         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
56455 2013-03-14  Petr Baudis  <pasky@ucw.cz>
56457         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
56458         for non-NULL pointer before the memory validity test. Pointed
56459         out by Holger Brunck <holger.brunck@keymile.com>.
56461 2013-03-13  Andreas Schwab  <schwab@suse.de>
56463         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
56464         instead of .os.
56466 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
56468         * timezone/zic.c: Update from tzcode 2013b.
56470 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
56472         * manual/install.texi (Configuring and compiling):
56473         Mention i686 and i586.
56474         * INSTALL: Regenerate.
56476 2013-03-12  Roland McGrath  <roland@hack.frob.com>
56478         * sysdeps/init_array/elf-init.c: New file.
56479         * csu/elf-init.c
56480         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
56481         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
56483         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
56484         __gmon_start__ as global, but as static with a .preinit_array pointer.
56485         * sysdeps/init_array/gmon-start.c: New file.  Use that.
56486         * sysdeps/init_array/crti.S: New file, empty except for comments.
56487         * sysdeps/init_array/crtn.S: Likewise.
56489 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
56491         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
56492         definining bcopy.
56493         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56494         Remove Prefer_SSE_for_memop.
56495         * sysdeps/x86_64/multiarch/init-arch.h: Remove
56496         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
56497         HAS_PREFER_SSE_FOR_MEMOP.
56498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
56499         memset-x86-64.
56500         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56501         Remove bzero, memset ifunc support.
56502         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
56503         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
56504         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56505         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56507 2013-03-11  Andreas Schwab  <schwab@suse.de>
56509         [BZ #15234]
56510         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
56511         by SHLIB_COMPAT.
56512         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
56513         (GLIBC_2.16): Remove pthread_atfork.
56515 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
56517         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
56518         (ptestcases.h): Likewise.
56520 2013-03-08  Roland McGrath  <roland@hack.frob.com>
56522         * Makeconfig ($(common-objpfx)config.status): Depend on
56523         sysdeps/*/preconfigure{,.in} too.
56525 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
56527         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
56528         (__free_hook): Use void * instead of __malloc_ptr_t.
56529         (__malloc_hook): Likewise.
56530         (__realloc_hook): Likewise.
56531         (__memalign_hook): Likewise.
56532         (__after_morecore_hook): Likewise.
56533         * malloc/arena.c (save_malloc_hook): Likewise.
56534         (save_free_hook): Likewise.
56535         * malloc/hooks.c (malloc_hook_ini): Likewise.
56536         (realloc_hook_ini): Likewise.
56537         (memalign_hook_ini): Likewise.
56538         * malloc/malloc.c (malloc_hook_ini): Likewise.
56539         (realloc_hook_ini): Likewise.
56540         (memalign_hook_ini): Likewise.
56541         (__free_hook): Likewise.
56542         (__malloc_hook): Likewise.
56543         (__realloc_hook): Likewise.
56544         (__memalign_hook): Likewise.
56545         (__libc_malloc): Likewise.
56546         (__libc_free): Likewise.
56547         (__libc_realloc): Likewise.
56548         (__libc_memalign): Likewise.
56549         (__libc_valloc): Likewise.
56550         (__libc_pvalloc): Likewise.
56551         (__libc_calloc): Likewise.
56552         (__posix_memalign): Likewise.
56553         * malloc/morecore.c (__sbrk): Likewise.
56554         (__default_morecore): Likewise.
56556         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
56558         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
56559         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
56560         __malloc_ptrdiff_t.
56562         * malloc/malloc.h (__malloc_size_t): Remove macro.
56563         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
56564         __malloc_size_t.
56565         (old_memalign_hook): Likewise.
56566         (old_realloc_hook): Likewise.
56567         (struct hdr): Likewise.
56568         (flood): Likewise.
56569         (mallochook): Likewise.
56570         (memalignhook): Likewise.
56571         (reallochook): Likewise.
56572         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
56573         (tr_old_realloc_hook): Likewise.
56574         (tr_old_memalign_hook): Likewise.
56575         (tr_mallochook): Likewise.
56576         (tr_reallochook): Likewise.
56577         (tr_memalignhook): Likewise.
56579 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56581         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
56582         default_ldbl_pack and using as default implementation.
56583         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
56584         implementation.
56585         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
56586         redundant definition.
56587         (ldbl_insert_mantissa): Likewise.
56588         (ldbl_canonicalize): Likewise.
56589         (ldbl_nearbyint): Likewise.
56590         (ldbl_pack): Rename to ldbl_pack_ppc.
56591         (ldbl_unpack): Rename to ldbl_unpack_ppc.
56592         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
56593         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
56595 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56597         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
56598         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
56599         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
56600         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
56601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
56602         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
56603         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
56604         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
56606 2013-03-07  Andreas Jaeger  <aj@suse.de>
56608         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56609         bits/mman-linux.h.
56611 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56613         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
56614         Include mpa.h and declare __MPEXP.
56615         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
56616         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56617         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56618         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
56619         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56620         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56621         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
56623         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
56624         (__slowpow): Use long double EXPL and LOGL functions to
56625         compute POW.
56626         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56627         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56628         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
56629         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56630         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56631         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
56633         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
56634         intermediate variable to calculate exponent.
56635         (__sqr): Likewise.
56636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56637         Likewise.
56638         (__sqr): Likewise.
56640         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
56641         [!NO__SQR]: Define __sqr.
56642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
56643         and NO__SQR.  Remove all code except __mul and __sqr.  Include
56644         sysdeps/ieee754/dbl-64/mpa.c.
56645         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56647         [BZ #12723]
56648         * posix/Makefile (tests): Add tst-pathconf.
56649         * posix/tst-pathconf.c: New test case.
56650         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
56651         _PC_PIPE_BUF.
56652         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
56654 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
56656         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
56658 2013-03-06  Andreas Jaeger  <aj@suse.de>
56660         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56661         definition via __MAP_ANONYMOUS.
56663         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
56664         it's not part of Linux headers.
56666         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
56667         (MAP_HUGE_MASK): Define.
56669         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56670         Define.
56671         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56672         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56673         Define.
56674         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56675         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56676         Define.
56677         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56678         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
56679         Define.
56680         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56682         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
56683         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
56684         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
56685         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
56686         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
56687         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
56689         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56690         Handle f2fs.
56692         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56693         Handle f2fs and efivarfs.
56695         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
56696         f2fs.
56698         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
56699         (EFIVARFS_MAGIC): Add.
56700         (F2FS_LINK_MAX): Add.
56702 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56704         * stdio-common/vfprintf.c: Replace __builtin_expect with
56705         __glibc_unlikely.
56707 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
56709         [BZ #13550]
56710         * sysdeps/generic/bp-sym.h: Remove file.
56711         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
56712         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
56713         <bp-sym.h> and <bp-asm.h>.
56714         (__longjmp): Don't use BP_SYM.
56715         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
56716         and <bp-asm.h>.
56717         (memcpy): Don't use BP_SYM.
56718         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56719         <bp-sym.h> and <bp-asm.h>.
56720         (memcpy): Don't use BP_SYM.
56721         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
56722         <bp-asm.h>.
56723         (memcpy): Don't use BP_SYM.
56724         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
56725         <bp-asm.h>.
56726         (memset): Don't use BP_SYM.
56727         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56728         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56729         (__bzero): Don't use BP_SYM.
56730         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56731         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56732         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
56733         <bp-sym.h> and <bp-asm.h>.
56734         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56735         pointers.
56736         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
56737         <bp-sym.h> and <bp-asm.h>.
56738         (memcpy): Don't use BP_SYM.
56739         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
56740         <bp-sym.h> and <bp-asm.h>.
56741         (memset): Don't use BP_SYM.
56742         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56743         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56744         (__bzero): Don't use BP_SYM.
56745         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56746         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56747         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
56748         <bp-sym.h> and <bp-asm.h>.
56749         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56750         pointers.
56751         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
56752         <bp-sym.h> and <bp-asm.h>.
56753         (memcpy): Don't use BP_SYM.
56754         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
56755         <bp-sym.h> and <bp-asm.h>.
56756         (memset): Don't use BP_SYM.
56757         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56758         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56759         (__bzero): Don't use BP_SYM.
56760         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56761         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56762         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
56763         <bp-sym.h> and <bp-asm.h>.
56764         (__memchr): Don't use BP_SYM.
56765         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56766         <bp-sym.h> and <bp-asm.h>.
56767         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56768         pointers.
56769         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56770         <bp-sym.h> and <bp-asm.h>.
56771         (memcpy): Don't use BP_SYM.
56772         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56773         <bp-sym.h> and <bp-asm.h>.
56774         (__mempcpy): Don't use BP_SYM.
56775         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56776         <bp-sym.h> and <bp-asm.h>.
56777         (__memrchr): Don't use BP_SYM.
56778         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56779         <bp-sym.h> and <bp-asm.h>.
56780         (memset): Don't use BP_SYM.
56781         (__bzero): Likewise.
56782         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56783         <bp-sym.h> and <bp-asm.h>.
56784         (__rawmemchr): Don't use BP_SYM.
56785         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56786         <bp-sym.h> and <bp-asm.h>.
56787         (__STRCMP): Don't use BP_SYM.
56788         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56789         <bp-sym.h> and <bp-asm.h>.
56790         (strchr): Don't use BP_SYM.
56791         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56792         <bp-sym.h> and <bp-asm.h>.
56793         (__strchrnul): Don't use BP_SYM.
56794         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56795         <bp-sym.h> and <bp-asm.h>.
56796         (strlen): Don't use BP_SYM.
56797         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56798         <bp-sym.h> and <bp-asm.h>.
56799         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56800         pointers.
56801         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56802         <bp-sym.h> and <bp-asm.h>.
56803         (__strnlen): Don't use BP_SYM.
56804         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56805         <bp-sym.h> and <bp-asm.h>.
56806         (__GI__setjmp): Don't use BP_SYM.
56807         (_setjmp): Likewise.
56808         (__sigsetjmp): Likewise.
56809         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56810         (L(start_addresses)): Don't use BP_SYM.
56811         (_start): Likewise.
56812         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56813         <bp-asm.h>.
56814         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56815         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56816         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56817         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56818         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56819         <bp-asm.h>.
56820         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56821         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
56822         about bounded pointers.
56823         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56824         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56825         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56826         <bp-asm.h>.
56827         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56828         about bounded pointers.  Remove GKM FIXME comments.
56829         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56830         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56831         <bp-asm.h>.
56832         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56833         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
56834         Remove GKM FIXME comments.
56835         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56836         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56837         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
56838         <bp-asm.h>.
56839         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56840         about bounded pointers.  Remove GKM FIXME comment.
56841         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
56842         and <bp-asm.h>.
56843         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56844         pointers.
56845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
56846         <bp-sym.h> and <bp-asm.h>.
56847         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
56849         <bp-sym.h> and <bp-asm.h>.
56850         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56851         comment.
56853 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56855         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
56856         call free(NULL).
56858 2013-03-05  David S. Miller  <davem@davemloft.net>
56860         * po/es.po: Update from translation team.
56862 2013-03-05  Andreas Jaeger  <aj@suse.de>
56864         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56865         <bits/mman-linux.h>.
56866         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56867         is fine.
56868         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56869         <bits/mman-linux.h> to end of file.
56870         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56871         is fine.
56872         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56873         <bits/mman-linux.h> to end of file.
56874         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56875         is fine.
56876         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56877         <bits/mman-linux.h> to end of file.
56879         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56880         (MCL_CURRENT, MCL_FUTURE): Define here.
56882 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56884         [BZ #15232]
56885         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56886         attribute_hidden.
56887         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56889 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56891         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56892         fourth parameter needed for rt_sigprocmask syscall.
56893         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56894         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56895         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56896         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56897         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56898         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
56900 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
56902         [BZ #13550]
56903         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
56904         comment about bounded pointers.
56905         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
56906         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
56908 2013-03-04  Andreas Jaeger  <aj@suse.de>
56910         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
56911         common definitions.
56913         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
56914         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
56915         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
56916         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56917         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56918         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56920 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56922         [BZ #15055]
56923         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
56924         __ieee754_sqrl instead of __sqrl.
56926 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
56928         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
56929         * sysdeps/powerpc/fpu_control.h: ... here.
56930         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
56931         * sysdeps/powerpc/bits/fenvinline.h: ... here.
56932         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
56933         * sysdeps/powerpc/bits/mathinline.h: ... here.
56935 2013-03-01  Roland McGrath  <roland@hack.frob.com>
56937         * elf/dl-hwcaps.c (_dl_important_hwcaps):
56938         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
56939         to just [NEED_DL_SYSINFO_DSO].
56940         * elf/dl-support.c: Likewise.
56941         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
56942         * elf/rtld.c (dl_main): Likewise.
56943         * elf/setup-vdso.h (setup_vdso): Likewise.
56944         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
56945         * sysdeps/unix/sysv/linux/dl-sysdep.c
56946         (_dl_discover_osversion): Likewise.
56948 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
56950         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
56951         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56953 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
56955         * NEWS: Mention libm performance improvements and non-x86 PI
56956         futex support.
56958         * csu/libc-start.c (__pthread_initialize_minimal): Change
56959         function arguments.
56960         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56962 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
56964         [BZ #13550]
56965         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
56966         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
56967         <bp-sym.h> and <bp-asm.h>.
56968         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56969         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
56970         and <bp-asm.h>.
56971         (memcpy): Don't use BP_SYM.
56972         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
56973         <bp-asm.h>.
56974         (__mpn_add_n): Don't use BP_SYM.
56975         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
56976         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
56977         and <bp-asm.h>.
56978         (__mpn_addmul_1): Don't use BP_SYM.
56979         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56980         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
56981         <bp-sym.h>.
56982         (_setjmp): Don't use BP_SYM.
56983         (__novmx_setjmp): Likewise.
56984         (__GI__setjmp): Likewise.
56985         (__vmx_setjmp): Likewise.
56986         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
56987         <bp-sym.h>.
56988         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
56989         (__bzero): Don't use BP_SYM.
56990         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56991         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56992         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
56993         <bp-sym.h> and <bp-asm.h>.
56994         (memcpy): Don't use BP_SYM.
56995         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
56996         <bp-sym.h> and <bp-asm.h>.
56997         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56998         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
56999         <bp-sym.h> and <bp-asm.h>.
57000         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57001         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
57002         <bp-asm.h>.
57003         (__mpn_lshift): Don't use BP_SYM.
57004         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57005         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
57006         <bp-asm.h>.
57007         (memset): Don't use BP_SYM.
57008         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57009         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57010         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
57011         <bp-asm.h>.
57012         (__mpn_mul_1): Don't use BP_SYM.
57013         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57014         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
57015         <bp-sym.h> and <bp-asm.h>.
57016         (memcmp): Don't use BP_SYM.
57017         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
57018         <bp-sym.h> and <bp-asm.h>.
57019         (memcpy): Don't use BP_SYM.
57020         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
57021         <bp-sym.h> and <bp-asm.h>.
57022         (memset): Don't use BP_SYM.
57023         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
57024         <bp-sym.h> and <bp-asm.h>.
57025         (strncmp): Don't use BP_SYM.
57026         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
57027         <bp-sym.h> and <bp-asm.h>.
57028         (memcpy): Don't use BP_SYM.
57029         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
57030         <bp-sym.h> and <bp-asm.h>.
57031         (memset): Don't use BP_SYM.
57032         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
57033         <bp-sym.h> and <bp-asm.h>.
57034         (__memchr): Don't use BP_SYM.
57035         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
57036         <bp-sym.h> and <bp-asm.h>.
57037         (memcmp): Don't use BP_SYM.
57038         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
57039         <bp-sym.h> and <bp-asm.h>.
57040         (memcpy): Don't use BP_SYM.
57041         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
57042         <bp-sym.h> and <bp-asm.h>.
57043         (__mempcpy): Don't use BP_SYM.
57044         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
57045         <bp-sym.h> and <bp-asm.h>.
57046         (__memrchr): Don't use BP_SYM.
57047         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
57048         <bp-sym.h> and <bp-asm.h>.
57049         (memset): Don't use BP_SYM.
57050         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
57051         <bp-sym.h> and <bp-asm.h>.
57052         (__rawmemchr): Don't use BP_SYM.
57053         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
57054         <bp-sym.h> and <bp-asm.h>.
57055         (__STRCMP): Don't use BP_SYM.
57056         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
57057         <bp-sym.h> and <bp-asm.h>.
57058         (strchr): Don't use BP_SYM.
57059         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
57060         <bp-sym.h> and <bp-asm.h>.
57061         (__strchrnul): Don't use BP_SYM.
57062         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
57063         <bp-sym.h> and <bp-asm.h>.
57064         (strlen): Don't use BP_SYM.
57065         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
57066         <bp-sym.h> and <bp-asm.h>.
57067         (strncmp): Don't use BP_SYM.
57068         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
57069         <bp-sym.h> and <bp-asm.h>.
57070         (__strnlen): Don't use BP_SYM.
57071         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
57072         <bp-asm.h>.
57073         (__mpn_rshift): Don't use BP_SYM.
57074         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57075         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
57076         <bp-sym.h> and <bp-asm.h>.
57077         (__sigsetjmp): Don't use BP_SYM.
57078         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
57079         (L(start_addresses)): Don't use BP_SYM.
57080         (_start): Likewise.
57081         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
57082         <bp-asm.h>.
57083         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
57084         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57085         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57086         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
57087         <bp-asm.h>.
57088         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
57089         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57090         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57091         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
57092         <bp-asm.h>.
57093         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57094         comments.
57095         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57096         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
57097         <bp-asm.h>.
57098         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
57099         FIXME comments.
57100         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57101         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57102         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
57103         <bp-asm.h>.
57104         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57105         comment.
57106         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
57107         and <bp-asm.h>.
57108         (strncmp): Don't use BP_SYM,
57109         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
57110         <bp-asm.h>.
57111         (__mpn_sub_n): Don't use BP_SYM.
57112         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57113         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
57114         and <bp-asm.h>.
57115         (__mpn_submul_1): Don't use BP_SYM.
57116         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
57118         <bp-sym.h> and <bp-asm.h>.
57119         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
57121         <bp-sym.h> and <bp-asm.h>.
57122         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57123         comment.
57125 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
57128         Use ZK to minimize writes to Z.
57129         (sub_magnitudes): Simplify code a bit.
57130         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
57131         Use ZK to minimize writes to Z.
57132         (sub_magnitudes): Simplify code a bit.
57134 2013-02-27  Roland McGrath  <roland@hack.frob.com>
57136         * csu/gmon-start.c: Add special exception to license text.
57138 2013-02-27  Richard Henderson  <rth@redhat.com>
57140         * scripts/config.guess: Update from config.git.
57141         * scripts/config.sub: Likewise.
57143 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57145         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
57147         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
57149         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
57151         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
57153         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
57155 2013-02-26  Roland McGrath  <roland@hack.frob.com>
57157         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
57158         [$(build-shared = yes].
57160 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57162         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
57163         (__mul): Reduce iterations for calculating mantissa.
57165         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
57166         MPTWO.
57167         (__mpranred): Likewise.
57169         [BZ #15160]
57170         * malloc/memusagestat.c (main): Draw graphs for heap and stack
57171         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
57173 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
57175         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
57176         Define __attribute__.
57178 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57180         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
57181         unused.
57182         * posix/regex_internal.h (__attribute): Remove.
57183         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
57184         (re_string_context_at): Likewise.
57185         (bitset_not): Use __attribute__ and mark function as possibly
57186         unused.
57187         (bitset_merge): Likewise.
57188         (bitset_mask): Likewise.
57189         (re_string_char_size_at): Likewise.
57190         (re_string_wchar_at): Likewise.
57191         (re_string_elem_size_at): Likewise.
57193 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57195         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
57196         code.
57197         (cc32): Likewise.
57199         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
57200         (__acr): Likewise.
57201         (__cpy): Likewise.
57202         (norm): Likewise.
57203         (denorm): Likewise.
57204         (__dbl_mp): Likewise.
57205         (add_magnitudes): Likewise.
57206         (sub_magnitudes): Likewise.
57207         (__mul): Likewise.
57208         (__inv): Likewise.
57210         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
57211         style.
57213         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
57214         style.
57216         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
57217         code.
57219         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
57220         up changes with default code.
57221         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
57222         Likewise.
57224 2013-02-24  Allan McRae  <allan@archlinux.org>
57226         * manual/socket.texi (The Internet Namespace): Order menu items
57227         to match that in the file.
57229         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
57230         node listing of the info page menu.
57232 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
57234         [BZ #13550]
57235         * sysdeps/i386/bp-asm.h: Remove file.
57236         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57237         (PARMS): Do not use macros from bp-asm.h.
57238         (S1): Likewise.
57239         (S2): Likewise.
57240         (SIZE): Likewise.
57241         (__mpn_add_n): Do not use BP_SYM
57242         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
57243         "bp-asm.h".
57244         (PARMS): Do not use macros from bp-asm.h.
57245         (S1): Likewise.
57246         (SIZE): Likewise.
57247         (__mpn_addmul_1): Do not use BP_SYM
57248         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
57249         "bp-asm.h".
57250         (PARMS): Do not use macros from bp-asm.h.
57251         (SIGMSK): Likewise.
57252         (_setjmp): Likewise.  Do not use BP_SYM.
57253         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
57254         "bp-asm.h".
57255         (PARMS): Do not use macros from bp-asm.h.
57256         (SIGMSK): Likewise.
57257         (setjmp): Likewise.  Do not use BP_SYM.
57258         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
57259         "bp-asm.h".
57260         (PARMS): Do not use macros from bp-asm.h.
57261         (__frexp): Do not use BP_SYM.
57262         (frexp): Likewise.
57263         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
57264         "bp-asm.h".
57265         (PARMS): Do not use macros from bp-asm.h.
57266         (__frexpf): Do not use BP_SYM.
57267         (frexpf): Likewise.
57268         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
57269         "bp-asm.h".
57270         (PARMS): Do not use macros from bp-asm.h.
57271         (__frexpl): Do not use BP_SYM.
57272         (frexpl): Likewise.
57273         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
57274         "bp-asm.h".
57275         (PARMS): Do not use macros from bp-asm.h.
57276         (__remquo): Do not use BP_SYM.
57277         (remquo): Likewise.
57278         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
57279         "bp-asm.h".
57280         (PARMS): Do not use macros from bp-asm.h.
57281         (__remquof): Do not use BP_SYM.
57282         (remquof): Likewise.
57283         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
57284         "bp-asm.h".
57285         (PARMS): Do not use macros from bp-asm.h.
57286         (__remquol): Do not use BP_SYM.
57287         (remquol): Likewise.
57288         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
57289         "bp-asm.h".
57290         (PARMS): Do not use macros from bp-asm.h.
57291         (DEST): Likewise.
57292         (SRC): Likewise.
57293         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
57294         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
57295         "bp-asm.h".
57296         (PARMS): Do not use macros from bp-asm.h.
57297         (strlen): Do not use BP_SYM.
57298         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
57299         "bp-asm.h".
57300         (PARMS): Do not use macros from bp-asm.h.
57301         (S1): Likewise.
57302         (S2): Likewise.
57303         (SIZE): Likewise.
57304         (__mpn_add_n): Do not use BP_SYM.
57305         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
57306         "bp-asm.h".
57307         (PARMS): Do not use macros from bp-asm.h.
57308         (S1): Likewise.
57309         (SIZE): Likewise.
57310         (__mpn_addmul_1): Do not use BP_SYM.
57311         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
57312         weak_alias.
57313         (bzero): Likewise.
57314         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
57315         "bp-asm.h".
57316         (PARMS): Do not use macros from bp-asm.h.
57317         (S): Likewise.
57318         (SIZE): Likewise.
57319         (__mpn_lshift): Do not use BP_SYM.
57320         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
57321         "bp-asm.h".
57322         (PARMS): Do not use macros from bp-asm.h.
57323         (DEST): Likewise.
57324         (SRC): Likewise.
57325         (LEN): Likewise.
57326         (memcpy): Likewise.  Do not use BP_SYM.
57327         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
57328         libc_hidden_def and weak_alias.
57329         (mempcpy): Do not use BP_SYM in weak_alias.
57330         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
57331         "bp-asm.h".
57332         (PARMS): Do not use macros from bp-asm.h.
57333         (DEST): Likewise.
57334         (LEN): Likewise.
57335         [!BZERO_P] (CHR): Likewise.
57336         (memset): Likewise.  Do not use BP_SYM.
57337         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
57338         "bp-asm.h".
57339         (PARMS): Do not use macros from bp-asm.h.
57340         (S1): Likewise.
57341         (SIZE): Likewise.
57342         (__mpn_mul_1): Do not use BP_SYM.
57343         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
57344         "bp-asm.h".
57345         (PARMS): Do not use macros from bp-asm.h.
57346         (S): Likewise.
57347         (SIZE): Likewise.
57348         (__mpn_rshift): Do not use BP_SYM.
57349         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
57350         "bp-asm.h".
57351         (PARMS): Do not use macros from bp-asm.h.
57352         (STR): Likewise.
57353         (CHR): Likewise.
57354         (strchr): Likewise.  Do not use BP_SYM.
57355         (index): Do not use BP_SYM in weak_alias.
57356         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
57357         "bp-asm.h".
57358         (PARMS): Do not use macros from bp-asm.h.
57359         (DEST): Likewise.
57360         (SRC): Likewise.
57361         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
57362         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
57363         "bp-asm.h".
57364         (PARMS): Do not use macros from bp-asm.h.
57365         (strlen): Do not use BP_SYM.
57366         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
57367         "bp-asm.h".
57368         (PARMS): Do not use macros from bp-asm.h.
57369         (S1): Likewise.
57370         (S2): Likewise.
57371         (SIZE): Likewise.
57372         (__mpn_sub_n): Do not use BP_SYM.
57373         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
57374         "bp-asm.h".
57375         (PARMS): Do not use macros from bp-asm.h.
57376         (S1): Likewise.
57377         (SIZE): Likewise.
57378         (__mpn_submul_1): Do not use BP_SYM.
57379         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
57380         "bp-asm.h".
57381         (PARMS): Do not use macros from bp-asm.h.
57382         (S1): Likewise.
57383         (S2): Likewise.
57384         (SIZE): Likewise.
57385         (__mpn_add_n): Do not use BP_SYM.
57386         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
57387         weak_alias.
57388         (bzero): Likewise.
57389         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
57390         "bp-asm.h".
57391         (PARMS): Do not use macros from bp-asm.h.
57392         (BLK2): Likewise.
57393         (LEN): Likewise.
57394         (memcmp): Do not use BP_SYM.
57395         (bcmp): Do not use BP_SYM in weak_alias.
57396         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57397         "bp-asm.h".
57398         (PARMS): Do not use macros from bp-asm.h.
57399         (DEST): Likewise.
57400         (SRC): Likewise.
57401         (LEN): Likewise.
57402         (memcpy): Likewise.  Do not use BP_SYM.
57403         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
57404         "bp-asm.h".
57405         (PARMS): Do not use macros from bp-asm.h.
57406         (DEST): Likewise.
57407         (SRC): Likewise.
57408         (LEN): Likewise.
57409         (memmove): Likewise.  Do not use BP_SYM.
57410         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
57411         "bp-asm.h".
57412         (PARMS): Do not use macros from bp-asm.h.
57413         (DEST): Likewise.
57414         (SRC): Likewise.
57415         (LEN): Likewise.
57416         (__mempcpy): Likewise.  Do not use BP_SYM.
57417         (mempcpy): Do not use BP_SYM in weak_alias.
57418         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
57419         "bp-asm.h".
57420         (PARMS): Do not use macros from bp-asm.h.
57421         (DEST): Likewise.
57422         (LEN): Likewise.
57423         [!BZERO_P] (CHR): Likewise.
57424         (memset): Likewise.  Do not use BP_SYM.
57425         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
57426         "bp-asm.h".
57427         (PARMS): Do not use macros from bp-asm.h.
57428         (STR2): Likewise.
57429         (strcmp): Do not use BP_SYM.
57430         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
57431         "bp-asm.h".
57432         (PARMS): Do not use macros from bp-asm.h.
57433         (STR): Likewise.
57434         (DELIM): Likewise.
57435         [USE_AS_STRTOK_R] (SAVE): Likewise.
57436         (FUNCTION): Likewise.  Do not use BP_SYM.
57437         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
57438         aliases.
57439         (strtok_r): Likewise.
57440         (__GI___strtok_r): Likewise.
57441         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57442         (PARMS): Do not use macros from bp-asm.h.
57443         (S): Likewise.
57444         (SIZE): Likewise.
57445         (__mpn_lshift): Do not use BP_SYM.
57446         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57447         (PARMS): Do not use macros from bp-asm.h.
57448         (STR): Likewise.
57449         (CHR): Likewise.
57450         (__memchr): Do not use BP_SYM.
57451         (memchr): Do not use BP_SYM in weak_alias.
57452         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57453         (PARMS): Do not use macros from bp-asm.h.
57454         (BLK2): Likewise.
57455         (LEN): Likewise.
57456         (memcmp): Do not use BP_SYM.
57457         (bcmp): Do not use BP_SYM in weak_alias.
57458         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
57459         (PARMS): Do not use macros from bp-asm.h.
57460         (S1): Likewise.
57461         (SIZE): Likewise.
57462         (__mpn_mul_1): Do not use BP_SYM.
57463         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
57464         "bp-asm.h".
57465         (PARMS): Do not use macros from bp-asm.h.
57466         (STR): Likewise.
57467         (CHR): Likewise.
57468         (__rawmemchr): Do not use BP_SYM.
57469         (rawmemchr): Do not use BP_SYM in weak_alias.
57470         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57471         (PARMS): Do not use macros from bp-asm.h.
57472         (S): Likewise.
57473         (SIZE): Likewise.
57474         (__mpn_rshift): Do not use BP_SYM.
57475         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57476         (PARMS): Do not use macros from bp-asm.h.
57477         (SIGMSK): Likewise.
57478         (__sigsetjmp): Likewise.  Do not use BP_SYM.
57479         * sysdeps/i386/start.S: Do not include "bp-sym.h".
57480         (_start): Do not use BP_SYM.
57481         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
57482         (PARMS): Do not use macros from bp-asm.h.
57483         (DEST): Likewise.
57484         (SRC): Likewise.
57485         (__stpcpy): Likewise.  Do not use BP_SYM.
57486         (stpcpy): Do not use BP_SYM in weak_alias.
57487         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
57488         "bp-asm.h".
57489         (PARMS): Do not use macros from bp-asm.h.
57490         (DEST): Likewise.
57491         (SRC): Likewise.
57492         (LEN): Likewise.
57493         (__stpncpy): Likewise.  Do not use BP_SYM.
57494         (stpncpy): Do not use BP_SYM in weak_alias.
57495         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57496         (PARMS): Do not use macros from bp-asm.h.
57497         (STR): Likewise.
57498         (CHR): Likewise.
57499         (strchr): Likewise.  Do not use BP_SYM.
57500         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
57501         "bp-asm.h".
57502         (PARMS): Do not use macros from bp-asm.h.
57503         (STR): Likewise.
57504         (CHR): Likewise.
57505         (__strchrnul): Likewise.  Do not use BP_SYM.
57506         (strchrnul): Do not use BP_SYM in weak_alias.
57507         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
57508         "bp-asm.h".
57509         (PARMS): Do not use macros from bp-asm.h.
57510         (STOP): Likewise.
57511         (strcspn): Do not use BP_SYM.
57512         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
57513         "bp-asm.h".
57514         (PARMS): Do not use macros from bp-asm.h.
57515         (STR): Likewise.
57516         (STOP): Likewise.
57517         (strpbrk): Likewise.  Do not use BP_SYM.
57518         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
57519         "bp-asm.h".
57520         (PARMS): Do not use macros from bp-asm.h.
57521         (STR): Likewise.
57522         (CHR): Likewise.
57523         (strrchr): Likewise.  Do not use BP_SYM.
57524         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
57525         (PARMS): Do not use macros from bp-asm.h.
57526         (SKIP): Likewise.
57527         (strspn): Do not use BP_SYM.
57528         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
57529         (PARMS): Do not use macros from bp-asm.h.
57530         (STR): Likewise.
57531         (DELIM): Likewise.
57532         (SAVE): Likewise.
57533         (FUNCTION): Likewise.  Do not use BP_SYM.
57534         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
57535         aliases.
57536         (strtok_r): Likewise.
57537         (__GI___strtok_r): Likewise.
57538         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57539         (PARMS): Do not use macros from bp-asm.h.
57540         (S1): Likewise.
57541         (S2): Likewise.
57542         (SIZE): Likewise.
57543         (__mpn_sub_n): Do not use BP_SYM.
57544         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
57545         "bp-asm.h".
57546         (PARMS): Do not use macros from bp-asm.h.
57547         (S1): Likewise.
57548         (SIZE): Likewise.
57549         (__mpn_submul_1): Do not use BP_SYM.
57550         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
57551         <bp-sym.h>.
57552         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
57553         and <bp-asm.h>.
57554         (PARMS): Do not use macros from bp-asm.h.
57555         (FLAGS): Likewise.
57556         (PTID): Likewise.
57557         (TLS): Likewise.
57558         (CTID): Likewise.
57559         (__clone): Do not use BP_SYM.
57560         (clone): Do not use BP_SYM in weak_alias.
57561         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
57562         and <bp-asm.h>.
57563         (PARMS): Do not use macros from bp-asm.h.
57564         (LEN): Likewise.
57565         (__mmap64): Do not use BP_SYM.
57566         (mmap64): Do not use BP_SYM in weak_alias.
57567         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57568         <bp-sym.h> and <bp-asm.h>.
57569         (PARMS): Do not use macros from bp-asm.h.
57570         (__posix_fadvise64_l64): Do not use BP_SYM.
57571         * sysdeps/unix/sysv/linux/i386/semtimedop.S
57572         (PARMS): Do not use macros from bp-asm.h.
57573         (NSOPS): Likewise.
57574         (semtimedop): Do not use BP_SYM.
57575         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
57576         and <bp-asm.h>.
57578 2013-02-21  Allan McRae  <allan@archlinux.org>
57580         * manual/message.texi (Charset conversion in gettext):
57581         Move @end statement to beginning of line.
57583 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
57586         static.
57587         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57588         Likewise.
57590         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
57591         (denorm): Likewise.
57592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
57593         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
57595 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57597         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
57598         tail-call to the resolved function if pltexit isn't needed.
57600 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57602         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
57603         or Y being zero as being unlikely.
57604         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57605         Likewise.
57607 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
57609         * manual/nss.texi (System Databases and Name Service Switch):
57610         Remove frobnicate @pxref.
57612 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57614         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57615         __attribute__ ((unused)) to __attribute__ ((__unused__)).
57617 2013-02-20  Petr Machata  <pmachata@redhat.com>
57619         * elf/elf.h (R_ARM_TARGET1): New macro.
57620         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
57621         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
57622         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
57623         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
57624         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
57625         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
57626         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
57627         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
57628         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
57629         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
57630         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
57631         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
57632         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
57633         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
57634         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
57635         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
57636         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
57637         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
57638         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
57639         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
57640         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
57641         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
57642         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
57643         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
57644         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
57645         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
57646         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
57647         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
57648         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
57649         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
57650         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
57651         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
57652         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
57653         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
57654         (R_ARM_THM_GOT_BREL12): Likewise.
57655         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
57656         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
57657         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
57658         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
57659         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
57660         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
57661         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
57662         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
57663         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
57665 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57667         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57668         __attribute_used__ to __attribute__ ((unused)).
57670 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57672         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
57673         powerpc mpa.c.
57674         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
57675         comment formatting.
57676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
57678 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
57680         [BZ #13550]
57681         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
57682         Remove macro.
57683         (ENTER): Remove both macro definitions.
57684         (LEAVE): Likewise.
57685         (CHECK_BOUNDS_LOW): Likewise.
57686         (CHECK_BOUNDS_HIGH): Likewise.
57687         (CHECK_BOUNDS_BOTH): Likewise.
57688         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
57689         (RETURN_BOUNDED_POINTER): Likewise.
57690         (RETURN_NULL_BOUNDED_POINTER): Likewise.
57691         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
57692         (POP_ERRNO_LOCATION_RETURN): Likewise.
57693         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
57694         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57695         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
57696         macros.
57697         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57698         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
57699         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
57700         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
57701         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
57702         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
57703         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
57704         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
57705         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
57706         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
57707         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
57708         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
57709         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57710         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
57711         removed macros.
57712         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57713         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
57714         macros.
57715         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57716         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
57717         * sysdeps/i386/i586/memset.S (memset): Likewise.
57718         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
57719         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57720         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
57721         macros.
57722         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57723         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
57724         Change uses of L(2) to L(out).
57725         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
57726         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
57727         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
57728         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57729         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
57730         removed macros.
57731         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57732         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
57733         macros.
57734         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57735         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
57736         (RETURN): Do not use macro LEAVE.
57737         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
57738         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
57739         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
57740         * sysdeps/i386/i686/memset.S (memset): Likewise.
57741         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
57742         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
57743         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57744         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
57745         Likewise.
57746         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57747         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
57748         L(1_2) and L(1_3) into L(1).
57749         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57750         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
57751         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57752         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
57753         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57754         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
57755         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
57756         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57757         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
57758         macros.
57759         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
57760         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57761         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
57762         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
57763         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
57764         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57765         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57766         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57767         * sysdeps/i386/strcspn.S (strcspn): Likewise.
57768         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57769         * sysdeps/i386/strrchr.S (strrchr): Likewise.
57770         * sysdeps/i386/strspn.S (strspn): Likewise.
57771         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57772         conditional code.
57773         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57774         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57775         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57776         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
57777         L(1_3) into L(1_1).
57778         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57779         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57780         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57781         macros.
57782         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57784 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
57786         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57787         macro.
57789 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57791         * math/atest-exp.c (exp_mpn): Remove ROUND.
57792         * math/atest-exp2.c (exp_mpn): Likewise.
57793         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57795         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57796         * stdlib/tst-tls-atexit-lib.c: Likewise.
57797         * stdlib/tst-tls-atexit.c: Likewise.
57799 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57801         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57802         and __attribute_alloc_size__.
57804 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57806         * include/programs/xmalloc.h: Change __attribute_alloc_size to
57807         __attribute_alloc_size__.
57808         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57809         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57811 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57813         * include/programs/xmalloc.h: New file.
57814         * catgets/gencat.c: Include it.
57815         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57816         * elf/pldd.c: Likewise.
57817         * iconv/iconv_charmap.c: Likewise.
57818         * iconv/iconvconfig.c: Likewise.
57819         * iconv/strtab.c: Likewise.
57820         * locale/programs/locale.c: Likewise.
57821         * locale/programs/localedef.h: Likewise.
57822         * locale/programs/simple-hash.c: Likewise.
57823         * nscd/nscd.h: Likewise.
57824         * nss/makedb.c: Likewise.
57825         * sysdeps/generic/ldconfig.h: Likewise.
57827 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57829         * Versions.def: Add GLIBC_2.18.
57830         * include/link.h (struct link_map): New member l_tls_dtor_count.
57831         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57832         (__call_tls_dtors): Likewise.
57833         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57834         __cxa_thread_atexit_impl.
57835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57836         Likewise.
57837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57838         Likewise.
57839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57840         Likewise.
57841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57842         Likewise.
57843         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57845         Likewise.
57846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
57847         Likewise.
57848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57850         Likewise.
57851         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
57852         (tests): Add test case tst-tls-atexit.
57853         (modules-names): Add shared library for tst-tls-atexit.
57854         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
57855         (GLIBC_PRIVATE): Add __call_tls_dtors.
57856         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
57857         for libstdc++.
57858         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
57859         * stdlib/tst-tls-atexit.c: New test case.
57860         * stdlib/tst-tls-atexit-lib.c: New test case.
57862         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
57864         * elf/Versions (ld): Add _dl_find_dso_for_object.
57865         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57866         * elf/dl-open.c (_dl_find_dso_for_object): New function.
57867         (dl_open_worker): Use _dl_find_dso_for_object.
57868         * elf/dl-sym.c (do_sym): Likewise.
57869         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57871 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57873         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57874         Syntactic changes only.
57875         (_dl_runtime_profile): Do a tail-call to the resolved function.
57877 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
57879         [BZ #13550]
57880         * sysdeps/x86_64/bp-asm.h: Remove file.
57881         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57882         <bp-sym.h> and <bp-asm.h>.
57883         (__clone): Do not use BP_SYM.
57884         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57885         <bp-sym.h> and <bp-asm.h>.
57886         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57887         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57888         "bp-asm.h".
57889         (_setjmp): Do not use BP_SYM.
57890         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57891         "bp-asm.h".
57892         (setjmp): Do not use BP_SYM.
57893         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57894         libc_hidden_def.
57895         (mempcpy): Do not use BP_SYM in weak_alias.
57896         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57897         "bp-asm.h".
57898         (strchr): Do not use BP_SYM.
57899         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
57900         "bp-asm.h".
57901         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
57902         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
57903         (_start): Do not use BP_SYM.
57904         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
57905         "bp-asm.h".
57906         (strcat): Do not use BP_SYM.
57907         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
57908         "bp-asm.h".
57909         (STRCMP): Do not use BP_SYM.
57910         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
57911         "bp-asm.h".
57912         (STRCPY): Do not use BP_SYM.
57913         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
57914         "bp-asm.h".
57915         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
57916         "bp-asm.h".
57917         (FUNCTION): Do not use BP_SYM.
57918         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
57919         weak_alias.
57920         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
57922 2013-02-17  Andreas Jaeger  <aj@suse.de>
57924         * time/Versions: Sort entries.
57925         * string/Versions: Likewise.
57926         * resolv/Versions: Likewise.
57927         * posix/Versions: Likewise.
57928         * iconv/Versions: Likewise.
57929         * elf/Versions: Likewise.
57930         * wcsmbs/Versions: Likewise.
57932 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57934         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
57935         loop termination condition.
57937         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
57938         variable to calculate EZ.
57939         (__sqr): Likewise.
57941         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
57942         the lower precision input.
57944 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
57946         [BZ #13550]
57947         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
57948         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
57949         (run-via-rtld-prefix): Do not handle %-bp tests.
57950         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
57951         (all-object-suffixes): Remove .ob.
57952         (bppfx): Remove variable.
57953         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
57954         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
57955         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
57956         [$(build-bounded) = yes] (libtype.ob): Likewise.
57957         * Makerules (elide-routines.ob): Remove variable.
57958         (do-tests-clean): Do not handle *-bp.out.
57959         (common-mostlyclean): Do not handle *-bp and *-bp.out.
57960         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
57961         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
57962         (tests): Do not include $(tests-bp.out).
57963         (xtests): Do not include $(xtests-bp.out).
57964         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
57965         [$(build-bounded) = yes] ($(addprefix
57966         $(objpfx),$(binaries-bounded))): Remove rule.
57967         ($(objpfx)%-bp.out): Remove rule.
57968         * config.make.in (build-bounded): Remove variable.
57969         * crypt/Makefile [$(build-bounded) = yes]
57970         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
57971         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
57972         append to variable.
57973         [$(build-bounded) = yes] (install-lib): Likewise.
57974         [$(build-bounded) = yes] (generated): Likewise.
57975         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
57976         Remove rule.
57977         * intl/Makefile [$(build-bounded) = yes]
57978         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
57979         * math/Makefile [$(build-bounded) = yes]
57980         ($(tests:%=$(objpfx)%-bp): Likewise.
57981         * misc/Makefile [$(build-bounded) = yes]
57982         ($(objpfx)tst-tsearch-bp): Likewise.
57983         * nptl/Makeconfig (bounded-thread-library): Remove variable.
57984         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
57985         Remove dependency.
57986         * string/Makefile (o-objects.ob): Remove variable.
57987         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
57988         (CFLAGS-.ob): Remove variable.
57989         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
57990         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
57991         both definitions of variable.
57992         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
57993         (ASFLAGS-.ob): Remove variable.
57995 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
57997         [BZ #13550]
57998         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
57999         Remove __BOUNDED_POINTERS__ from condition.
58000         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
58001         * string/bits/string2.h [!__NO_STRING_INLINES &&
58002         !__BOUNDED_POINTERS__]: Likewise.
58003         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
58004         Likewise.
58005         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
58006         Remove conditional code.
58007         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
58008         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
58009         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
58010         condition.
58012         [BZ #13550]
58013         * csu/libc-start.c: Do not include <bp-sym.h>.
58014         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
58015         * elf/dl-open.c: Do not include <bp-sym.h>.
58016         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
58017         * math/fegetenv.c: Do not include <bp-sym.h>.
58018         (fegetenv): Do not use BP_SYM in versioned symbols.
58019         * nptl/sysdeps/pthread/bits/libc-lockP.h
58020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
58021         <bp-sym.h>.
58022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58023         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
58024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58025         (__pthread_mutex_destroy): Likewise.
58026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58027         (__pthread_mutex_lock): Likewise.
58028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58029         (__pthread_mutex_trylock): Likewise.
58030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58031         (__pthread_mutex_unlock): Likewise.
58032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58033         (__pthread_mutexattr_init): Likewise.
58034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58035         (__pthread_mutexattr_destroy): Likewise.
58036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58037         (__pthread_mutexattr_settype): Likewise.
58038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58039         (__pthread_rwlock_init): Likewise.
58040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58041         (__pthread_rwlock_destroy): Likewise.
58042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58043         (__pthread_rwlock_rdlock): Likewise.
58044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58045         (__pthread_rwlock_tryrdlock): Likewise.
58046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58047         (__pthread_rwlock_wrlock): Likewise.
58048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58049         (__pthread_rwlock_trywrlock): Likewise.
58050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58051         (__pthread_rwlock_unlock): Likewise.
58052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58053         (__pthread_key_create): Likewise.
58054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58055         (__pthread_setspecific): Likewise.
58056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58057         (__pthread_getspecific): Likewise.
58058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
58059         Likewise.
58060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58061         (_pthread_cleanup_push_defer): Likewise.
58062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58063         (_pthread_cleanup_pop_restore): Likewise.
58064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58065         (pthread_setcancelstate): Likewise.
58066         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
58067         <bp-sym.h>.
58068         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
58069         (memchr): Do not use BP_SYM in weak_alias.
58070         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
58071         (fegetenv): Do not use BP_SYM in versioned symbols.
58072         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
58073         (fesetenv): Do not use BP_SYM in versioned symbols.
58074         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58075         (feupdateenv): Do not use BP_SYM in versioned symbols.
58076         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58077         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58078         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
58079         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
58080         (open64): Do not use BP_SYM in weak_alias.
58081         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
58082         (fegetenv): Do not use BP_SYM in versioned symbols.
58083         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
58084         (fesetenv): Do not use BP_SYM in versioned symbols.
58085         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58086         (feupdateenv): Do not use BP_SYM in versioned symbols.
58087         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
58088         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
58089         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
58090         (feraiseexcept): Do not use BP_SYM in versioned symbols.
58091         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58092         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58093         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
58094         <bp-sym.h>.
58095         (__libc_start_main): Do not use BP_SYM.
58097 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
58100         redundant return line.
58101         (norm): Likewise.
58102         (denorm): Likewise.
58103         (dbl_mp): Likewise.
58104         (sub_magnitudes): Likewise.
58105         (__add): Likewise.
58106         (__sub): Likewise.
58107         (__mul): Likewise.
58108         (__inv): Likewise.
58109         (__dvd): Likewise.
58110         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
58111         (norm): Likewise.
58112         (denorm): Likewise.
58113         (dbl_mp): Likewise.
58114         (sub_magnitudes): Likewise.
58115         (__add): Likewise.
58116         (__sub): Likewise.
58117         (__mul): Likewise.
58118         (__inv): Likewise.
58119         (__dvd): Likewise.
58121         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
58122         instead of __mul.
58123         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58124         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
58125         (cc32): Likewise.
58127         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
58128         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
58129         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
58130         of __mul for squares.
58131         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
58132         function
58133         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
58134         Likewise.
58135         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
58136         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58138 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
58140         [BZ #13550]
58141         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
58142         code.
58143         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
58144         prototype or function definition.  Rename ubp_* variables and
58145         parameters.  Remove argv definitions conditional on
58146         [__BOUNDED_POINTERS__].
58147         * debug/backtrace.c (__backtrace): Do not use __unbounded.
58148         * elf/dl-runtime.c (_dl_fixup): Likewise.
58149         * include/set-hooks.h (RUN_HOOK): Likewise.
58150         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
58151         definition.
58152         * string/strcpy.c (strcpy): Do not use __unbounded.
58153         * sysdeps/generic/frame.h (struct layout): Likewise.
58154         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
58155         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
58156         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
58157         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
58158         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
58159         (__backtrace): Likewise.
58160         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
58161         use __ptrvalue.
58162         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
58163         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
58164         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
58165         Likewise.
58166         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
58167         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
58168         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
58169         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58170         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
58171         Do not use __unbounded.
58172         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
58173         Rename __unboundedrlimits parameter to rlimits in prototype.
58174         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
58175         Do not use __unbounded.
58176         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
58177         not use __ptrvalue.
58178         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58179         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
58180         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58181         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
58182         __ptrvalue or __unbounded.
58183         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
58184         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
58185         use __unbounded.
58186         (__new_msgctl): Do not use __ptrvalue.
58187         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
58188         __unbounded.
58189         (__libc_msgrcv): Do not use __ptrvalue.
58190         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
58191         startup_info): Do not use __unbounded.
58192         (__libc_start_main): Likewise.  Rename ubp_* variables and
58193         parameters.  Remove argv definitions conditional on
58194         [__BOUNDED_POINTERS__].
58195         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
58196         __ptrvalue.
58197         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
58198         use __unbounded.
58199         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
58200         or __ptrvalue.
58201         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
58202         use __unbounded.
58203         (__new_shmctl): Do not use __ptrvalue.
58204         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
58205         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
58206         Likewise.
58207         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
58208         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
58209         (__libc_sigaction): Likewise.
58210         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
58211         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
58212         Likewise.
58213         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58215 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
58217         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
58219         * string/mempcpy.c: Implement by calling memcpy.
58221 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58223         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
58225         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
58226         evaluation.
58228         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
58229         values in the mantissa.
58231         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
58232         minimize writes to Z.
58233         (sub_magnitudes): Simplify code a bit.
58235 2013-02-12  Roland McGrath  <roland@hack.frob.com>
58237         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
58238         from the message.  The linker prefixes all warnings with that already.
58240 2013-02-12  Andreas Schwab  <schwab@suse.de>
58242         [BZ #15078]
58243         * posix/regexec.c (extend_buffers): Add parameter min_len.
58244         (check_matching): Pass minimum needed length.
58245         (clean_state_log_if_needed): Likewise.
58246         (get_subexp): Likewise.
58247         * posix/Makefile (tests): Add bug-regex34.
58248         (bug-regex34-ENV): Define.
58249         * posix/bug-regex34.c: New file.
58251         [BZ #11561]
58252         * posix/regcomp.c (parse_bracket_exp): When looking up collating
58253         elements compare against the byte sequence of it, not its name.
58254         * posix/Makefile (tests): Add bug-regex35.
58255         (bug-regex35-ENV): Define.
58256         * posix/bug-regex35.c: New file.
58258 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58260         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
58261         comment.
58262         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
58263         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
58264         (CHECK_EOL): Add undef.
58266 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
58268         * bits/stdlib-bsearch.h: New file.
58269         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
58270         * stdlib/stdlib.h: Likewise.
58272 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58274         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
58275         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
58276         declaration.
58277         * manual/search.texi (Array Search Function): Add missing const in
58278         lfind prototype.
58279         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
58280         declaration to use rlim_t.
58281         (Basic Scheduling Functions): Remove erroneous const from
58282         sched_getparam prototype.  Remove erroneous * from
58283         sched_get_priority_max and sched_get_priority_min prototypes.
58284         (Resource Usage): Fix summary @comment on vtimes to refer to
58285         sys/vtimes.h rather than vtimes.h.
58286         Add missing *s in vtimes prototype.
58287         (Limits on Resources): Fix ulimit prototype to return long int.
58288         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
58289         prototypes to use long int rather than double.
58290         (BSD Random): Fix initstate and setstate to use char *, not void *.
58291         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
58292         prototype to make second argument 'struct aiocb64 *const[]'.
58293         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
58294         (Status of AIO Operations): Remove erroneous const in aio_return and
58295         aio_return64 prototypes.
58296         (Synchronizing I/O): Fix sync prototype to return void.
58297         * manual/startup.texi (Suboptions): Remove an erroneous const in
58298         getsubopt prototype.
58299         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
58300         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
58301         use size_t rather than int.
58302         (Scanning All Users): Likewise for getpwent_r.
58303         (Setting Groups): Add missing const to setgroups prototype.
58304         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
58305         * manual/socket.texi (Host Names): Fix gethostbyaddr and
58306         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
58307         'const void *' rather than 'const char *'.
58308         (Host Address Functions): Likewise for inet_ntop.
58309         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
58310         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
58311         ssize_t for return value.
58312         (Sending Data): Likewise for send, sendto, sendmsg.
58313         (Socket Option Functions): Add a missing const in setsockopt prototype.
58314         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
58315         use wchar_t for the argument.
58316         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
58317         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
58318         take no arguments.
58319         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
58320         double/float/long double for second argument.
58321         Fix return types of significand, significandf, significandl.
58322         * manual/filesys.texi (Setting Permissions): Use mode_t for second
58323         argument in fchmod prototype.
58324         (File Owner): Use uid_t and gid_t in fchown prototype.
58325         (File Times): Add const to utimes, futimes, and lutimes prototypes.
58326         (Making Special Files): Use mode_t and dev_t in mknod prototype.
58327         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
58328         use 'const struct dirent **' as argument types to CMP function pointer
58329         argument.
58330         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
58331         (File Times): Fix summary magic @comment for struct utimbuf and utime
58332         to refer to utime.h, not time.h.
58333         * manual/string.texi (Argz Functions): Add missing const in
58334         argz_extract and argz_next prototypes.
58335         (Finding Tokens in a String): Likewise for basename.
58336         (String/Array Comparison): Fix typo in wcscasecmp prototype.
58337         (Copying and Concatenation): Fix typo in wmemmove prototype.
58338         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
58339         (Signal Stack): Remove erroneous const in sigstack prototype.
58340         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
58341         prototype.
58342         (Simple Calendar Time): Likewise for stime.
58343         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
58344         prototype.
58345         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
58346         say sys/sysctl.h instead.
58347         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
58348         and vsyslog prototypes.
58350 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58352         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
58353         Remove.
58355 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58357         * misc/sys/mman.h: Fix typo in mremap comment.
58359 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58361         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
58362         the '\0' terminator.
58364 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58366         [BZ #13550]
58367         * debug/segfault.c: Don't include <bp-checks.h>.
58368         * sysdeps/generic/bp-checks.h: Remove file.
58369         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
58370         (__GETDENTS): Don't use CHECK_N.
58371         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
58372         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
58373         (__getgroups): Don't use CHECK_N.
58374         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
58375         (setgroups): Don't use CHECK_N.
58376         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
58377         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
58378         (__libc_msgrcv): Don't use CHECK_N.
58379         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
58380         (__libc_msgsnd): Don't use CHECK_N.
58381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
58382         <bp-checks.h>.
58383         (__libc_pread): Don't use CHECK_N.
58384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
58385         include <bp-checks.h>.
58386         (__libc_pread64): Don't use CHECK_N.
58387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
58388         include <bp-checks.h>.
58389         (__libc_pwrite): Don't use CHECK_N.
58390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
58391         include <bp-checks.h>.
58392         (__libc_pwrite64): Don't use CHECK_N.
58393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58394         <bp-checks.h>.
58395         (__libc_pread): Don't use CHECK_N.
58396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58397         include <bp-checks.h>.
58398         (__libc_pread64): Don't use CHECK_N.
58399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58400         include <bp-checks.h>.
58401         (__libc_pwrite): Don't use CHECK_N.
58402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58403         include <bp-checks.h>.
58404         (__libc_pwrite64): Don't use CHECK_N.
58405         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58406         (do_pread): Don't use CHECK_N.
58407         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58408         (do_pread64): Don't use CHECK_N.
58409         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58410         (do_pwrite): Don't use CHECK_N.
58411         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58412         (do_pwrite64): Don't use CHECK_N.
58413         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58414         (__libc_readv): Don't use CHECK_N.
58415         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58416         (semop): Don't use CHECK_N.
58417         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
58418         <bp-checks.h>.
58419         (semtimedop): Don't use CHECK_N.
58420         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58421         (__libc_pread): Don't use CHECK_N.
58422         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
58423         <bp-checks.h>.
58424         (__libc_pread64): Don't use CHECK_N.
58425         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
58426         <bp-checks.h>.
58427         (__libc_pwrite): Don't use CHECK_N.
58428         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
58429         <bp-checks.h>.
58430         (__libc_pwrite64): Don't use CHECK_N.
58431         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
58432         <bp-checks.h>.
58433         (__libc_msgrcv): Don't use CHECK_N.
58434         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
58435         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
58436         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
58437         (__libc_writev): Don't use CHECK_N.
58439 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58441         * string/strcpy.c: Removed unused variable.
58443         * Makeconfig (+sysdep-includes): Define with := rather than =.
58444         Use an existing include/ subdir of each sysdeps dir before it.
58446 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58448         * nscd/connection.c (register_traced_file): Comment function.
58449         [HAVE_INOTIFY] (union __inev): Define.
58450         [HAVE_INOTIFY] (inotify_check_files): New function.
58451         [HAVE_INOTIFY] (clear_db_cache): Likewise.
58452         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
58453         clear_db_cache.
58454         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
58456 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58458         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
58459         loaded if not already and that a failure is permanent.
58461 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58463         [BZ #15006]
58464         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
58465         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
58467 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58469         [BZ #13550]
58470         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
58471         (CHECK_1_NULL_OK): Likewise.
58472         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
58473         (__fxstat): Do not use CHECK_1.
58474         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
58475         <bp-checks.h>.
58476         (___fxstat64): Do not use CHECK_1.
58477         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
58478         <bp-checks.h>.
58479         (__fxstatat): Do not use CHECK_1.
58480         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
58481         <bp-checks.h>.
58482         (__fxstatat64): Do not use CHECK_1.
58483         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
58484         <bp-checks.h>.
58485         (__fxstat): Do not use CHECK_1.
58486         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
58487         <bp-checks.h>.
58488         (__fxstatat): Do not use CHECK_1.
58489         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58490         <bp-checks.h>.
58491         (__getresgid): Do not use CHECK_1.
58492         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58493         <bp-checks.h>.
58494         (__getresuid): Do not use CHECK_1.
58495         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58496         <bp-checks.h>.
58497         (__lxstat): Do not use CHECK_1.
58498         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58499         <bp-checks.h>.
58500         (__old_msgctl): Do not use CHECK_1.
58501         (__new_msgctl): Likewise.
58502         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
58503         <bp-checks.h>.
58504         (__new_setrlimit): Do not use CHECK_1.
58505         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58506         <bp-checks.h>.
58507         (__old_shmctl): Do not use CHECK_1.
58508         (__new_shmctl): Likewise.
58509         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
58510         <bp-checks.h>.
58511         (__xstat): Do not use CHECK_1.
58512         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58513         (__lxstat): Do not use CHECK_1.
58514         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
58515         <bp-checks.h>.
58516         (___lxstat64): Do not use CHECK_1.
58517         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
58518         (__old_msgctl): Do not use CHECK_1.
58519         (__new_msgctl): Likewise.
58520         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
58521         <bp-checks.h>.
58522         (__gettimeofday): Do not use CHECK_1.
58523         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
58524         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
58525         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
58526         <bp-checks.h>.
58527         (__gettimeofday): Do not use CHECK_1.
58528         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
58529         (__old_shmctl): Do not use CHECK_1_NULL_OK.
58530         (__new_shmctl): Do not use CHECK_1.
58531         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
58532         <bp-checks.h>.
58533         (do_sigtimedwait): Do not use CHECK_1.
58534         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
58535         <bp-checks.h>.
58536         (do_sigwaitinfo): Do not use CHECK_1.
58537         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
58538         <bp-checks.h>.
58539         (msgctl): Do not use CHECK_1.
58540         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
58541         <bp-checks.h>.
58542         (shmctl): Do not use CHECK_1.
58543         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
58544         (ustat): Do not use CHECK_1.
58545         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
58546         <bp-checks.h>.
58547         (__fxstat): Do not use CHECK_1.
58548         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
58549         <bp-checks.h>.
58550         (__fxstatat): Do not use CHECK_1.
58551         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
58552         <bp-checks.h>.
58553         (__lxstat): Do not use CHECK_1.
58554         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
58555         <bp-checks.h>.
58556         (__xstat): Do not use CHECK_1.
58557         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
58558         (__xstat): Do not use CHECK_1.
58559         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
58560         (___xstat64): Do not use CHECK_1.
58562         [BZ #13550]
58563         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
58564         definitions.
58565         (CHECK_BOUNDS_HIGH): Likewise.
58566         * string/strcpy.c: Do not include <bp-checks.h>.
58567         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
58569 2013-02-07  Roland McGrath  <roland@hack.frob.com>
58571         * nscd/nscd-client.h (__nscd_drop_map_ref):
58572         Add __attribute__ ((unused)).
58573         * nis/nss-nisplus.h (niserr2nss): Likewise.
58575         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
58576         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
58578         * csu/libc-tls.c (init_static_tls, init_slotinfo):
58579         Remove inline keyword.
58580         * include/rounding-mode.h (round_away): Likewise.
58581         * libio/wfileops.c (adjust_wide_data): Likewise.
58582         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
58583         (__m128i_strloadu_tolower): Likewise.
58584         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
58585         (__m128i_strloadu_tolower): Likewise.
58586         * time/mktime.c (ydhms_diff): Likewise.
58587         * locale/elem-hash.h (elem_hash): Likewise.
58588         * locale/setlocale.c (setdata): Likewise.
58589         * posix/regex_internal.h (re_string_char_size_at): Likewise.
58590         (re_string_wchar_at): Likewise.
58591         (bitset_not, bitset_merge, bitset_mask): Likewise.
58592         [!(__GNUC__ > 3)] (inline): Remove macro.
58593         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
58594         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
58595         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
58596         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
58597         * string/memcmp.c (memcmp_bytes): Likewise.
58598         * locale/programs/locarchive.c (compute_hashval): Likewise.
58599         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
58600         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
58601         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
58602         * nss/getent.c (print_rpc, print_protocols): Likewise.
58603         (print_passwd, print_group, print_aliases): Likewise.
58604         * nis/nss-nisplus.h (niserr2nss): Likewise.
58605         * nscd/connections.c (restart_p): Likewise.
58606         Change return type to bool.
58608 2013-02-05  Roland McGrath  <roland@hack.frob.com>
58610         * Makeconfig (all-Depend-files): Add existing
58611         $(sorted-subdirs:=/Depend) files.
58612         (all-subdirs): Remove nss.
58613         * sysdeps/unix/inet/Subdirs: Add it here instead.
58614         * hesiod/Depend: New file.
58616         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
58617         instead of calling alloca.
58619         * io/lseek.c (__lseek): Rename to __libc_lseek.
58620         Define __lseek as an alias.
58622         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
58624 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
58626         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
58627         else clause and remove check for non-standard endianness.
58629 2013-02-04  David S. Miller  <davem@davemloft.net>
58631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58633 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
58635         [BZ #13550]
58636         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
58637         (__ubp_memchr): Remove prototype.
58638         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
58639         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58640         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
58641         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58642         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
58643         Remove alias.
58644         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
58645         (__ubp_memchr): Likewise.
58646         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
58647         (__ubp_memchr): Likewise.
58648         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
58649         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
58650         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
58651         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
58652         CHECK_STRING.
58653         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
58654         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
58655         (__getcwd): Do not use CHECK_STRING.
58656         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58657         <bp-checks.h>.
58658         (__real_chown): Do not use CHECK_STRING.
58659         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
58660         <bp-checks.h>.
58661         (fchownat): Do not use CHECK_STRING.
58662         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
58663         CHECK_STRING.
58664         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58665         <bp-checks.h>.
58666         (__lchown): Do not use CHECK_STRING.
58667         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58668         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58669         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58670         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
58671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58672         include <bp-checks.h>.
58673         (truncate64): Do not use CHECK_STRING.
58674         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58675         <bp-checks.h>.
58676         (__real_chown): Do not use CHECK_STRING.
58677         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58678         <bp-checks.h>.
58679         (__lchown): Do not use CHECK_STRING.
58680         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58681         <bp-checks.h>.
58682         (__chown): Do not use CHECK_STRING.
58683         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
58684         <bp-checks.h>.
58685         (truncate64): Do not use CHECK_STRING.
58686         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
58687         Likewise.
58688         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
58689         (__xmknod): Do not use CHECK_STRING.
58690         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
58691         <bp-checks.h>.
58692         (__xmknodat): Do not use CHECK_STRING.
58693         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58694         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
58696 2013-02-04  Andreas Schwab  <schwab@suse.de>
58698         [BZ #14142]
58699         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
58700         * include/netdb.h: Likewise for h_errno.
58701         * elf/tst-stackguard1.c: Include <tls.h>.
58703 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
58705         * elf/link.h (struct link_map): Extend the l_addr comment.
58706         * include/link.h (struct link_map): Likewise.
58708 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
58710         [BZ #13550]
58711         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
58712         (BOUNDED_1): Remove macro.
58713         * debug/backtrace.c: Don't include <bp-checks.h>.
58714         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
58715         (__backtrace): Likewise.
58716         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
58717         <bp-checks.h>.
58718         (__backtrace): Don't use BOUNDED_1.
58719         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
58720         <bp-checks.h>.
58721         (__backtrace): Don't use BOUNDED_1.
58722         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
58723         (__backtrace): Don't use BOUNDED_1.
58724         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
58725         (shmat): Don't use BOUNDED_N.
58727 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
58729         [BZ #13550]
58730         * sysdeps/generic/bp-start.h: Remove file.
58731         * csu/libc-start.c: Don't include <bp-start.h>.
58732         (LIBC_START_MAIN): Set up __environ directly instead of using
58733         INIT_ARGV_and_ENVIRON.
58734         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
58735         <bp-start.h>.
58737         [BZ #13550]
58738         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
58739         definitions.
58740         (CHECK_FCNTL): Likewise.
58741         (CHECK_N_PAGES): Likewise.
58743         [BZ #13550]
58744         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
58745         definitions.
58746         (CHECK_SIGSET_NULL_OK): Likewise.
58747         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
58748         <bp-checks.h>.
58749         (sigpending): Don't use CHECK_SIGSET.
58750         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
58751         <bp-checks.h>.
58752         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58753         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
58754         <bp-checks.h>.
58755         (do_sigsuspend): Don't use CHECK_SIGSET.
58756         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
58757         use CHECK_SIGSET.
58758         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
58759         (do_sigwait): Don't use CHECK_SIGSET.
58760         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
58761         use CHECK_SIGSET.
58762         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
58763         include <bp-checks.h>.
58764         (sigpending): Don't use CHECK_SIGSET.
58765         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58766         include <bp-checks.h>.
58767         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58768         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58769         <bp-checks.h>.
58770         (sigpending): Don't use CHECK_SIGSET.
58771         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58772         <bp-checks.h>.
58773         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58775         [BZ #13550]
58776         * sysdeps/generic/bp-semctl.h: Remove file.
58777         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58778         <bp-checks.h> and <bp-semctl.h>.
58779         (__old_semctl): Don't use CHECK_SEMCTL.
58780         (__new_semctl): Likewise.
58781         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58782         and <bp-semctl.h>.
58783         (__old_semctl): Don't use CHECK_SEMCTL.
58784         (__new_semctl): Likewise.
58785         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58786         <bp-checks.h> and <bp-semctl.h>.
58787         (__old_semctl): Don't use CHECK_SEMCTL.
58788         (__new_semctl): Likewise.
58789         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58790         <bp-checks.h> and <bp-semctl.h>.
58791         (semctl): Don't use CHECK_SEMCTL.
58793         [BZ #13550]
58794         * Makerules (elide-bp-thunks): Remove variable.
58795         (elide-routines.oS): Don't use $(elide-bp-thunks).
58796         (elide-routines.os): Likewise.
58797         (elide-routines.o): Likewise.
58798         (elide-routines.op): Likewise.
58799         (elide-routines.og): Likewise.
58800         (objects): Don't use $(bp-thunks).
58801         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58802         include.
58803         (common-generated): Do not add s-proto-bp.d.
58804         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58805         (int): Likewise.
58806         (typ): Likewise.
58807         Do not generate makefile rules for bounded-pointer thunks.
58808         * sysdeps/generic/bp-thunks.h: Remove file.
58809         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58810         * sysdeps/unix/s-proto-bp.S: Likewise.
58812         [BZ #15062]
58813         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58814         parts of result separately when argument is not close to line from
58815         -i to i and one part of argument is small.
58816         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58817         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58818         * math/libm-test.inc (cacos_test): Add more tests.
58819         (casin_test): Likewise.
58820         (casinh_test): Likewise.
58821         * sysdeps/i386/fpu/libm-test-ulps: Update.
58822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58824 2013-01-31  David S. Miller  <davem@davemloft.net>
58826         * po/de.po: Update from translation team.
58828 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
58830         * time/tzfile.c: Include stdint.h for SIZE_MAX.
58832 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
58834         * configure.in (_AC_PROG_CC_C89): New definition.
58835         * configure: Regenerate.
58837         * configure.in (AC_PROG_CPP): New definition.
58838         * configure: Regenerate.
58840 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58842         * debug/tst-backtrace.h: New file.
58843         * debug/tst-backtrace2.c: Include tst-backtrace.h.
58844         (ret): Remove variable.
58845         (x): Likewise.
58846         (FAIL): Remove macro.
58847         (NO_INLINE): Likewise.
58848         (fn1): Use match function instead of strstr.
58849         * debug/tst-backtrace3.c: Include tst-backtrace.h.
58850         (ret): Remove variable.
58851         (x): Likewise.
58852         (FAIL): Remove macro.
58853         (NO_INLINE): Likewise.
58854         (fn): Use match function instead of strstr.
58855         * debug/tst-backtrace4.c: Include tst-backtrace.h.
58856         (ret): Remove variable.
58857         (x): Likewise.
58858         (FAIL): Remove macro.
58859         (NO_INLINE): Likewise.
58860         (handle_signal): Use match function instead of strstr.
58861         * debug/tst-backtrace5.c: Include tst-backtrace.h.
58862         (ret): Remove variable.
58863         (x): Likewise.
58864         (FAIL): Remove macro.
58865         (NO_INLINE): Likewise.
58866         (handle_signal): Use match function instead of strstr.
58868 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58870         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58872 2013-01-23  David S. Miller  <davem@davemloft.net>
58874         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58875         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58876         argument of CAS if possible.
58877         * sysdeps/sparc/sparc64/bits/atomic.h
58878         (__arch_compare_and_exchange_val_32_acq): Likewise.
58879         (__arch_compare_and_exchange_val_64_acq): Likewise.
58881 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
58883         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58884         * sysdeps/posix/ulimit.c: ... this.
58885         Include <limits.h>.
58886         * sysdeps/unix/bsd/ulimit.c: Remove file.
58888 2013-01-23  Adam Conrad  <adconrad@0c3.net>
58890         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58891         (LDFLAGS-tst-array5): Likewise.
58893 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58895         [BZ #15036]
58896         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58897         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
58898         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
58899         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
58901 2013-01-21  David S. Miller  <davem@davemloft.net>
58903         * sysdeps/sparc/backtrace.c: New file.
58904         * sysdeps/sparc/sparc32/backtrace.h: New file.
58905         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
58906         * sysdeps/sparc/sparc64/backtrace.h: New file.
58907         * sysdeps/sparc/sparc64/backtrace.c: Delete.
58908         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
58909         -funwind-tables.
58911 2013-01-21  Andreas Schwab  <schwab@suse.de>
58913         [BZ #15020]
58914         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
58915         closed its stdout.
58917 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
58919         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
58920         "mpa2.h".
58921         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58923 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
58924             Mark Mitchell  <mark@codesourcery.com>
58925             Tom de Vries  <tom@codesourcery.com>
58926             Paul Pluzhnikov  <ppluzhnikov@google.com>
58928         * debug/tst-backtrace2.c: New file.
58929         * debug/tst-backtrace3.c: Likewise.
58930         * debug/tst-backtrace4.c: Likewise.
58931         * debug/tst-backtrace5.c: Likewise.
58932         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
58933         (CFLAGS-tst-backtrace3.c): Likewise.
58934         (CFLAGS-tst-backtrace4.c): Likewise.
58935         (CFLAGS-tst-backtrace5.c): Likewise.
58936         (LDFLAGS-tst-backtrace2): Likewise.
58937         (LDFLAGS-tst-backtrace3): Likewise.
58938         (LDFLAGS-tst-backtrace4): Likewise.
58939         (LDFLAGS-tst-backtrace5): Likewise.
58940         (tests): Add new tests tst-backtrace2, tst-backtrace3,
58941         tst-backtrace4 and tst-backtrace5.
58943 2013-01-18  Anton Blanchard  <anton@samba.org>
58944             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58946         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
58947         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
58948         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
58949         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
58950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58951         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
58952         "+r" and remove output regs list as redundant.  Add explicit inline
58953         asm to specify register of return val to work around compiler codegen
58954         bug.  Remove (int) cast on return value.  Add return type parameter to
58955         use in macro so that this macro does not truncate return value for
58956         64-bit values.
58957         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
58958         pass to INTERNAL_VSYSCALL_NCS.
58959         (INLINE_VSYSCALL): Add 'long int' as return type to
58960         INTERNAL_VSYSCALL_NCS macro invocation.
58961         (INTERNAL_VSYSCALL): Add 'long int' as return type to
58962         INTERNAL_VSYSCALL_NCS macro invocation.
58963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58965 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58967         [BZ #14496]
58968         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
58969         Fix application of SIMD FP exception mask.
58971         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
58972         mp_no from a power of two.
58973         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
58974         __mpexp_twomm1.  Use __pow_mp.
58976         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
58977         multiplication.
58979 2013-01-17  David S. Miller  <davem@davemloft.net>
58981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58983 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58985         [BZ #15023]
58986         * include/complex.h: Condition contents on [!_COMPLEX_H].
58987         (__kernel_casinhf): New prototype.
58988         (__kernel_casinh): Likewise.
58989         (__kernel_casinhl): Likewise.
58990         * math/Makefile (libm_calls): Add k_casinh.
58991         * math/k_casinh.c: New file.
58992         * math/k_casinhf.c: Likewise.
58993         * math/k_casinhl.c: Likewise.
58994         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
58995         finite nonzero arguments.
58996         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
58997         finite nonzero arguments.
58998         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
58999         finite nonzero arguments.
59000         * math/s_casinh.c: Do not include <float.h>.
59001         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
59002         * math/s_casinhf.c: Do not include <float.h>.
59003         (__casinhf): Move code for finite nonzero arguments to
59004         k_casinhf.c.
59005         * math/s_casinhl.c: Do not include <float.h>.
59006         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
59007         redefine.
59008         (__casinhl): Move code for finite nonzero arguments to
59009         k_casinhl.c.
59010         * math/libm-test.inc (cacos_test): Add more tests.
59011         * sysdeps/i386/fpu/libm-test-ulps: Update.
59012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59014 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
59016         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
59017         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
59018         [!HAVE_MREMAP]: Remove [defined linux] case.
59019         * malloc/arena.c: Do not include <malloc-sysdep.h>.
59021 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59023         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
59025 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
59027         * elf/elf.h (R_386_SIZE32): New relocation.
59028         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
59029         R_386_SIZE32.
59030         (elf_machine_rela): Likewise.
59031         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59032         R_X86_64_SIZE64 and R_X86_64_SIZE32.
59034 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59036         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
59037         (FP_FAST_FMA): Do not define.
59038         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
59039         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
59040         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
59041         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
59042         !_SOFT_FLOAT]: Likewise.
59043         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
59044         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
59045         value.
59046         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
59047         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
59048         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
59049         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
59050         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
59051         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
59052         file.
59054 2013-01-16  Andreas Schwab  <schwab@suse.de>
59056         [BZ #14327]
59057         * include/stdlib.h (__mktemp): Add declaration.
59058         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
59059         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
59061 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59063         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
59064         definitions.
59065         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59066         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
59067         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
59068         definitions here.
59069         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
59070         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
59071         definitions.
59072         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
59073         and ONE.
59074         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
59075         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
59076         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
59077         definitions.
59078         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
59079         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
59080         definitions.
59081         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59083         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
59085 2013-01-15  David S. Miller  <davem@davemloft.net>
59087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59088         trunc{,f} to libm-sysdep_routes.
59089         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
59091         file.
59092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
59093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
59094         file.
59095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
59096         file.
59097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
59098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
59099         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
59100         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
59101         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
59102         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
59103         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
59104         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
59106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59107         nearbyint{,f} to libm-sysdep_routes.
59108         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
59110         New file.
59111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
59112         file.
59113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
59114         New file.
59115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
59116         file.
59117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
59118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
59119         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
59120         file.
59121         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
59122         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
59123         file.
59124         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
59125         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
59126         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
59128         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59129         libc_feholdexcept and libc_fesetenv.
59131 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
59133         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
59135 2013-01-14  David S. Miller  <davem@davemloft.net>
59137         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
59138         (SPARC_ASM_VIS2_IFUNC): Likewise.
59139         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
59140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
59141         use of 'siam' instruction.
59142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
59143         Likewise.
59144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
59145         Likewise.
59146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
59147         Likewise.
59148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
59149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
59150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
59151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
59152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
59153         file.
59154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
59155         file.
59156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
59157         file.
59158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
59159         file.
59160         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
59161         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
59162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
59163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
59164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
59165         new VIS2 routines.
59166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59169         Likewise.
59170         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59171         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59173         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
59175         routines to libm-sysdep_routines.
59176         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59179         fdim/fdimf to libm-sysdep_routines.
59180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
59181         file.
59182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
59183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
59184         file.
59185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
59186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
59187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
59188         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
59189         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
59190         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
59191         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
59193 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59195         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
59196         to optimize copies.
59198         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
59199         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59200         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59202         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
59203         local variable MPTWO.
59204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59205         Likewise.
59207 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59209         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
59210         GLOB_NOESCAPE.
59212 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59214         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
59216 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59218         * manual/pattern.texi (glob_t): Document gl_flags.
59219         (glob64_t): Likewise.
59221 2013-01-11  David S. Miller  <davem@davemloft.net>
59223         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
59224         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
59225         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
59226         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
59227         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
59228         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
59229         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
59230         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
59231         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
59232         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
59233         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
59234         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
59235         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
59237         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59238         sparc V9 rather than using V8 code.
59239         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59240         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59242         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59243         Move to...
59244         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
59245         Here.
59247 2013-01-11  Roland McGrath  <roland@hack.frob.com>
59249         [BZ #14941]
59250         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
59251         not in the main loop.
59252         * configure: Regenerated.
59254 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
59256         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
59257         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
59258         to just #else.
59259         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
59260         [!__GLIBC_HAVE_LONG_LONG] case.
59261         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
59262         condition to just #else.
59263         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
59264         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
59265         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
59266         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
59267         unconditional.
59268         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
59269         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59270         #elif condition to just #else.
59271         * sysdeps/unix/sysv/linux/sys/sysmacros.h
59272         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
59273         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59274         #elif condition to just #else.
59276 2013-01-11  Steve Ellcey  <sellcey@mips.com>
59278         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
59279         (EF_MIPS_ARCH_64): Fix value.
59280         (EF_MIPS_ARCH_32R2): New.
59281         (EF_MIPS_ARCH_64R2): New.
59283 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
59285         * Makeconfig (+link-pie-before-libc): New.
59286         (+link-pie-after-libc): Likewise.
59287         (+link-pie-tests): Likewise.
59288         (+link-pie): Rewritten.
59289         (link-before-libc): Remove $(config-LDFLAGS).
59290         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
59291         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
59292         (config-LDFLAGS): Renamed to ...
59293         (rtld-LDFLAGS): This.
59294         (rtld-tests-LDFLAGS): New macro.
59295         (link-libc-rpath-link): Likewise.
59296         (link-libc-tests-rpath-link): Likewise.
59297         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
59298         (link-libc): Prepand $(link-libc-rpath-link).
59299         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
59300         (test-program-prefix): New macro.
59301         (test-via-rtld-prefix): Likewise.
59302         (test-program-cmd): Likewise.
59303         (host-test-program-cmd): Likewise.
59304         * Makefile ($(common-objpfx)testrun.sh): Replace
59305         $(run-program-prefix) with $(test-program-prefix).
59306         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
59307         $(rtld-LDFLAGS).
59308         ($(common-objpfx)shlib.lds): Likewise.
59309         (build-module-helper): Likewise.
59310         ($(common-objpfx)format.lds): Likewise.
59311         * Rules (binaries-pie-tests): New.
59312         (binaries-pie-notests): Likewise.
59313         (binaries-pie): Rewritten.
59314         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
59315         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
59316         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
59317         (make-test-out): Replace $(host-built-program-cmd) with
59318         $(host-test-program-cmd).
59319         * config.make.in (build-hardcoded-path-in-tests): New variable.
59320         * configure.in (--enable-hardcoded-path-in-tests): New configure
59321         option.
59322         (hardcoded_path_in_tests): New AC_SUBST.
59323         * configure: Regenerated.
59324         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
59325         $(built-program-cmd) with $(test-program-cmd).
59326         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
59327         (test_program_cmd): This.
59328         * elf/Makefile ($(objpfx)order.out): Run test with
59329         $(test-program-prefix).
59330         ($(objpfx)order2.out): Likewise.
59331         ($(objpfx)tst-initorder.out): Likewise.
59332         ($(objpfx)tst-initorder2.out): Likewise.
59333         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59334         $(test-program-cmd).
59335         ($(objpfx)tst-array1-static.out): Likewise.
59336         ($(objpfx)tst-array2.out): Likewise.
59337         ($(objpfx)tst-array3.out): Likewise.
59338         ($(objpfx)tst-array4.out): Likewise.
59339         ($(objpfx)tst-array5.out): Likewise.
59340         ($(objpfx)tst-array5-static.out): Likewise.
59341         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
59342         $(test-program-cmd).
59343         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
59344         $(run-program-prefix) with $(test-program-prefix).
59345         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
59346         (test_program_prefix): This.
59347         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
59348         $(run-program-prefix) with $(test-program-prefix).
59349         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
59350         (test_program_prefix): This.
59351         * iconvdata/tst-tables.sh: Likewise.
59352         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
59353         $(run-program-prefix) with $(test-program-prefix).
59354         ($(objpfx)tst-translit.out): Likewise.
59355         ($(objpfx)tst-gettext2.out): Likewise.
59356         ($(objpfx)tst-gettext4.out): Likewise.
59357         ($(objpfx)tst-gettext6.out): Likewise.
59358         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
59359         (test_program_prefix): This.
59360         * intl/tst-gettext2.sh: Likewise.
59361         * intl/tst-gettext4.sh  Likewise.
59362         * intl/tst-gettext6.sh: Likewise.
59363         * intl/tst-translit.sh: Likewise.
59364         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
59365         with $(test-program-cmd).
59366         * libio/Makefile ($(objpfx)test-freopen.out): Replace
59367         $(run-program-prefix) with $(test-program-prefix).
59368         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
59369         (test_program_prefix): This.
59370         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
59371         $(run-program-prefix) with $(test-program-prefix).
59372         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
59373         (test_program_prefix): This.
59374         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
59375         * posix/Makefile ($(objpfx)globtest.out): Replace
59376         $(run-via-rtld-prefix) and $(test-wrapper) with
59377         $(test-program-prefix) and $(test-via-rtld-prefix).
59378         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
59379         $(test-program-prefix).
59380         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
59381         $(host-test-program-cmd).
59382         (tst-spawn-ARGS): Likewise.
59383         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
59384         $(test-program-prefix).
59385         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
59386         (test_via_rtld_prefix): This.
59387         (test_wrapper): Renamed to ...
59388         (test_program_prefix): This.
59389         (run_program_prefix): Replaced by test_program_prefix.
59390         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
59391         (test_program_prefix): This.
59392         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
59393         with $(host-test-program-cmd).
59394         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59395         $(run-program-prefix) with $(test-program-prefix).
59396         ($(objpfx)tst-printf.out): Likewise.
59397         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59398         $(test-program-cmd).
59399         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59400         (test_program_prefix): This.
59401         * stdio-common/tst-unbputc.sh: Likewise.
59402         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59403         $(run-program-prefix) with $(test-program-prefix).
59404         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59405         (test_program_prefix): This.
59406         * string/Makefile ($(objpfx)tst-svc.out):  Replace
59407         $(built-program-cmd) with $(test-program-cmd).
59409 2013-01-11  Andreas Jaeger  <aj@suse.de>
59411         [BZ #15003]
59412         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59413         value. Sync with Linux 3.7.
59415 2013-01-10  David S. Miller  <davem@davemloft.net>
59417         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
59418         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59419         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59421 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59423         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
59424         never set.
59425         * configure: Regenerated.
59427 2013-01-10  David S. Miller  <davem@davemloft.net>
59429         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59430         sparc V9 rather than using V8 code.
59431         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59432         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59434 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59436         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
59437         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
59438         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
59439         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
59440         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
59441         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
59442         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
59443         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
59444         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
59445         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
59446         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
59447         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
59448         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
59449         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
59450         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
59451         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
59452         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
59453         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
59454         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
59455         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
59456         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
59457         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
59458         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
59459         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
59460         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
59461         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
59462         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
59464 2013-01-10  David S. Miller  <davem@davemloft.net>
59466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59468 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59470         * posix/Makefile (tests-static): New variable.
59471         (tests): Add $(tests-static).
59472         (tst-exec-static-ARGS): New variable.
59473         (tst-spawn-static-ARGS): Likewise.
59474         * posix/tst-exec-static.c: New file.
59475         * posix/tst-spawn-static.c: Likewise.
59476         * posix/tst-exec.c: Support run directly.
59477         * posix/tst-spawn.c: Likewise.
59479 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
59481         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
59482         long.
59483         * math/bits/mathcalls.h (llrint): Likewise.
59484         (llround): Likewise.
59485         * stdlib/stdlib.h (struct drand48_data): Likewise.
59486         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
59487         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
59488         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
59489         Likewise.
59490         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59491         Likewise.
59492         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
59493         (elf_greg_t): Likewise.
59494         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
59495         (__jmp_buf): Likewise.
59496         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
59497         definitions.
59498         (llrint): Likewise, for all definitions.
59499         (llrintl): Likewise.
59501         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
59502         Remove [__GNUC__] condition.
59503         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
59504         condition to just [__USE_ISOC99].
59505         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
59507 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59509         [BZ #14200]
59510         * sysdeps/unix/sysv/linux/x86/bits/environments.h
59511         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
59512         defined.
59513         (_POSIX_V6_ILP32_OFF32): Likewise.
59514         (_XBS5_ILP32_OFF32): Likewise.
59515         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
59516         (__ILP32_OFFBIG_LDFLAGS): Likewise.
59518 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59520         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
59522         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
59523         doubles __mpexp_twomm1.  Adjust usage.
59524         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
59525         Remove.
59527 2013-01-10  Andreas Schwab  <schwab@suse.de>
59529         [BZ #14964]
59530         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
59531         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
59533 2013-01-09  David S. Miller  <davem@davemloft.net>
59535         [BZ #15003]
59536         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
59537         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
59538         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
59539         (TCP_FASTOPEN): Define.
59540         (tcp_repair_opt): New structure.
59541         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
59542         enum values.
59543         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
59544         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
59545         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
59546         (tcp_cookie_transactions): New structure.
59548 2013-01-09  Anton Blanchard  <anton@samba.org>
59550         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
59551         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
59552         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
59553         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
59555 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
59557         * include/features.h (__USE_ANSI): Remove.
59559 2013-01-09  Roland McGrath  <roland@hack.frob.com>
59561         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
59563         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
59565 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
59567         * sysdeps/s390/fpu/libm-test-ulps: Update.
59569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59571         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
59572         (__acr): Likewise.
59573         (__cpy): Likewise.
59574         (norm): Likewise.
59575         (denorm): Likewise.
59576         (__mp_dbl): Likewise.
59577         (__dbl_mp): Likewise.
59578         (add_magnitudes): Likewise.
59579         (sub_magnitudes): Likewise.
59580         (__add): Likewise.
59581         (__sub): Likewise.
59582         (__mul): Likewise.
59583         (__inv): Likewise.
59584         (__dvd): Likewise.
59585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
59586         (__acr): Likewise.
59587         (__cpy): Likewise.
59588         (norm): Likewise.
59589         (denorm): Likewise.
59590         (__mp_dbl): Likewise.
59591         (__dbl_mp): Likewise.
59592         (add_magnitudes): Likewise.
59593         (sub_magnitudes): Likewise.
59594         (__add): Likewise.
59595         (__sub): Likewise.
59596         (__mul): Likewise.
59597         (__inv): Likewise.
59598         (__dvd): Likewise.
59599         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
59600         (__acr): Likewise.
59601         (__cpy): Likewise.
59602         (norm): Likewise.
59603         (denorm): Likewise.
59604         (__mp_dbl): Likewise.
59605         (__dbl_mp): Likewise.
59606         (add_magnitudes): Likewise.
59607         (sub_magnitudes): Likewise.
59608         (__add): Likewise.
59609         (__sub): Likewise.
59610         (__mul): Likewise.
59611         (__inv): Likewise.
59612         (__dvd): Likewise.
59614 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
59616         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
59617         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
59618         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
59619         2 && __USE_EXTERN_INLINES]: Likewise.
59621 2013-01-08  Andreas Jaeger  <aj@suse.de>
59623         [BZ# 14985]
59624         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
59625         Remove.
59626         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59627         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59629 2013-01-07  Anton Blanchard  <anton@samba.org>
59631         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
59632         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59633         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
59634         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59635         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59636         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59637         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
59638         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59640         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59641         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59642         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59643         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59644         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59645         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59646         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59647         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59648         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59649         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59650         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59651         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59652         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
59653         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59654         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59655         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
59656         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59657         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59658         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59659         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
59660         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59661         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59662         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59663         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59664         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59665         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59666         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59667         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59668         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59669         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
59670         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59671         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
59672         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59673         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59675 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
59677         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
59678         (__MALLOC_PMT): Likewise.
59679         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
59680         [__GNUC__], only on [_LIBC].
59681         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59682         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
59683         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59684         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
59685         forward declaration.
59686         (realloc_hook_ini): Likewise.
59687         (memalign_hook_ini): Likewise.
59688         (__libc_memalign): Do not use __MALLOC_PMT in variable
59689         declaration.
59690         (__libc_valloc): Likewise.
59691         (__libc_pvalloc): Likewise.
59692         (__libc_calloc): Likewise.
59693         (__posix_memalign): Likewise.
59695         [BZ #14996]
59696         * math/s_casinh.c: Include <float.h>.
59697         (__casinh): Do not do computation with squaring and square root
59698         for large arguments.
59699         * math/s_casinhf.c: Include <float.h>.
59700         (__casinhf): Do not do computation with squaring and square root
59701         for large arguments.
59702         * math/s_casinhl.c: Include <float.h>.
59703         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
59704         (__casinhl): Do not do computation with squaring and square root
59705         for large arguments.
59706         * math/libm-test.inc (casin_test): Add more tests.
59707         (casinh_test): Likewise.
59708         * sysdeps/i386/fpu/libm-test-ulps: Update.
59709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59711 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
59713         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
59714         (__x86_64_raw_data_cache_size): Likewise.
59715         (__x86_64_data_cache_size_half): Likewise.
59716         (__x86_64_raw_data_cache_size_half): Likewise.
59717         (__x86_64_shared_cache_size): Likewise.
59718         (__x86_64_raw_shared_cache_size): Likewise.
59719         (__x86_64_shared_cache_size_half): Likewise.
59720         (__x86_64_raw_shared_cache_size_half): Likewise.
59721         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
59722         to ...
59723         (__x86_data_cache_size): This.
59724         (__x86_64_raw_data_cache_size): Renamed to ...
59725         (__x86_raw_data_cache_size): This.
59726         (__x86_64_data_cache_size_half): Renamed to ...
59727         (__x86_data_cache_size_half): This.
59728         (__x86_64_raw_data_cache_size_half): Renamed to ...
59729         (__x86_raw_data_cache_size_half): This.
59730         (__x86_64_shared_cache_size): Renamed to ...
59731         (__x86_shared_cache_size): This.
59732         (__x86_64_raw_shared_cache_size): Renamed to ...
59733         (__x86_raw_shared_cache_size): This.
59734         (__x86_64_shared_cache_size_half): Renamed to ...
59735         (__x86_shared_cache_size_half): This.
59736         (__x86_64_raw_shared_cache_size_half): Renamed to ...
59737         (__x86_raw_shared_cache_size_half): This.
59738         * sysdeps/x86_64/memcpy.S: Updated.
59739         * sysdeps/x86_64/memset.S: Likewise.
59740         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59741         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59742         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59744 2013-01-04  David S. Miller  <davem@davemloft.net>
59746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59748 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
59750         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
59751         1 to avoid redefinition warning.
59752         (__USE_GNU): Don't define.
59753         (init_signaling_nan): Protoize.
59755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59757 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59759         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
59760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
59761         (__cpymn): Likewise.
59762         (norm): Remove commented code.
59763         (denorm): Likewise.
59764         (__mp_dbl): Likewise.
59765         (__inv): Likewise.
59766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59767         (__cpymn): Likewise.
59768         (norm): Remove commented code.
59769         (denorm): Likewise.
59770         (__mp_dbl): Likewise.
59771         (__inv): Likewise.
59773         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59774         mp_no value for 1.0 and 2.0.
59775         (norm): Use RADIXI instead of radixi.d.
59776         (denorm): Likewise.
59777         (__mul): Use 0.0 instead of zero.d.
59778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59779         mp_no value for 1.0 and 2.0.
59780         (norm): Use RADIXI instead of radixi.d.
59781         (denorm): Likewise.
59782         (__mul): Use 0.0 instead of zero.d.
59784 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
59786         [BZ #14994]
59787         * math/s_casinh.c (__casinh): Reduce finite argument to first
59788         quadrant then set signs of results at the end.
59789         * math/s_casinhf.c (__casinhf): Likewise.
59790         * math/s_casinhl.c (__casinhl): Likewise.
59791         * math/libm-test.inc (casin_test): Add more tests.
59792         (casinh_test): Likewise.
59793         * sysdeps/i386/fpu/libm-test-ulps: Update.
59794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59796 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59798         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59800         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59802         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59803         declarations.
59804         (denorm): Likewise.
59805         (__mp_dbl): Likewise.
59806         (__inv): Likewise.
59808         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59809         and adjust the header comment.
59811         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59812         variable name from declaration.
59814 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
59816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59817         Initialize COMMON_CPUID_INDEX_7 element.
59818         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59819         (CPUID_RTM): Likewise.
59820         (HAS_RTM): Likewise.
59821         (COMMON_CPUID_INDEX_7): New enum.
59823 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
59825         [BZ #14981]
59826         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59827         size is zero, record memory as freed.
59829 2013-01-03  Andreas Jaeger  <aj@suse.de>
59831         * po/ia.po: Add new Interlingua translation.
59833 2012-01-03  Allan McRae  <allan@archlinux.org>
59835         * locale/programs/localedef.c: Fix description of '--posix' flag.
59837 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
59839         * NEWS: Update dates in second copyright notice.
59840         * README: Update copyright dates in example.
59841         * manual/libc.texinfo: Update copyright dates.
59842         * scripts/test-installation.pl: Update copyright date in --version
59843         output.
59845         * hurd/ctty-input.c: Fix copyright notice formatting.
59846         * hurd/ctty-output.c: Likewise.
59847         * hurd/dtable.c: Likewise.
59848         * hurd/hurd-raise.c: Likewise.
59849         * hurd/hurdprio.c: Likewise.
59850         * hurd/msgportdemux.c: Likewise.
59851         * misc/sys/file.h: Likewise.
59852         * misc/sys/ioctl.h: Likewise.
59853         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59854         * sysdeps/mach/hurd/chdir.c: Likewise.
59855         * sysdeps/mach/hurd/fchdir.c: Likewise.
59856         * sysdeps/mach/hurd/rename.c: Likewise.
59857         * sysdeps/mach/hurd/rmdir.c: Likewise.
59858         * sysdeps/mach/hurd/seekdir.c: Likewise.
59859         * sysdeps/mach/hurd/setsid.c: Likewise.
59860         * sysdeps/posix/wait3.c: Likewise.
59862         * All files with FSF copyright notices: Update copyright dates
59863         using scripts/update-copyrights.
59864         * intl/plural.c: Regenerated.
59865         * locale/programs/charmap-kw.h: Likewise.
59866         * locale/programs/locfile-kw.h: Likewise.
59868 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59870         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59871         four values.
59873         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59874         calculation loop and add branch prediction.
59876         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59877         check access beyond bounds of m1np.
59879         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59880         MPTWO.
59881         (__inv): Remove local variable MPTWO to use the global
59882         constant.
59883         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59884         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59885         variable MPTWO.
59886         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59887         MP3HALFS static const.
59889 2013-01-01  David S. Miller  <davem@davemloft.net>
59891         * po/ca.po: Update from translation team.
59893 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
59895         * scripts/update-copyrights: New file.
59896         * Makeconfig: Reformat copyright notice.
59897         * ctype/ctype.h: Likewise.
59898         * debug/swprintf_chk.c: Likewise.
59899         * elf/dl-cache.c: Likewise.
59900         * elf/dl-debug.c: Likewise.
59901         * elf/dl-object.c: Likewise.
59902         * grp/initgroups.c: Likewise.
59903         * hurd/Makefile: Likewise.
59904         * hurd/hurd/signal.h: Likewise.
59905         * hurd/hurdfault.c: Likewise.
59906         * hurd/hurdioctl.c: Likewise.
59907         * hurd/hurdlookup.c: Likewise.
59908         * hurd/intr-msg.c: Likewise.
59909         * iconv/gconv_open.c: Likewise.
59910         * libio/swprintf.c: Likewise.
59911         * locale/lc-ctype.c: Likewise.
59912         * locale/nl_langinfo.c: Likewise.
59913         * mach/Machrules: Likewise.
59914         * mach/Makefile: Likewise.
59915         * malloc/obstack.h: Likewise.
59916         * manual/Makefile: Likewise.
59917         * manual/tsort.awk: Likewise.
59918         * misc/bits/stab.def: Likewise.
59919         * nis/nis_print_group_entry.c: Likewise.
59920         * nis/nis_table.c: Likewise.
59921         * nis/nss_compat/compat-pwd.c: Likewise.
59922         * nis/nss_compat/compat-spwd.c: Likewise.
59923         * po/Makefile: Likewise.
59924         * posix/fnmatch.c: Likewise.
59925         * posix/regex.h: Likewise.
59926         * resolv/Makefile: Likewise.
59927         * resolv/nss_dns/dns-network.c: Likewise.
59928         * resolv/res_hconf.c: Likewise.
59929         * scripts/gen-sorted.awk: Likewise.
59930         * soft-fp/soft-fp.h: Likewise.
59931         * stdio-common/printf.h: Likewise.
59932         * stdlib/monetary.h: Likewise.
59933         * stdlib/random.c: Likewise.
59934         * stdlib/random_r.c: Likewise.
59935         * sysdeps/generic/Makefile: Likewise.
59936         * sysdeps/gnu/Makefile: Likewise.
59937         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59938         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59939         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59940         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59941         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59942         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59943         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59944         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59945         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59946         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59947         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59948         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59949         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59950         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59951         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
59952         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59953         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59954         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59955         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59956         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59957         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59958         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59959         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59960         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59961         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
59962         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59963         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59964         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
59965         * sysdeps/mach/hurd/errnos.awk: Likewise.
59966         * sysdeps/mach/hurd/fork.c: Likewise.
59967         * sysdeps/mach/hurd/getcwd.c: Likewise.
59968         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
59969         * sysdeps/mach/hurd/mmap.c: Likewise.
59970         * sysdeps/mach/hurd/utimes.c: Likewise.
59971         * sysdeps/mach/hurd/xmknod.c: Likewise.
59972         * sysdeps/posix/profil.c: Likewise.
59973         * sysdeps/posix/readdir_r.c: Likewise.
59974         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59975         * sysdeps/powerpc/bits/setjmp.h: Likewise.
59976         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
59977         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59978         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59979         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59980         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59981         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59983         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59984         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59985         * sysdeps/pthread/lio_listio.c: Likewise.
59986         * sysdeps/sparc/dl-procinfo.h: Likewise.
59987         * sysdeps/unix/i386/sysdep.S: Likewise.
59988         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
59989         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
59990         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
59991         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
59992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59993         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
59994         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
59995         * sysdeps/unix/sysv/linux/speed.c: Likewise.
59996         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
59997         * sysdeps/wordsize-32/divdi3.c: Likewise.
59998         * time/sys/time.h: Likewise.
59999         * wcsmbs/Makefile: Likewise.
60001 2013-01-01  David S. Miller  <davem@davemloft.net>
60003         * po/fr.po: Update from translation team.
60005         * catgets/gencat.c: Update copyright year.
60006         * csu/version.c: Likewise.
60007         * debug/catchsegv.sh: Likewise.
60008         * debug/pcprofiledump.c: Likewise.
60009         * debug/xtrace.sh: Likewise.
60010         * elf/ldconfig.c: Likewise.
60011         * elf/ldd.bash.in: Likewise.
60012         * elf/pldd.c: Likewise.
60013         * elf/sotruss.ksh: Likewise.
60014         * elf/sprof.c: Likewise.
60015         * iconv/iconv_prog.c: Likewise.
60016         * iconv/iconvconfig.c: Likewise.
60017         * locale/programs/locale.c: Likewise.
60018         * locale/programs/localedef.c: Likewise.
60019         * login/programs/pt_chown.c: Likewise.
60020         * malloc/memusage.sh: Likewise.
60021         * malloc/memusagestat.c: Likewise.
60022         * malloc/mtrace.pl: Likewise.
60023         * nscd/nscd.c: Likewise.
60024         * nss/getent.c: Likewise.
60025         * nss/makedb.c: Likewise.
60026         * posix/getconf.c: Likewise.
60028 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60030         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
60031         numbers.
60033 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
60035         * math/bits/mathcalls.h (modf): Use __nonnull.
60037 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60039         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
60040         (split): Use macro CN instead of the bare value.
60041         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
60042         could be used.
60043         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
60044         instead of the bare value.
60045         (power1): Likewise.
60047 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60049         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
60050         __ATAN_TWOM.
60051         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60053         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
60054         their values.
60055         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60056         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60057         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
60058         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60060 2012-12-28  Andreas Jaeger  <aj@suse.de>
60062         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
60063         values are from Linux 3.7.
60065         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
60066         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
60068 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60070         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
60071         TRUE case.
60073         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
60074         (norm): Likewise.
60075         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
60076         variables with preprocessor constants.
60077         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60078         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60079         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60081 2012-12-27  Bruno Haible  <bruno@clisp.org>
60083         [BZ #14317]
60084         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
60085         only if needed.
60087 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60089         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
60090         and use variable directly.
60091         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
60093         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60094         MPONE.
60095         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
60096         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60097         variable MPONE.
60098         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60099         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60100         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
60101         include directive.  Remove local variable MPONE.
60102         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
60103         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
60104         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60106 2012-12-25  David S. Miller  <davem@davemloft.net>
60108         * version.h (RELEASE): Set to "development".
60109         (VERSION): Set to "2.17.90".
60110         * NEWS: Add 2.18 section.
60112 2012-12-21  David S. Miller  <davem@davemloft.net>
60114         * po/hr.po: Update from translation team.
60116 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60118         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
60120 2012-12-19  Steve Ellcey  <sellcey@mips.com>
60122         * NEWS:  Mention new memcpy for MIPS.
60124 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60126         * manual/contrib.texi (Contributors): Spelling correction.
60128 2012-12-15  David S. Miller  <davem@davemloft.net>
60130         * po/ru.po: Update from translation team.
60132 2012-12-13  David S. Miller  <davem@davemloft.net>
60134         * NEWS: Mention IFUNC testsuite enhancements.
60136         * po/pl.po: Update from translation team.
60137         * po/bg.po: Likewise.
60139         * manual/contrib.texi (Contributors): Update entries for Hongjiu
60140         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
60142 2012-12-11  David S. Miller  <davem@davemloft.net>
60144         * po/sv.po: Update from translation team.
60146         * po/vi.po: Update from translation team.
60148         * po/cs.po: Update from translation team.
60150         * po/de.po: Update from translation team.
60151         * po/eo.po: Likewise.
60152         * po/nl.po: Likewise.
60154 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60156         [BZ #14246]
60157         * manual/argp.texi (Argp Helper Functions): Move node to follow
60158         Argp Parsing State.
60160         [BZ #14872]
60161         * manual/conf.texi (Limits on File System Capacity): Mention if
60162         terminating null is included in the max size.
60164 2012-12-10  Andreas Jaeger  <aj@suse.de>
60166         * po/cs.po: Update from translation team.
60168 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60170         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
60171         void pointer and cast to uintptr_t.
60172         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
60173         path.
60174         * sysdeps/s390/s390-64/memcpy.S: Likewise.
60175         * sysdeps/s390/s390-64/memset.S: Likewise.
60177 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
60179         [BZ #14833]
60180         * menual/message.texi (Message Translation): Fix typos.
60181         (Helper programs for gettext): Likewise.
60183 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
60185         [BZ #14898]
60186         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
60187         Change to -1.
60189 2012-12-07  David S. Miller  <davem@davemloft.net>
60191         * po/libc.pot: Update.
60193 2012-12-07  Richard Henderson  <rth@redhat.com>
60195         [BZ #10114]
60196         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
60197         normal/normal case to before the switch.
60198         (_FP_DIV): Likewise.
60200 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
60201             Mike Frysinger  <vapier@gentoo.org>
60203         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
60204         check for __NR_fadvise64_64.
60206 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
60208         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
60209         0, not just to plain "0" as a statement.
60210         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
60211         with cw.
60213 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
60215         * NEWS: Use sourceware.org in Bugzilla URL.
60217 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
60220         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60222         * stdio-common/tst-put-error.c (do_test): Add newline to the
60223         padded test to ensure flush.
60225 2012-12-05  Jeff Law  <law@redhat.com>
60227         * sunrpc/etc.rpc (fedfs_admin): Add entry.
60229 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
60231         * README: Don't refer to ports add-on as distributed separately.
60232         Mention AArch64 in list of systems supported in the ports add-on.
60234         * LICENSES: Add more non-FSF copyright and license notices.
60236         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
60237         ((unused)).
60239         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
60241         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
60242         10000 as width of padded output.
60244 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60246         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
60248         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
60249         variable LX with __attribute__ ((unused)).
60250         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60251         Likewise.
60252         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60253         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60254         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
60255         with __attribute__ ((unused)).
60257 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
60259         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
60261 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60263         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
60264         (CFLAGS-nldbl-acos.c): New variable.
60265         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
60266         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
60267         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
60268         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
60269         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
60270         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
60271         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
60272         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
60273         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
60274         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
60275         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
60276         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
60277         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
60278         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
60279         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
60280         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
60281         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
60282         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
60283         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60284         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
60285         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
60286         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
60287         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
60288         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
60289         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
60290         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
60291         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
60292         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
60293         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
60294         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
60295         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
60296         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
60297         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
60298         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
60299         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
60300         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
60301         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
60302         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
60303         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
60304         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60305         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
60306         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
60307         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
60308         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
60309         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
60310         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
60311         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
60312         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
60313         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
60314         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
60315         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60316         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
60317         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
60318         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
60319         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
60320         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
60321         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
60322         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
60323         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
60324         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
60325         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
60326         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
60327         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
60328         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
60329         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
60330         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
60331         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
60332         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
60333         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
60334         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
60335         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
60336         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
60337         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
60338         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
60339         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
60340         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
60341         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
60342         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
60343         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
60344         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
60345         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
60346         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
60347         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
60348         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
60349         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
60350         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
60351         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
60352         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
60353         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
60354         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
60355         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
60356         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
60357         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
60358         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
60359         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
60360         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
60361         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
60363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60364         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60366         [BZ #14914]
60367         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
60368         whole low double instead of just low 47 bits when splitting values
60369         into two parts.
60371 2012-12-03  Allan McRae  <allan@archlinux.org>
60373         * manual/stdio.texi (Predefined Printf Handlers): Remove
60374         @hsep and @vsep usage.
60376 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
60378         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
60379         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
60381 2012-12-03  Jeff Law  <law@redhat.com>
60383         * time/sys/time.h (settimeofday): Do not mark TV argument
60384         as __nonnull.
60386 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
60388         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
60389         when currently writing and seek to current position when not.
60390         * libio/Makefile (tests): Remove bug-fclose1.
60391         * libio/bug-fclose1.c: Delete.
60393 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
60395         * manual/arith.texi (feenableexcept): Fix typo.
60396         (fedisableexcept): Likewise.
60398 2012-11-30  Roland McGrath  <roland@hack.frob.com>
60400         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60401         second, differently-typed declaration, rather than a cast.
60403 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60405         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60406         * include/rpc/svc.h: ... here.
60408 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
60410         [BZ #13013]
60411         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60412         depending n and resplen2 to catch cases where answer
60413         equals answerp2.
60415 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
60417         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
60418         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
60420 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
60422         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
60424 2012-11-29  Roland McGrath  <roland@hack.frob.com>
60426         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
60428 2012-11-28  Jeff Law  <law@redhat.com>
60430         [BZ #13761]
60431         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
60432         dataset_temporary.  Track alloca usage into alloca_used.
60433         If dataset is large allocate and release it via malloc/free.
60435 2012-06-04  Florian Weimer  <fweimer@redhat.com>
60437         [BZ #14197]
60438         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
60440 2012-11-28  David S. Miller  <davem@davemloft.net>
60442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60444 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60446         [BZ #14803]
60447         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
60448         of pi/2 rounded to nearest to 64 bits.
60449         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
60450         nearest to 64 bits.
60451         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
60452         bits.
60454 2012-11-28  Jeff Law <law@redhat.com>
60455             Martin Osvald <mosvald@redhat.com>
60457         [BZ #14889]
60458         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
60459         * sunrpc/svc.c: Include time.h.
60460         (__svc_accept_failed): New function.
60461         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
60462         any reason other than EINTR, call __svc_accept_failed.
60463         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
60464         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
60466 2012-11-28  Andreas Schwab  <schwab@suse.de>
60468         * scripts/abilist.awk: Also handle indirect functions in .opd
60469         section.
60471 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60473         [BZ #13881]
60474         * sysdeps/x86/fpu/powl_helper.c: New file.
60475         * sysdeps/x86/fpu/Makefile: Likewise.
60476         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
60477         (p3): New object.
60478         (__ieee754_powl): Use __powl_helper for finite arguments except
60479         integer exponents below 8.
60480         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
60481         (p3): New object.
60482         (__ieee754_powl): Use __powl_helper for finite arguments except
60483         integer exponents below 8.
60484         * math/libm-test.inc (pow_test): Add more tests and enable some
60485         previously disabled tests.
60486         * sysdeps/i386/fpu/libm-test-ulps: Update.
60487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60489 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60490             Carlos O'Donell  <carlos_odonell@mentor.com>
60492         * nss/makedb.c (is_prime): Assert that input is odd and greater
60493         than 4.  Note that fact in a comment too.
60494         (next_prime): Add 4 to input.
60496 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60498         [BZ #11741]
60499         * libio/Makefile (tests): Add test case tst-fwrite-error.
60500         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
60501         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
60502         * libio/tst-fwrite-error.c: New test case.
60504 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
60506         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
60507         before casting to void *.
60508         * include/libc-internal.h (__pointer_type): New macro.
60509         (__integer_if_pointer_type_sub): Likewise.
60510         (__integer_if_pointer_type): Likewise.
60511         (cast_to_integer): Likewise.
60512         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
60513         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
60514         before casting to atomic64_t.
60515         (atomic_exchange_acq): Likewise.
60516         (__arch_exchange_and_add_body): Likewise.
60517         (__arch_add_body): Likewise.
60518         (atomic_add_negative): Likewise.
60519         (atomic_add_zero): Likewise.
60521 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
60523         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
60524         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
60525         (add_fdes): Likewise.
60526         (linear_search_fdes): Likewise.
60527         (binary_search_unencoded_fdes): Likewise.
60529 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
60531         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
60533 2012-11-24  Adam Conrad  <adconrad@0c3.net>
60535         * configure.in: Autodetect C++ header directories.
60536         * configure: Regenerated.
60538 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
60540         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
60542 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
60544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60546 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
60548         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
60549         LDBL_MANT_DIG == 106]: Disable some tests.
60550         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60551         Likewise.
60552         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60553         Likewise.
60555         [BZ #14871]
60556         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
60557         input for small inputs.  Return +/- pi/2 for large inputs.
60558         * math/libm-test.inc (atan_test): Add more tests.
60560         * sysdeps/generic/unwind-dw2-fde-glibc.c
60561         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
60562         __attribute__ ((unused)).
60564         [BZ #14645]
60565         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
60566         x * y if x and y are nonzero and z is zero.
60568         [BZ #14811]
60569         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
60570         nonzero exponents with absolute value below 0x1p-117 to +/-
60571         0x1p-117.
60573         [BZ #14869]
60574         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
60575         up arguments below 2**-450, not just those below 2**-500.
60576         * math/libm-test.inc (hypot_test): Add another test.
60578         [BZ #14868]
60579         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
60580         Return a+b for ratio over 2**120, not 2**60.
60581         * math/libm-test.inc (hypot_test): Add another test.
60583         * math/libm-test.inc (clog_test): Use
60584         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
60585         (clog10_test): Likewise.
60587         [BZ #6778]
60588         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
60590 2012-11-22  Andreas Schwab  <schwab@suse.de>
60592         * sysdeps/i386/fpu/libm-test-ulps: Update.
60594 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
60596         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
60597         printf output with newline.
60599 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
60601         [BZ #14865]
60602         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
60603         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
60604         -z nodlopen, -z initfirst and -z execstack support.
60605         * configure: Regenerated.
60607         * elf/elf.h (DF_1_NODIRECT): New macro.
60608         (DF_1_IGNMULDEF): Likewise.
60609         (DF_1_NOKSYMS): Likewise.
60610         (DF_1_NOHDR): Likewise.
60611         (DF_1_EDITED): Likewise.
60612         (DF_1_NORELOC): Likewise.
60613         (DF_1_SYMINTPOSE): Likewise.
60614         (DF_1_GLOBAUDIT): Likewise.
60615         (DF_1_SINGLETON): Likewise.
60616         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
60617         DT_1_SUPPORTED_MASK bits.
60618         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
60620 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
60622         * sysdeps/unix/make-syscalls.sh: Document prefixes.
60624 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
60626         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
60627         macro.
60629         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
60630         (sendmmsg): Move declarations...
60631         * socket/sys/socket.h: ... here.
60632         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
60633         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
60634         include it from...
60635         * socket/recvmmsg.c: ... this new file.
60636         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
60637         (sendmmsg): Rename to __sendmmsg, create weak alias and make
60638         definition of __sendmmsg hidden.
60639         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
60640         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
60641         Move ENOSYS stub into and include it from...
60642         * socket/sendmmsg.c: ... this new file.
60643         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
60644         (sysdep_routines): Move recvmmsg and sendmmsg...
60645         * socket/Makefile (routines): ... here.
60646         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
60647         (GLIBC_PRIVATE): Add __sendmmsg.
60648         * include/sys/socket.h (__sendmmsg): Add declarations.
60649         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
60650         sendmmsg.
60652 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
60654         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
60655         variable I1 with __attribute__ ((unused)).
60656         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60658 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60660         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
60661         DUMMY variables with __attribute__ ((unused)).
60663         * bits/byteswap.h: Include <bits/types.h>.
60664         (__bswap_64): Use __uint64_t instead of unsigned long long int.
60666 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60668         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
60669         string_t.  Do not manually set errno.
60670         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
60671         length with __strnlen.  Make sure to both set errno and return it on
60672         failure.
60674 2012-11-19  David S. Miller  <davem@davemloft.net>
60676         With help from Joseph Myers.
60677         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
60678         very large arguments properly.
60679         * math/libm-test.inc (atan_test): New tests.
60680         (atan2_test): New tests.
60681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60682         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60684 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60686         [BZ #14856]
60687         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
60688         Define to 3.
60690         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
60691         [POSIX] (EADDRNOTAVAIL): Likewise.
60692         [POSIX] (EAFNOSUPPORT): Likewise.
60693         [POSIX] (EALREADY): Likewise.
60694         [POSIX] (ECONNABORTED): Likewise.
60695         [POSIX] (ECONNREFUSED): Likewise.
60696         [POSIX] (ECONNRESET): Likewise.
60697         [POSIX] (EDESTADDRREQ): Likewise.
60698         [POSIX] (EDQUOT): Likewise.
60699         [POSIX] (EHOSTUNREACH): Likewise.
60700         [POSIX] (EIDRM): Likewise.
60701         [POSIX] (EISCONN): Likewise.
60702         [POSIX] (ELOOP): Likewise.
60703         [POSIX] (EMULTIHOP): Likewise.
60704         [POSIX] (ENETDOWN): Likewise.
60705         [POSIX] (ENETUNREACH): Likewise.
60706         [POSIX] (ENOBUFS): Likewise.
60707         [POSIX] (ENODATA): Likewise.
60708         [POSIX] (ENOLINK): Likewise.
60709         [POSIX] (ENOMSG): Likewise.
60710         [POSIX] (ENOPROTOOPT): Likewise.
60711         [POSIX] (ENOSR): Likewise.
60712         [POSIX] (ENOSTR): Likewise.
60713         [POSIX] (ENOTCONN): Likewise.
60714         [POSIX] (ENOTSOCK): Likewise.
60715         [POSIX] (EOPNOTSUPP): Likewise.
60716         [POSIX] (EOVERFLOW): Likewise.
60717         [POSIX] (EPROTO): Likewise.
60718         [POSIX] (EPROTONOSUPPORT): Likewise.
60719         [POSIX] (EPROTOTYPE): Likewise.
60720         [POSIX] (ESTALE): Likewise.
60721         [POSIX] (ETIME): Likewise.
60722         [POSIX] (ETXTBSY): Likewise.
60723         [POSIX] (EWOULDBLOCK): Likewise.
60724         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
60725         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
60726         [POSIX] (SEEK_CUR): Likewise.
60727         [POSIX] (SEEK_END): Likewise.
60728         [POSIX || UNIX98] (mode_t): Do not require.
60729         [POSIX] (off_t): Likewise.
60730         [POSIX] (pid_t): Likewise.
60731         [POSIX] (sys/stat.h): Do not allow header.
60732         [POSIX] (unistd.h): Likewise.
60733         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
60734         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
60735         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
60736         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
60737         require.
60738         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
60739         sigevent): Specify elements.
60740         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
60741         entry.
60742         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
60743         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
60745         * conform/data/cpio.h-data [POSIX]: Disable whole file.
60746         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60747         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
60748         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
60749         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
60750         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
60751         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
60752         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
60753         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
60754         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
60755         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
60756         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
60757         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
60758         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
60759         Likewise.
60760         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
60761         Likewise.
60762         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
60763         Likewise.
60764         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
60765         Likewise.
60766         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60767         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60768         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60769         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60770         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60771         Specify lower bound on value.
60772         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60773         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60774         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60775         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60776         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60777         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60778         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60779         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60780         value.
60781         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60782         as optional.
60783         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60784         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60785         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60786         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60787         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60788         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60789         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60790         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60791         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60792         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60793         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60794         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60795         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60796         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60797         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60798         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60799         entry.
60800         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60801         optional.
60802         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60803         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60804         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60805         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60806         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60807         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60808         Likewise.
60809         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60810         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60811         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60812         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60813         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
60814         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60815         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60816         as optional.
60817         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60818         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60819         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60820         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60821         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60822         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60823         specify as optional.
60824         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60825         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60826         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60827         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60828         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60829         [XPG3] (NL_LANGMAX): Likewise.
60830         [POSIX || XPG3] (NL_MSGMAX): Likewise.
60831         [POSIX || XPG3] (NL_NMAX): Likewise.
60832         [POSIX || XPG3] (NL_SETMAX): Likewise.
60833         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60834         [XPG3] (NZERO): Likewise.
60835         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60836         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
60837         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
60838         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
60839         (REG_ERANGE): Expect.
60840         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
60841         optional-constant.
60842         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
60843         Use (void) in prototype.
60844         [POSIX] (*_t): Allow.
60845         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
60846         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
60847         (WRDE_BADVAL): Expect.
60849         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
60850         expect.
60851         [XPG3 || XPG4] (O_RSYNC): Likewise.
60852         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
60853         Likewise.
60854         [XPG3 || XPG4] (pthread_sigmask): Likewise.
60855         [XPG3 || XPG4] (sigqueue): Likewise.
60856         [XPG3 || XPG4] (sigtimedwait): Likewise.
60857         [XPG3 || XPG4] (sigwaitinfo): Likewise.
60858         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
60859         [XPG3 || XPG4] (vsnprintf): Likewise.
60860         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
60861         Likewise.
60862         [XPG3 || XPG4] (blksize_t): Likewise.
60863         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
60864         Likewise.
60865         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60866         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60867         [XPG3 || XPG4] (struct itimerspec): Likewise.
60868         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60869         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60870         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60871         [XPG3 || XPG4] (clockid_t): Likewise.
60872         [XPG3 || XPG4] (timer_t): Likewise.
60873         [XPG3 || XPG4] (clock_getres): Likewise.
60874         [XPG3 || XPG4] (clock_gettime): Likewise.
60875         [XPG3 || XPG4] (clock_settime): Likewise.
60876         [XPG3 || XPG4] (nanosleep): Likewise.
60877         [XPG3 || XPG4] (timer_create): Likewise.
60878         [XPG3 || XPG4] (timer_delete): Likewise.
60879         [XPG3 || XPG4] (timer_gettime): Likewise.
60880         [XPG3 || XPG4] (timer_getoverrun): Likewise.
60881         [XPG3 || XPG4] (timer_settime): Likewise.
60882         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60883         [XPG3 || XPG4] (getlogin_r): Likewise.
60884         [XPG3 || XPG4] (pread): Likewise.
60885         [XPG3 || XPG4] (pthread_atfork): Likewise.
60886         [XPG3 || XPG4] (pwrite): Likewise.
60888         [BZ #14835]
60889         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60890         <bits/siginfo.h>.
60892 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60894         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60895         finalizing MALLSTREAM.
60897         * sysdeps/mach/hurd/syncfs.c: New file.
60899 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60901         [BZ #14719]
60902         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
60903         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
60904         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
60905         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
60906         (_nss_dns_gethostbyname4_r): Likewise.
60907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
60908         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
60910 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
60912         [BZ #13763]
60913         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
60915 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
60917         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
60918         * elf/cache.c (print_entry): Print ",AArch64" for
60919         FLAG_AARCH64_LIB64
60921         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
60922         * elf/cache.c (print_entry): Print ",hard-float" for
60923         FLAG_ARM_LIBHF.
60925 2012-11-18  David S. Miller  <davem@davemloft.net>
60927         With help from Joseph Myers.
60928         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
60929         cutoff to 2**-13.
60930         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
60931         cutoff to 2**-25.
60932         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
60933         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
60934         small.
60935         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
60936         * math/libm-test.inc (y0_test): New tests.
60937         (y1_test): New tests.
60938         * sysdeps/i386/fpu/libm-test-ulps: Update.
60939         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60942 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
60944         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
60945         64-bit targets.
60946         * configure: Regenerated.
60948 2012-11-17  David S. Miller  <davem@davemloft.net>
60950         [BZ #14811]
60951         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
60952         nonzero exponents with absolute value below 0x1p-128 to +/-
60953         0x1p-128.
60955 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
60957         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
60959         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
60961         * posix/getconf-speclist.c: New file.
60962         * posix/posix-envs.def: Likewise.
60963         * posix/confstr.c (START_ENV_GROUP): New macro.
60964         (END_ENV_GROUP): Likewise.
60965         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60966         (KNOWN_PRESENT_ENV_STRING): Likewise.
60967         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60968         (UNKNOWN_ENVIRONMENT): Likewise.
60969         (confstr): Include posix-envs.def instead of handling
60970         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
60971         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
60972         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
60973         (END_ENV_GROUP): Likewise.
60974         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60975         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60976         (UNKNOWN_ENVIRONMENT): Likewise.
60977         (__sysconf): Include posix-envs.def instead of handling associated
60978         cases directly here.
60979         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
60980         preprocessing getconf-speclist.c rather than running getconf or
60981         generating empty file.
60983 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
60985         * scripts/check-local-headers.sh: Ignore 'mach' headers.
60987 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
60989         [BZ #14672]
60990         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
60992 2012-11-16  David S. Miller  <davem@davemloft.net>
60994         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
60995         smaller than LDBL_EPSILON/2.0L, just return xm1.
60997 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
60999         * elf/tst-array1.c (init): Set constructor priority to 1000.
61000         (fini): Set destructor priority to 1000.
61001         * elf/tst-array2dep.c: Likewise.
61003 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61005         [BZ #11741]
61006         * libio/fileops.c (_IO_new_file_write): Correctly return error.
61007         (_IO_new_file_xsputn): Also return EOF if none of the input
61008         data was written when overflow failed.
61009         * libio/iopadn.c (_IO_padn): Likewise.
61010         * libio/iowpadn.c (_IO_wpadn): Likewise.
61011         * stdio-common/tst-put-error.c: Add copyright notice.
61012         (do_test): Add case for printing padded string.
61013         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
61014         _IO_padn returned error.
61015         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
61016         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
61017         return EOF.
61019 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61021         * libio/libioP.h: Add comment note that the references to C++
61022         bits are now obsolete.
61024 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61026         * math/libm-test.inc (check_complex): Use asprintf.
61028 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
61030         * debug/pcprofiledump.c (print_version): Update copyright year.
61031         * malloc/memusagestat.c (print_version): Likewise.
61033 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
61035         [BZ #14831]
61036         * elf/Makefile (tests): Add tst-audit8.
61037         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
61038         ($(objpfx)tst-audit8.out): New target.
61039         (tst-audit8-ENV): New variable.
61040         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
61041         audit if l_reloc_result is NULL.
61042         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
61043         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
61044         * elf/tst-audit8.c: New file.
61046 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61048         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
61049         * misc/Makefile (CFLAGS-select.c): Define.
61050         * posix/Makefile (CFLAGS-pause.c): Define.
61052 2012-11-13  David S. Miller  <davem@davemloft.net>
61054         * crypt/Makefile: Move test targets after toplevel Rules
61055         inclusion.  Grab any necessary sysdep routines when linking.
61056         * crypt/md5.c (md5_process_block): Remove define, we will always
61057         name it __md5_process_block.
61058         (md5_finish_ctx): Update md5_process_block call.
61059         (md5_stream): Likewise.
61060         (md5_process_bytes): Likewise.
61061         (md5_process_block): Rename to __md5_process_block and move to ...
61062         * crypt/md5-block.c: ... here.
61063         * crypt/sha256.c (sha256_process_block): Move to ...
61064         * crypt/sha256-block.c: ... here.
61065         * crypt/sha512.c (sha512_process_block): Move to ...
61066         * crypt/sha512-block.c: ... here.
61067         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
61068         path.
61069         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
61070         * sysdeps/sparc/sparc64/multiarch/Makefile
61071         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
61072         crypt subdir.
61073         (localedef-aux): Add md5 crypto assembler when in locale subdir.
61074         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
61075         multiarch changes.
61076         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
61077         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
61078         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
61079         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
61080         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
61081         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
61082         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
61083         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
61084         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
61085         file.
61086         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
61087         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
61088         file.
61089         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
61091 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
61093         * timezone/tzselect.ksh: Update from tzcode git revision
61094         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
61095         * timezone/zdump.c: Likewise.
61096         * timezone/zic.c: Likewise.
61097         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
61098         in TZVERSION setting, not $(PKGVERSION).
61099         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
61100         REPORT_BUGS_TO settings.
61102         [BZ #14838]
61103         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
61104         macro.
61106 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61108         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
61109         detection to immediately after _FP_ROUND().
61110         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
61111         bits are 0.
61113 2012-11-11  David S. Miller  <davem@davemloft.net>
61115         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
61116         inttypes.h
61117         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
61118         __close rather than their public counterparts.
61120 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
61122         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
61123         file.
61124         [UNIX98] (sem_timedwait): Do not expect.
61125         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
61126         [XPG4 || UNIX98] (sockatmark): Do not expect.
61127         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
61128         (clock_getcpuclockid): Do not expect.
61129         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
61130         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
61131         Do not expect.
61132         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
61133         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
61134         [UNIX98] (vwscanf): Likewise.
61135         [UNIX98] (vswscanf): Likewise.
61137 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
61139         * timezone/version.h: Remove file.
61140         * timezone/README: Do not refer to version.h.
61141         * timezone/Makefile ($(objpfx)zic.o): New dependency on
61142         $(objpfx)version.h.
61143         ($(objpfx)zdump.o): Likewise.
61144         ($(objpfx)version.h): New target.
61146         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
61147         2012i.
61148         * timezone/README: Don't mention modification to tzselect.ksh.
61149         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
61150         work on unmodified tzselect.ksh.  Substitute version numbers in
61151         tzselect.ksh.
61153         * Makefile (format-me): Remove.
61154         (INSTALL): Adjust indentation.  Use commands directly instead of
61155         using $(format-me).
61157         * aclocal.m4 (ACX_PKGVERSION): New macro.
61158         (ACX_BUGURL): Likewise.
61159         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
61160         (PKGVERSION): New AC_DEFINE_UNQUOTED.
61161         (REPORT_BUGS_TO): Likewise.
61162         * configure: Regenerated.
61163         * config.h.in (PKGVERSION): New macro.
61164         (REPORT_BUGS_TO): Likewise.
61165         * config.make.in (PKGVERSION): New variable.
61166         (PKGVERSION_TEXI): Likewise.
61167         (REPORT_BUGS_TO): Likewise.
61168         (REPORT_BUGS_TEXI): Likewise.
61169         * Makefile (format-me): Use -I$(common-objpfx)manual.
61170         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
61171         ($(common-objpfx)manual/%): New target.
61172         (manual/%): Remove target.
61173         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
61174         (print_version): Use PKGVERSION.
61175         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
61176         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
61177         and REPORT_BUGS_TO.
61178         ($(objpfx)xtrace): Likewise.
61179         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
61180         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
61181         (print_version): Use PKGVERSION.
61182         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
61183         (do_version): Use PKGVERSION.
61184         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
61185         REPORT_BUGS_TO.
61186         (common-ldd-rewrite): Likewise.
61187         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
61188         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
61189         (print_version): Use PKGVERSION.
61190         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
61191         * elf/pldd.c (argp_program_bug_address): Remove variable.
61192         (more_help): New function.
61193         (argp): Use more_help.
61194         (print_version): Use PKGVERSION.
61195         * elf/sln.c (main): Use PKGVERSION.
61196         (usage): Use REPORT_BUGS_TO.
61197         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
61198         (top level): Use PKGVERSION.
61199         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
61200         (print_version): Use PKGVERSION.
61201         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
61202         (print_version): Use PKGVERSION.
61203         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
61204         (print_version): Use PKGVERSION.
61205         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
61206         (print_version): Use PKGVERSION.
61207         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
61208         (print_version): Use PKGVERSION.
61209         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
61210         (print_version): Use PKGVERSION.
61211         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
61212         and BUGURL.
61213         ($(objpfx)memusage): Likewise.
61214         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
61215         (do_version): Use PKGVERSION.
61216         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
61217         (print_version): Use PKGVERSION.
61218         * malloc/mtrace.pl ($PACKAGE): Remove variable.
61219         ($PKGVERSION): New variable.
61220         ($REPORT_BUGS_TO): Likewise.
61221         (usage): Use $REPORT_BUGS_TO.
61222         (top level): Use $PKGVERSION.
61223         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
61224         ($(objpfx)pkgvers.texi): New rule.
61225         ($(objpfx)stamp-pkgvers): Likewise.
61226         * manual/install.texi: Include pkgvers.texi.
61227         (--with-pkgversion): Document new configure option.
61228         (--with-bugurl): Likewise.
61229         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
61230         than necessarily for this particular distribution.  Use
61231         REPORT_BUGS_TO for where to report bugs.
61232         * INSTALL: Regenerated.
61233         * manual/libc.texinfo: Include pkgvers.texi.
61234         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
61235         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
61236         (print_version): Use PKGVERSION.
61237         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
61238         (print_version): Use PKGVERSION.
61239         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
61240         (print_version): Use PKGVERSION.
61241         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
61242         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
61243         macro.
61244         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
61245         (print_version): Use PKGVERSION.
61246         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
61247         (print_version): Use PKGVERSION.
61248         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
61249         and PKGVERSION.
61251         * timezone/checktab.awk: Update from tzcode 2012i.
61252         * timezone/ialloc.c: Likewise.
61253         * timezone/private.h: Likewise.
61254         * timezone/scheck.c: Likewise.
61255         * timezone/tzfile.h: Likewise.
61256         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
61257         (TZVERSION): Hardcode tzcode version number.
61258         * timezone/zdump.c: Update from tzcode 2012i.
61259         * timezone/zic.c: Likewise.
61260         * timezone/version.h: New file.
61261         * timezone/README: Describe version.h.  Update upstream location.
61263         [BZ #14824]
61264         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
61265         (mktemp): Enable declaration.
61266         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
61267         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
61268         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
61269         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
61270         Likewise.
61271         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
61272         Likewise.
61273         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
61274         Likewise.
61275         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
61276         Likewise.
61277         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
61278         Likewise.
61279         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
61280         Likewise.
61282         [BZ #14821]
61283         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
61284         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
61285         for copies of such integer values.
61286         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61287         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61289 2012-11-09  Andreas Jaeger  <aj@suse.de>
61291         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
61292         definitions and declarations that are provided by
61293         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61295 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61297         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
61298         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
61299         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
61300         definition.
61302 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61304         * elf/elf.h: Update comment before AArch64 relocations.
61306 2012-11-07  David S. Miller  <davem@davemloft.net>
61308         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61309         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61310         (__start_context): Declare.
61311         (__makecontext_ret): Delete.
61312         (__makecontext): Hook up __start_context instead of
61313         __makecontext_ret.
61314         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
61315         (sysdep_routines): Add __start_context when in stdlib.
61317 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61319         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
61320         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
61321         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
61322         hardcoded "nm".
61323         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
61324         (READELF): New variable.  Use it instead of hardcoded "readelf".
61326 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61328         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
61329         * sysdeps/x86/Makefile: Here.
61330         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
61331         * sysdeps/x86/tst-xmmymm.sh: This.
61333 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61335         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
61336         expectations.
61337         [UNIX98] (pthread_barrier_t): Do not expect.
61338         [UNIX98] (pthread_barrierattr_t): Likewise.
61339         [UNIX98] (pthread_spinlock_t): Likewise.
61340         [UNIX98] (pthread_barrier_destroy): Likewise.
61341         [UNIX98] (pthread_barrier_init): Likewise.
61342         [UNIX98] (pthread_barrier_wait): Likewise.
61343         [UNIX98] (pthread_barrierattr_destroy): Likewise.
61344         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
61345         [UNIX98] (pthread_barrierattr_init): Likewise.
61346         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
61347         [UNIX98] (pthread_getcpuclockid): Likewise.
61348         [UNIX98] (pthread_mutex_timedlock): Likewise.
61349         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
61350         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
61351         [UNIX98] (pthread_sigmask): Likewise.
61352         [UNIX98] (pthread_spin_destroy): Likewise.
61353         [UNIX98] (pthread_spin_init): Likewise.
61354         [UNIX98] (pthread_spin_lock): Likewise.
61355         [UNIX98] (pthread_spin_trylock): Likewise.
61356         [UNIX98] (pthread_spin_unlock): Likewise.
61357         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
61358         Do not expect.
61359         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
61360         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
61361         [XPG3 || XPG4] (pthread_cond_t): Likewise.
61362         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
61363         [XPG3 || XPG4] (pthread_key_t): Likewise.
61364         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
61365         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61366         [XPG3 || XPG4] (pthread_once_t): Likewise.
61367         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
61368         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
61369         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
61370         [XPG3 || XPG4] (pthread_t): Likewise.
61372         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
61373         not expect.
61374         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
61376         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
61377         Change function return type to int.
61379         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
61380         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
61381         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
61382         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
61383         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
61384         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
61385         [!POSIX] (posix_madvise): Likewise.
61386         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
61387         && !UNIX98].
61388         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
61389         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
61390         (mode_t): Likewise.
61391         (posix_mem_offset): Likewise.
61392         (posix_typed_mem_get_info): Likewise.
61393         (posix_typed_mem_open): Likewise.
61395         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61396         Change condition to [XOPEN2K8].
61398         * conform/conformtest.pl: Preprocess allow-header data with -x c
61399         instead of from stdin.
61400         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61401         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61402         [C99-based standards] (cerfc): Likewise.
61403         [C99-based standards] (cexp2): Likewise.
61404         [C99-based standards] (cexpm1): Likewise.
61405         [C99-based standards] (clog10): Likewise.
61406         [C99-based standards] (clog1p): Likewise.
61407         [C99-based standards] (clog2): Likewise.
61408         [C99-based standards] (clgamma): Likewise.
61409         [C99-based standards] (ctgamma): Likewise.
61410         [C99-based standards] (cerff): Likewise.
61411         [C99-based standards] (cerfcf): Likewise.
61412         [C99-based standards] (cexp2f): Likewise.
61413         [C99-based standards] (cexpm1f): Likewise.
61414         [C99-based standards] (clog10f): Likewise.
61415         [C99-based standards] (clog1pf): Likewise.
61416         [C99-based standards] (clog2f): Likewise.
61417         [C99-based standards] (clgammaf): Likewise.
61418         [C99-based standards] (ctgammaf): Likewise.
61419         [C99-based standards] (cerfl): Likewise.
61420         [C99-based standards] (cerfcl): Likewise.
61421         [C99-based standards] (cexp2l): Likewise.
61422         [C99-based standards] (cexpm1l): Likewise.
61423         [C99-based standards] (clog10l): Likewise.
61424         [C99-based standards] (clog1pl): Likewise.
61425         [C99-based standards] (clog2l): Likewise.
61426         [C99-based standards] (clgammal): Likewise.
61427         [C99-based standards] (ctgammal): Likewise.
61428         * conform/data/inttypes.h-data [C99-based standards]: Include
61429         stdint.h-data.  Remove all expectations for stdint.h contents.
61430         [C99-based standards] (PRI*): Do not allow.
61431         [C99-based standards] (SCN*): Likewise.
61432         [C99-based standards] (*_t): Likewise.
61433         [C99-based-standards] (PRId8): Expect macro.
61434         [C99-based-standards] (PRIi8): Likewise.
61435         [C99-based-standards] (PRIo8): Likewise.
61436         [C99-based-standards] (PRIu8): Likewise.
61437         [C99-based-standards] (PRIx8): Likewise.
61438         [C99-based-standards] (PRIX8): Likewise.
61439         [C99-based-standards] (SCNd8): Likewise.
61440         [C99-based-standards] (SCNi8): Likewise.
61441         [C99-based-standards] (SCNo8): Likewise.
61442         [C99-based-standards] (SCNu8): Likewise.
61443         [C99-based-standards] (SCNx8): Likewise.
61444         [C99-based-standards] (PRIdLEAST8): Likewise.
61445         [C99-based-standards] (PRIiLEAST8): Likewise.
61446         [C99-based-standards] (PRIoLEAST8): Likewise.
61447         [C99-based-standards] (PRIuLEAST8): Likewise.
61448         [C99-based-standards] (PRIxLEAST8): Likewise.
61449         [C99-based-standards] (PRIXLEAST8): Likewise.
61450         [C99-based-standards] (SCNdLEAST8): Likewise.
61451         [C99-based-standards] (SCNiLEAST8): Likewise.
61452         [C99-based-standards] (SCNoLEAST8): Likewise.
61453         [C99-based-standards] (SCNuLEAST8): Likewise.
61454         [C99-based-standards] (SCNxLEAST8): Likewise.
61455         [C99-based-standards] (PRIdFAST8): Likewise.
61456         [C99-based-standards] (PRIiFAST8): Likewise.
61457         [C99-based-standards] (PRIoFAST8): Likewise.
61458         [C99-based-standards] (PRIuFAST8): Likewise.
61459         [C99-based-standards] (PRIxFAST8): Likewise.
61460         [C99-based-standards] (PRIXFAST8): Likewise.
61461         [C99-based-standards] (SCNdFAST8): Likewise.
61462         [C99-based-standards] (SCNiFAST8): Likewise.
61463         [C99-based-standards] (SCNoFAST8): Likewise.
61464         [C99-based-standards] (SCNuFAST8): Likewise.
61465         [C99-based-standards] (SCNxFAST8): Likewise.
61466         [C99-based-standards] (PRId16): Likewise.
61467         [C99-based-standards] (PRIi16): Likewise.
61468         [C99-based-standards] (PRIo16): Likewise.
61469         [C99-based-standards] (PRIu16): Likewise.
61470         [C99-based-standards] (PRIx16): Likewise.
61471         [C99-based-standards] (PRIX16): Likewise.
61472         [C99-based-standards] (SCNd16): Likewise.
61473         [C99-based-standards] (SCNi16): Likewise.
61474         [C99-based-standards] (SCNo16): Likewise.
61475         [C99-based-standards] (SCNu16): Likewise.
61476         [C99-based-standards] (SCNx16): Likewise.
61477         [C99-based-standards] (PRIdLEAST16): Likewise.
61478         [C99-based-standards] (PRIiLEAST16): Likewise.
61479         [C99-based-standards] (PRIoLEAST16): Likewise.
61480         [C99-based-standards] (PRIuLEAST16): Likewise.
61481         [C99-based-standards] (PRIxLEAST16): Likewise.
61482         [C99-based-standards] (PRIXLEAST16): Likewise.
61483         [C99-based-standards] (SCNdLEAST16): Likewise.
61484         [C99-based-standards] (SCNiLEAST16): Likewise.
61485         [C99-based-standards] (SCNoLEAST16): Likewise.
61486         [C99-based-standards] (SCNuLEAST16): Likewise.
61487         [C99-based-standards] (SCNxLEAST16): Likewise.
61488         [C99-based-standards] (PRIdFAST16): Likewise.
61489         [C99-based-standards] (PRIiFAST16): Likewise.
61490         [C99-based-standards] (PRIoFAST16): Likewise.
61491         [C99-based-standards] (PRIuFAST16): Likewise.
61492         [C99-based-standards] (PRIxFAST16): Likewise.
61493         [C99-based-standards] (PRIXFAST16): Likewise.
61494         [C99-based-standards] (SCNdFAST16): Likewise.
61495         [C99-based-standards] (SCNiFAST16): Likewise.
61496         [C99-based-standards] (SCNoFAST16): Likewise.
61497         [C99-based-standards] (SCNuFAST16): Likewise.
61498         [C99-based-standards] (SCNxFAST16): Likewise.
61499         [C99-based-standards] (PRId32): Likewise.
61500         [C99-based-standards] (PRIi32): Likewise.
61501         [C99-based-standards] (PRIo32): Likewise.
61502         [C99-based-standards] (PRIu32): Likewise.
61503         [C99-based-standards] (PRIx32): Likewise.
61504         [C99-based-standards] (PRIX32): Likewise.
61505         [C99-based-standards] (SCNd32): Likewise.
61506         [C99-based-standards] (SCNi32): Likewise.
61507         [C99-based-standards] (SCNo32): Likewise.
61508         [C99-based-standards] (SCNu32): Likewise.
61509         [C99-based-standards] (SCNx32): Likewise.
61510         [C99-based-standards] (PRIdLEAST32): Likewise.
61511         [C99-based-standards] (PRIiLEAST32): Likewise.
61512         [C99-based-standards] (PRIoLEAST32): Likewise.
61513         [C99-based-standards] (PRIuLEAST32): Likewise.
61514         [C99-based-standards] (PRIxLEAST32): Likewise.
61515         [C99-based-standards] (PRIXLEAST32): Likewise.
61516         [C99-based-standards] (SCNdLEAST32): Likewise.
61517         [C99-based-standards] (SCNiLEAST32): Likewise.
61518         [C99-based-standards] (SCNoLEAST32): Likewise.
61519         [C99-based-standards] (SCNuLEAST32): Likewise.
61520         [C99-based-standards] (SCNxLEAST32): Likewise.
61521         [C99-based-standards] (PRIdFAST32): Likewise.
61522         [C99-based-standards] (PRIiFAST32): Likewise.
61523         [C99-based-standards] (PRIoFAST32): Likewise.
61524         [C99-based-standards] (PRIuFAST32): Likewise.
61525         [C99-based-standards] (PRIxFAST32): Likewise.
61526         [C99-based-standards] (PRIXFAST32): Likewise.
61527         [C99-based-standards] (SCNdFAST32): Likewise.
61528         [C99-based-standards] (SCNiFAST32): Likewise.
61529         [C99-based-standards] (SCNoFAST32): Likewise.
61530         [C99-based-standards] (SCNuFAST32): Likewise.
61531         [C99-based-standards] (SCNxFAST32): Likewise.
61532         [C99-based-standards] (PRId64): Likewise.
61533         [C99-based-standards] (PRIi64): Likewise.
61534         [C99-based-standards] (PRIo64): Likewise.
61535         [C99-based-standards] (PRIu64): Likewise.
61536         [C99-based-standards] (PRIx64): Likewise.
61537         [C99-based-standards] (PRIX64): Likewise.
61538         [C99-based-standards] (SCNd64): Likewise.
61539         [C99-based-standards] (SCNi64): Likewise.
61540         [C99-based-standards] (SCNo64): Likewise.
61541         [C99-based-standards] (SCNu64): Likewise.
61542         [C99-based-standards] (SCNx64): Likewise.
61543         [C99-based-standards] (PRIdLEAST64): Likewise.
61544         [C99-based-standards] (PRIiLEAST64): Likewise.
61545         [C99-based-standards] (PRIoLEAST64): Likewise.
61546         [C99-based-standards] (PRIuLEAST64): Likewise.
61547         [C99-based-standards] (PRIxLEAST64): Likewise.
61548         [C99-based-standards] (PRIXLEAST64): Likewise.
61549         [C99-based-standards] (SCNdLEAST64): Likewise.
61550         [C99-based-standards] (SCNiLEAST64): Likewise.
61551         [C99-based-standards] (SCNoLEAST64): Likewise.
61552         [C99-based-standards] (SCNuLEAST64): Likewise.
61553         [C99-based-standards] (SCNxLEAST64): Likewise.
61554         [C99-based-standards] (PRIdFAST64): Likewise.
61555         [C99-based-standards] (PRIiFAST64): Likewise.
61556         [C99-based-standards] (PRIoFAST64): Likewise.
61557         [C99-based-standards] (PRIuFAST64): Likewise.
61558         [C99-based-standards] (PRIxFAST64): Likewise.
61559         [C99-based-standards] (PRIXFAST64): Likewise.
61560         [C99-based-standards] (SCNdFAST64): Likewise.
61561         [C99-based-standards] (SCNiFAST64): Likewise.
61562         [C99-based-standards] (SCNoFAST64): Likewise.
61563         [C99-based-standards] (SCNuFAST64): Likewise.
61564         [C99-based-standards] (SCNxFAST64): Likewise.
61565         [C99-based-standards] (PRIdMAX): Likewise.
61566         [C99-based-standards] (PRIiMAX): Likewise.
61567         [C99-based-standards] (PRIoMAX): Likewise.
61568         [C99-based-standards] (PRIuMAX): Likewise.
61569         [C99-based-standards] (PRIxMAX): Likewise.
61570         [C99-based-standards] (PRIXMAX): Likewise.
61571         [C99-based-standards] (SCNdMAX): Likewise.
61572         [C99-based-standards] (SCNiMAX): Likewise.
61573         [C99-based-standards] (SCNoMAX): Likewise.
61574         [C99-based-standards] (SCNuMAX): Likewise.
61575         [C99-based-standards] (SCNxMAX): Likewise.
61576         [C99-based-standards] (PRIdPTR): Likewise.
61577         [C99-based-standards] (PRIiPTR): Likewise.
61578         [C99-based-standards] (PRIoPTR): Likewise.
61579         [C99-based-standards] (PRIuPTR): Likewise.
61580         [C99-based-standards] (PRIxPTR): Likewise.
61581         [C99-based-standards] (PRIXPTR): Likewise.
61582         [C99-based-standards] (SCNdPTR): Likewise.
61583         [C99-based-standards] (SCNiPTR): Likewise.
61584         [C99-based-standards] (SCNoPTR): Likewise.
61585         [C99-based-standards] (SCNuPTR): Likewise.
61586         [C99-based-standards] (SCNxPTR): Likewise.
61587         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
61588         allow.
61589         * conform/data/stdint.h-data: Update comments to clarify
61590         requirements.
61591         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
61592         type.
61593         [C99-based standards] (INT8_MAX): Likewise.
61594         [C99-based standards] (INT16_MIN): Likewise.
61595         [C99-based standards] (INT16_MAX): Likewise.
61596         [C99-based standards] (INT32_MIN): Likewise.
61597         [C99-based standards] (INT32_MAX): Likewise.
61598         [C99-based standards] (INT64_MIN): Likewise.
61599         [C99-based standards] (INT64_MAX): Likewise.
61600         [C99-based standards] (UINT8_MAX): Likewise.
61601         [C99-based standards] (UINT16_MAX): Likewise.
61602         [C99-based standards] (UINT32_MAX): Likewise.
61603         [C99-based standards] (UINT64_MAX): Likewise.
61604         [C99-based standards] (INT_LEAST8_MIN): Likewise.
61605         [C99-based standards] (INT_LEAST8_MAX): Likewise.
61606         [C99-based standards] (INT_LEAST16_MIN): Likewise.
61607         [C99-based standards] (INT_LEAST16_MAX): Likewise.
61608         [C99-based standards] (INT_LEAST32_MIN): Likewise.
61609         [C99-based standards] (INT_LEAST32_MAX): Likewise.
61610         [C99-based standards] (INT_LEAST64_MIN): Likewise.
61611         [C99-based standards] (INT_LEAST64_MAX): Likewise.
61612         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
61613         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
61614         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
61615         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
61616         [C99-based standards] (INT_FAST8_MIN): Likewise.
61617         [C99-based standards] (INT_FAST8_MAX): Likewise.
61618         [C99-based standards] (INT_FAST16_MIN): Likewise.
61619         [C99-based standards] (INT_FAST16_MAX): Likewise.
61620         [C99-based standards] (INT_FAST32_MIN): Likewise.
61621         [C99-based standards] (INT_FAST32_MAX): Likewise.
61622         [C99-based standards] (INT_FAST64_MIN): Likewise.
61623         [C99-based standards] (INT_FAST64_MAX): Likewise.
61624         [C99-based standards] (UINT_FAST8_MAX): Likewise.
61625         [C99-based standards] (UINT_FAST16_MAX): Likewise.
61626         [C99-based standards] (UINT_FAST32_MAX): Likewise.
61627         [C99-based standards] (UINT_FAST64_MAX): Likewise.
61628         [C99-based standards] (INTPTR_MIN): Likewise.
61629         [C99-based standards] (INTPTR_MAX): Likewise.
61630         [C99-based standards] (UINTPTR_MAX): Likewise.
61631         [C99-based standards] (INTMAX_MIN): Likewise.
61632         [C99-based standards] (INTMAX_MAX): Likewise.
61633         [C99-based standards] (UINTMAX_MAX): Likewise.
61634         [C99-based standards] (PTRDIFF_MIN): Likewise.
61635         [C99-based standards] (PTRDIFF_MAX): Likewise.
61636         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
61637         [C99-based standards] (SIZE_MAX): Likewise.
61638         [C99-based standards] (WCHAR_MAX): Likewise.
61639         [C99-based standards] (WINT_MAX): Likewise.
61640         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
61641         constraint on value.
61642         [C99-based standards] (WCHAR_MIN): Likewise.
61643         [C99-based standards] (WINT_MIN): Likewise.
61644         [C99-based standards] (*_t): Allow.
61645         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
61646         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
61647         Include math.h-data and complex.h-data.  Remove all expectations
61648         of math.h and complex.h contents.
61649         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
61650         at end of line.
61651         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
61652         (struct tm): Expect tag.
61653         [C99-based-standards] (wcstof): Expect function.
61654         [C99-based-standards] (wcstold): Likewise.
61655         [C99-based-standards] (wcstoll): Likewise.
61656         [C99-based-standards] (wcstoull): Likewise.
61657         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
61658         macro-int-constant.  Specify type.
61659         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
61660         constraint on value.
61661         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61662         Specify type.
61663         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
61664         Specify value.
61665         [ISO C standards]: Do not allow headers.
61666         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
61667         wcs[abcdefghijklmnopqrstuvwxyz]*.
61668         [ISO C standards] (*_t): Do not allow.
61669         * conform/data/wctype.h-data [C99-based standards] (iswblank):
61670         Expect function.
61671         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
61672         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61673         Specify type.
61674         [ISO C standards]: Do not allow headers.
61675         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
61676         is[abcdefghijklmnopqrstuvwxyz]*.
61677         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
61678         to[abcdefghijklmnopqrstuvwxyz]*.
61679         [ISO C standards] (*_t): Do not allow.
61680         * conform/data/stdalign.h-data: New file.
61681         * conform/data/stdbool.h-data: Likewise.
61682         * conform/data/stdnoreturn.h-data: Likewise.
61684 2012-11-07  Roland McGrath  <roland@hack.frob.com>
61686         [BZ #14815]
61687         * manual/filesys.texi (Directory Entries): Typo fix.
61688         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
61690 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61692         * elf/elf.h (EM_AARCH64): New macro.
61693         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
61694         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
61695         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
61696         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
61697         (R_AARCH64_TLSDESC): Likewise.
61698         (NT_ARM_TLS): Likewise.
61699         (NT_ARM_HW_BREAK): Likewise.
61700         (NT_ARM_HW_WATCH): Likewise.
61702 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61704         [BZ #14811]
61705         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
61706         (__ieee754_powl): Saturate nonzero exponents with absolute value
61707         below 0x1p-79 to +/- 0x1p-79.
61708         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
61709         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
61710         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
61711         nonzero exponents with absolute value below 0x1p-32 to +/-
61712         0x1p-32.
61713         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
61714         (__ieee754_powl): Saturate nonzero exponents with absolute value
61715         below 0x1p-79 to +/- 0x1p-79.
61716         * math/libm-test.inc (pow_test): Add more tests.
61718 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61720         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
61721         _dl_s390_cap_flags with kernel. Increase string length.
61722         (_dl_s390_platforms): Add z196 and zEC12.
61724 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61726         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
61727         Change XOPEN21K to XOPEN2K.
61729 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
61731         * string/memmove.c: Use memcpy when possible.
61733 2012-11-06  Andreas Jaeger  <aj@suse.de>
61735         * po/eo.po: Update from translation team.
61737 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
61739         [BZ #14793]
61740         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
61741         exponent and small x and y exponents, scale x or y up.  Increase
61742         by 2 the exponent used in scaling up.
61743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61744         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61745         * math/libm-test.inc (fma_test): Add more tests.
61746         (fma_test_towardzero): Likewise.
61747         (fma_test_downward): Likewise.
61748         (fma_test_upward): Likewise.
61750 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
61752         [BZ #14805]
61753         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
61754         fenv_t *.
61756         [BZ #14801]
61757         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
61758         namespace for names of struct fields.
61759         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
61760         fenv_t fields.
61761         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61762         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
61764 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61766         [BZ #3665]
61767         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61769 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61771         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61772         PTR_DEMANGLE.
61774         [BZ #5246]
61775         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61776         PTR_DEMANGLE.
61778 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
61780         [BZ #14797]
61781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61782         definitely overflow as x * y not x * y + z.
61783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61785         * math/libm-test.inc (fma_test): Add more tests.
61786         (fma_test_towardzero): Likewise.
61787         (fma_test_downward): Likewise.
61788         (fma_test_upward): Likewise.
61790 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61792         [BZ #157]
61794         * include/stub-tag.h: Remove file.
61795         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61796         '#include' of it.
61797         * manual/maint.texi (Porting): Don't reference it.
61798         * Makerules ($(objpfx)stubs): Likewise.
61799         * dirent/closedir.c: Don't include <stub-tag.h>.
61800         * dirent/dirfd.c: Likewise.
61801         * dirent/fdopendir.c: Likewise.
61802         * dirent/getdents.c: Likewise.
61803         * dirent/getdents64.c: Likewise.
61804         * dirent/opendir.c: Likewise.
61805         * dirent/readdir.c: Likewise.
61806         * dirent/readdir64.c: Likewise.
61807         * dirent/readdir64_r.c: Likewise.
61808         * dirent/readdir_r.c: Likewise.
61809         * dirent/rewinddir.c: Likewise.
61810         * dirent/seekdir.c: Likewise.
61811         * dirent/telldir.c: Likewise.
61812         * gmon/profil.c: Likewise.
61813         * grp/setgroups.c: Likewise.
61814         * inet/if_index.c: Likewise.
61815         * io/access.c: Likewise.
61816         * io/chdir.c: Likewise.
61817         * io/chmod.c: Likewise.
61818         * io/chown.c: Likewise.
61819         * io/close.c: Likewise.
61820         * io/dup.c: Likewise.
61821         * io/dup2.c: Likewise.
61822         * io/dup3.c: Likewise.
61823         * io/euidaccess.c: Likewise.
61824         * io/faccessat.c: Likewise.
61825         * io/fchdir.c: Likewise.
61826         * io/fchmod.c: Likewise.
61827         * io/fchmodat.c: Likewise.
61828         * io/fchown.c: Likewise.
61829         * io/fchownat.c: Likewise.
61830         * io/fcntl.c: Likewise.
61831         * io/flock.c: Likewise.
61832         * io/fstatfs.c: Likewise.
61833         * io/fstatfs64.c: Likewise.
61834         * io/fstatvfs.c: Likewise.
61835         * io/fstatvfs64.c: Likewise.
61836         * io/futimens.c: Likewise.
61837         * io/fxstat.c: Likewise.
61838         * io/fxstat64.c: Likewise.
61839         * io/fxstatat.c: Likewise.
61840         * io/fxstatat64.c: Likewise.
61841         * io/getcwd.c: Likewise.
61842         * io/isatty.c: Likewise.
61843         * io/lchmod.c: Likewise.
61844         * io/lchown.c: Likewise.
61845         * io/link.c: Likewise.
61846         * io/linkat.c: Likewise.
61847         * io/lseek.c: Likewise.
61848         * io/lseek64.c: Likewise.
61849         * io/lxstat64.c: Likewise.
61850         * io/mkdir.c: Likewise.
61851         * io/mkdirat.c: Likewise.
61852         * io/mkfifo.c: Likewise.
61853         * io/mkfifoat.c: Likewise.
61854         * io/open.c: Likewise.
61855         * io/open64.c: Likewise.
61856         * io/openat.c: Likewise.
61857         * io/openat64.c: Likewise.
61858         * io/pipe.c: Likewise.
61859         * io/pipe2.c: Likewise.
61860         * io/poll.c: Likewise.
61861         * io/posix_fadvise.c: Likewise.
61862         * io/posix_fadvise64.c: Likewise.
61863         * io/posix_fallocate.c: Likewise.
61864         * io/posix_fallocate64.c: Likewise.
61865         * io/read.c: Likewise.
61866         * io/readlink.c: Likewise.
61867         * io/readlinkat.c: Likewise.
61868         * io/rmdir.c: Likewise.
61869         * io/sendfile.c: Likewise.
61870         * io/sendfile64.c: Likewise.
61871         * io/statfs.c: Likewise.
61872         * io/statfs64.c: Likewise.
61873         * io/statvfs.c: Likewise.
61874         * io/statvfs64.c: Likewise.
61875         * io/symlink.c: Likewise.
61876         * io/symlinkat.c: Likewise.
61877         * io/ttyname.c: Likewise.
61878         * io/ttyname_r.c: Likewise.
61879         * io/umask.c: Likewise.
61880         * io/unlink.c: Likewise.
61881         * io/unlinkat.c: Likewise.
61882         * io/utime.c: Likewise.
61883         * io/utimensat.c: Likewise.
61884         * io/write.c: Likewise.
61885         * io/xmknod.c: Likewise.
61886         * io/xmknodat.c: Likewise.
61887         * io/xstat.c: Likewise.
61888         * io/xstat64.c: Likewise.
61889         * login/getpt.c: Likewise.
61890         * login/grantpt.c: Likewise.
61891         * login/unlockpt.c: Likewise.
61892         * math/e_acoshl.c: Likewise.
61893         * math/e_acosl.c: Likewise.
61894         * math/e_asinl.c: Likewise.
61895         * math/e_atan2l.c: Likewise.
61896         * math/e_atanhl.c: Likewise.
61897         * math/e_coshl.c: Likewise.
61898         * math/e_expl.c: Likewise.
61899         * math/e_fmodl.c: Likewise.
61900         * math/e_gammal_r.c: Likewise.
61901         * math/e_hypotl.c: Likewise.
61902         * math/e_j0l.c: Likewise.
61903         * math/e_j1l.c: Likewise.
61904         * math/e_jnl.c: Likewise.
61905         * math/e_lgammal_r.c: Likewise.
61906         * math/e_log10l.c: Likewise.
61907         * math/e_log2l.c: Likewise.
61908         * math/e_logl.c: Likewise.
61909         * math/e_powl.c: Likewise.
61910         * math/e_rem_pio2l.c: Likewise.
61911         * math/e_sinhl.c: Likewise.
61912         * math/e_sqrtl.c: Likewise.
61913         * math/fclrexcpt.c: Likewise.
61914         * math/fedisblxcpt.c: Likewise.
61915         * math/feenablxcpt.c: Likewise.
61916         * math/fegetenv.c: Likewise.
61917         * math/fegetexcept.c: Likewise.
61918         * math/fegetround.c: Likewise.
61919         * math/feholdexcpt.c: Likewise.
61920         * math/fesetenv.c: Likewise.
61921         * math/fesetround.c: Likewise.
61922         * math/feupdateenv.c: Likewise.
61923         * math/fgetexcptflg.c: Likewise.
61924         * math/fraiseexcpt.c: Likewise.
61925         * math/fsetexcptflg.c: Likewise.
61926         * math/ftestexcept.c: Likewise.
61927         * math/k_cosl.c: Likewise.
61928         * math/k_rem_pio2l.c: Likewise.
61929         * math/k_sinl.c: Likewise.
61930         * math/k_tanl.c: Likewise.
61931         * math/s_asinhl.c: Likewise.
61932         * math/s_atanl.c: Likewise.
61933         * math/s_cbrtl.c: Likewise.
61934         * math/s_erfl.c: Likewise.
61935         * math/s_expm1l.c: Likewise.
61936         * math/s_log1pl.c: Likewise.
61937         * math/s_tanhl.c: Likewise.
61938         * misc/acct.c: Likewise.
61939         * misc/brk.c: Likewise.
61940         * misc/chflags.c: Likewise.
61941         * misc/chroot.c: Likewise.
61942         * misc/fchflags.c: Likewise.
61943         * misc/fgetxattr.c: Likewise.
61944         * misc/flistxattr.c: Likewise.
61945         * misc/fremovexattr.c: Likewise.
61946         * misc/fsetxattr.c: Likewise.
61947         * misc/fsync.c: Likewise.
61948         * misc/ftruncate.c: Likewise.
61949         * misc/futimes.c: Likewise.
61950         * misc/futimesat.c: Likewise.
61951         * misc/getdomain.c: Likewise.
61952         * misc/getdtsz.c: Likewise.
61953         * misc/gethostid.c: Likewise.
61954         * misc/gethostname.c: Likewise.
61955         * misc/getloadavg.c: Likewise.
61956         * misc/getpagesize.c: Likewise.
61957         * misc/getsysstats.c: Likewise.
61958         * misc/getxattr.c: Likewise.
61959         * misc/gtty.c: Likewise.
61960         * misc/ioctl.c: Likewise.
61961         * misc/lgetxattr.c: Likewise.
61962         * misc/listxattr.c: Likewise.
61963         * misc/llistxattr.c: Likewise.
61964         * misc/lremovexattr.c: Likewise.
61965         * misc/lsetxattr.c: Likewise.
61966         * misc/lutimes.c: Likewise.
61967         * misc/madvise.c: Likewise.
61968         * misc/mincore.c: Likewise.
61969         * misc/mlock.c: Likewise.
61970         * misc/mlockall.c: Likewise.
61971         * misc/mmap.c: Likewise.
61972         * misc/mprotect.c: Likewise.
61973         * misc/msync.c: Likewise.
61974         * misc/munlock.c: Likewise.
61975         * misc/munlockall.c: Likewise.
61976         * misc/munmap.c: Likewise.
61977         * misc/preadv.c: Likewise.
61978         * misc/preadv64.c: Likewise.
61979         * misc/ptrace.c: Likewise.
61980         * misc/pwritev.c: Likewise.
61981         * misc/pwritev64.c: Likewise.
61982         * misc/readv.c: Likewise.
61983         * misc/reboot.c: Likewise.
61984         * misc/remap_file_pages.c: Likewise.
61985         * misc/removexattr.c: Likewise.
61986         * misc/revoke.c: Likewise.
61987         * misc/select.c: Likewise.
61988         * misc/setdomain.c: Likewise.
61989         * misc/setegid.c: Likewise.
61990         * misc/seteuid.c: Likewise.
61991         * misc/sethostid.c: Likewise.
61992         * misc/sethostname.c: Likewise.
61993         * misc/setregid.c: Likewise.
61994         * misc/setreuid.c: Likewise.
61995         * misc/setxattr.c: Likewise.
61996         * misc/sstk.c: Likewise.
61997         * misc/stty.c: Likewise.
61998         * misc/swapoff.c: Likewise.
61999         * misc/swapon.c: Likewise.
62000         * misc/sync.c: Likewise.
62001         * misc/syncfs.c: Likewise.
62002         * misc/syscall.c: Likewise.
62003         * misc/truncate.c: Likewise.
62004         * misc/ualarm.c: Likewise.
62005         * misc/usleep.c: Likewise.
62006         * misc/ustat.c: Likewise.
62007         * misc/utimes.c: Likewise.
62008         * misc/vhangup.c: Likewise.
62009         * misc/writev.c: Likewise.
62010         * posix/_exit.c: Likewise.
62011         * posix/alarm.c: Likewise.
62012         * posix/execve.c: Likewise.
62013         * posix/fexecve.c: Likewise.
62014         * posix/fork.c: Likewise.
62015         * posix/fpathconf.c: Likewise.
62016         * posix/getaddrinfo.c: Likewise.
62017         * posix/getegid.c: Likewise.
62018         * posix/geteuid.c: Likewise.
62019         * posix/getgid.c: Likewise.
62020         * posix/getgroups.c: Likewise.
62021         * posix/getlogin.c: Likewise.
62022         * posix/getlogin_r.c: Likewise.
62023         * posix/getpgid.c: Likewise.
62024         * posix/getpid.c: Likewise.
62025         * posix/getppid.c: Likewise.
62026         * posix/getresgid.c: Likewise.
62027         * posix/getresuid.c: Likewise.
62028         * posix/getsid.c: Likewise.
62029         * posix/getuid.c: Likewise.
62030         * posix/glob64.c: Likewise.
62031         * posix/nanosleep.c: Likewise.
62032         * posix/pathconf.c: Likewise.
62033         * posix/pause.c: Likewise.
62034         * posix/posix_madvise.c: Likewise.
62035         * posix/pread.c: Likewise.
62036         * posix/pread64.c: Likewise.
62037         * posix/pwrite.c: Likewise.
62038         * posix/pwrite64.c: Likewise.
62039         * posix/sched_getaffinity.c: Likewise.
62040         * posix/sched_getp.c: Likewise.
62041         * posix/sched_gets.c: Likewise.
62042         * posix/sched_primax.c: Likewise.
62043         * posix/sched_primin.c: Likewise.
62044         * posix/sched_rr_gi.c: Likewise.
62045         * posix/sched_setaffinity.c: Likewise.
62046         * posix/sched_setp.c: Likewise.
62047         * posix/sched_sets.c: Likewise.
62048         * posix/sched_yield.c: Likewise.
62049         * posix/setgid.c: Likewise.
62050         * posix/setlogin.c: Likewise.
62051         * posix/setpgid.c: Likewise.
62052         * posix/setresgid.c: Likewise.
62053         * posix/setresuid.c: Likewise.
62054         * posix/setsid.c: Likewise.
62055         * posix/setuid.c: Likewise.
62056         * posix/sleep.c: Likewise.
62057         * posix/spawni.c: Likewise.
62058         * posix/sysconf.c: Likewise.
62059         * posix/times.c: Likewise.
62060         * posix/wait.c: Likewise.
62061         * posix/wait3.c: Likewise.
62062         * posix/wait4.c: Likewise.
62063         * posix/waitpid.c: Likewise.
62064         * resolv/gai_sigqueue.c: Likewise.
62065         * resource/getpriority.c: Likewise.
62066         * resource/getrlimit.c: Likewise.
62067         * resource/getrusage.c: Likewise.
62068         * resource/nice.c: Likewise.
62069         * resource/setpriority.c: Likewise.
62070         * resource/setrlimit.c: Likewise.
62071         * resource/ulimit.c: Likewise.
62072         * rt/aio_cancel.c: Likewise.
62073         * rt/aio_fsync.c: Likewise.
62074         * rt/aio_read.c: Likewise.
62075         * rt/aio_sigqueue.c: Likewise.
62076         * rt/aio_suspend.c: Likewise.
62077         * rt/aio_write.c: Likewise.
62078         * rt/clock_getres.c: Likewise.
62079         * rt/clock_gettime.c: Likewise.
62080         * rt/clock_nanosleep.c: Likewise.
62081         * rt/clock_settime.c: Likewise.
62082         * rt/lio_listio.c: Likewise.
62083         * rt/mq_close.c: Likewise.
62084         * rt/mq_getattr.c: Likewise.
62085         * rt/mq_notify.c: Likewise.
62086         * rt/mq_open.c: Likewise.
62087         * rt/mq_receive.c: Likewise.
62088         * rt/mq_send.c: Likewise.
62089         * rt/mq_setattr.c: Likewise.
62090         * rt/mq_timedreceive.c: Likewise.
62091         * rt/mq_timedsend.c: Likewise.
62092         * rt/mq_unlink.c: Likewise.
62093         * rt/shm_open.c: Likewise.
62094         * rt/shm_unlink.c: Likewise.
62095         * rt/timer_create.c: Likewise.
62096         * rt/timer_delete.c: Likewise.
62097         * rt/timer_getoverr.c: Likewise.
62098         * rt/timer_gettime.c: Likewise.
62099         * rt/timer_settime.c: Likewise.
62100         * setjmp/__longjmp.c: Likewise.
62101         * setjmp/setjmp.c: Likewise.
62102         * signal/kill.c: Likewise.
62103         * signal/killpg.c: Likewise.
62104         * signal/raise.c: Likewise.
62105         * signal/sigaction.c: Likewise.
62106         * signal/sigaltstack.c: Likewise.
62107         * signal/sigblock.c: Likewise.
62108         * signal/sigignore.c: Likewise.
62109         * signal/sigintr.c: Likewise.
62110         * signal/signal.c: Likewise.
62111         * signal/sigpause.c: Likewise.
62112         * signal/sigpending.c: Likewise.
62113         * signal/sigqueue.c: Likewise.
62114         * signal/sigreturn.c: Likewise.
62115         * signal/sigset.c: Likewise.
62116         * signal/sigsetmask.c: Likewise.
62117         * signal/sigstack.c: Likewise.
62118         * signal/sigsuspend.c: Likewise.
62119         * signal/sigtimedwait.c: Likewise.
62120         * signal/sigvec.c: Likewise.
62121         * signal/sigwait.c: Likewise.
62122         * signal/sigwaitinfo.c: Likewise.
62123         * signal/sysv_signal.c: Likewise.
62124         * socket/accept.c: Likewise.
62125         * socket/accept4.c: Likewise.
62126         * socket/bind.c: Likewise.
62127         * socket/connect.c: Likewise.
62128         * socket/getpeername.c: Likewise.
62129         * socket/getsockname.c: Likewise.
62130         * socket/getsockopt.c: Likewise.
62131         * socket/isfdtype.c: Likewise.
62132         * socket/listen.c: Likewise.
62133         * socket/recv.c: Likewise.
62134         * socket/recvfrom.c: Likewise.
62135         * socket/recvmsg.c: Likewise.
62136         * socket/send.c: Likewise.
62137         * socket/sendmsg.c: Likewise.
62138         * socket/sendto.c: Likewise.
62139         * socket/setsockopt.c: Likewise.
62140         * socket/shutdown.c: Likewise.
62141         * socket/sockatmark.c: Likewise.
62142         * socket/socket.c: Likewise.
62143         * socket/socketpair.c: Likewise.
62144         * stdio-common/ctermid.c: Likewise.
62145         * stdio-common/cuserid.c: Likewise.
62146         * stdio-common/remove.c: Likewise.
62147         * stdio-common/rename.c: Likewise.
62148         * stdio-common/renameat.c: Likewise.
62149         * stdio-common/tempname.c: Likewise.
62150         * stdlib/getcontext.c: Likewise.
62151         * stdlib/makecontext.c: Likewise.
62152         * stdlib/setcontext.c: Likewise.
62153         * stdlib/swapcontext.c: Likewise.
62154         * stdlib/system.c: Likewise.
62155         * streams/fattach.c: Likewise.
62156         * streams/fdetach.c: Likewise.
62157         * streams/getmsg.c: Likewise.
62158         * streams/getpmsg.c: Likewise.
62159         * streams/putmsg.c: Likewise.
62160         * streams/putpmsg.c: Likewise.
62161         * sysdeps/unix/bsd/getpt.c: Likewise.
62162         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
62163         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
62164         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62166         Likewise.
62167         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
62168         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62169         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
62170         * sysvipc/msgctl.c: Likewise.
62171         * sysvipc/msgget.c: Likewise.
62172         * sysvipc/msgrcv.c: Likewise.
62173         * sysvipc/msgsnd.c: Likewise.
62174         * sysvipc/semctl.c: Likewise.
62175         * sysvipc/semget.c: Likewise.
62176         * sysvipc/semop.c: Likewise.
62177         * sysvipc/semtimedop.c: Likewise.
62178         * sysvipc/shmat.c: Likewise.
62179         * sysvipc/shmctl.c: Likewise.
62180         * sysvipc/shmdt.c: Likewise.
62181         * sysvipc/shmget.c: Likewise.
62182         * termios/tcdrain.c: Likewise.
62183         * termios/tcflow.c: Likewise.
62184         * termios/tcflush.c: Likewise.
62185         * termios/tcgetattr.c: Likewise.
62186         * termios/tcgetpgrp.c: Likewise.
62187         * termios/tcsendbrk.c: Likewise.
62188         * termios/tcsetattr.c: Likewise.
62189         * termios/tcsetpgrp.c: Likewise.
62190         * time/adjtime.c: Likewise.
62191         * time/clock.c: Likewise.
62192         * time/getitimer.c: Likewise.
62193         * time/gettimeofday.c: Likewise.
62194         * time/setitimer.c: Likewise.
62195         * time/settimeofday.c: Likewise.
62196         * time/stime.c: Likewise.
62197         * time/time.c: Likewise.
62199 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
62201         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
62202         /usr/old/bin.
62204         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
62205         instead of spaces.
62206         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
62208 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
62210         [BZ #14796]
62211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
62212         FE_TONEAREST before applying Dekker multiplication and Knuth
62213         addition.  Clear inexact exceptions and check for exact zero
62214         results afterwards.
62215         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62216         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62217         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62218         * math/libm-test.inc (fma_test): Add more tests.
62219         (fma_test_towardzero): Likewise.
62220         (fma_test_downward): Likewise.
62221         (fma_test_upward): Likewise.
62222         * sysdeps/generic/math_private.h (default_libc_fesetround): New
62223         function.
62224         (libc_fesetround): New macro.
62225         (libc_fesetroundf): Likewise.
62226         (libc_fesetroundl): Likewise.
62227         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
62228         function.
62229         (libc_fesetround_387): Likewise.
62230         (libc_fesetroundf): New macro.
62231         (libc_fesetround): Likewise.
62232         (libc_fesetroundl): Likewise.
62233         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
62234         function.
62235         (libc_fesetroundf): New macro.
62236         (libc_fesetround): Likewise.
62237         (libc_fesetroundl): Likewise.
62238         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
62239         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
62240         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
62241         libm_hidden_ver.
62242         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
62243         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
62244         libm_hidden_def.
62245         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
62246         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
62247         libm_hidden_ver.
62248         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
62249         libm_hidden_def.
62251         [BZ #3439]
62252         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
62253         integer constant usable in #if and use that to give value to enum
62254         constant.
62255         (FE_DIVBYZERO): Likewise.
62256         (FE_UNDERFLOW): Likewise.
62257         (FE_OVERFLOW): Likewise.
62258         (FE_INVALID): Likewise.
62259         (FE_INVALID_SNAN): Likewise.
62260         (FE_INVALID_ISI): Likewise.
62261         (FE_INVALID_IDI): Likewise.
62262         (FE_INVALID_ZDZ): Likewise.
62263         (FE_INVALID_IMZ): Likewise.
62264         (FE_INVALID_COMPARE): Likewise.
62265         (FE_INVALID_SOFTWARE): Likewise.
62266         (FE_INVALID_SQRT): Likewise.
62267         (FE_INVALID_INTEGER_CONVERSION): Likewise.
62268         (FE_TONEAREST): Likewise.
62269         (FE_TOWARDZERO): Likewise.
62270         (FE_UPWARD): Likewise.
62271         (FE_DOWNWARD): Likewise.
62272         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
62273         (FE_DIVBYZERO): Likewise.
62274         (FE_OVERFLOW): Likewise.
62275         (FE_UNDERFLOW): Likewise.
62276         (FE_INEXACT): Likewise.
62277         (FE_TONEAREST): Likewise.
62278         (FE_DOWNWARD): Likewise.
62279         (FE_UPWARD): Likewise.
62280         (FE_TOWARDZERO): Likewise.
62281         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
62282         (FE_UNDERFLOW): Likewise.
62283         (FE_OVERFLOW): Likewise.
62284         (FE_DIVBYZERO): Likewise.
62285         (FE_INVALID): Likewise.
62286         (FE_TONEAREST): Likewise.
62287         (FE_TOWARDZERO): Likewise.
62288         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
62289         (FE_OVERFLOW): Likewise.
62290         (FE_UNDERFLOW): Likewise.
62291         (FE_DIVBYZERO): Likewise.
62292         (FE_INEXACT): Likewise.
62293         (FE_TONEAREST): Likewise.
62294         (FE_TOWARDZERO): Likewise.
62295         (FE_UPWARD): Likewise.
62296         (FE_DOWNWARD): Likewise.
62297         * sysdeps/x86/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.
62307 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
62309         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
62311 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
62313         * scripts/cross-test-ssh.sh (command): Use newlines to separate
62314         commands.  Quote $PWD.
62315         (blacklist_exports): Don't use remove_newlines.  Replace "declare
62316         -x" by "export".
62317         (remove_newlines): Remove.
62319 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
62321         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
62322         * stdlib/stdlib.h (atof): Moved to ...
62323         * include/bits/stdlib-float.h: Here.  New file.
62324         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
62325         * stdlib/bits/stdlib-float.h: New file.
62326         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
62327         -mno-sse -mno-mmx.
62328         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
62329         <xmmintrin.h>.
62331 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62333         * conform/conformtest.pl (@headers): Add fenv.h.
62334         * conform/data/fenv.h-data: New file.
62335         * include/fenv.h [_ISOMAC]: Disable all contents of file except
62336         include of <math/fenv.h>.
62338         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
62339         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
62340         && !UNIX98].  Enables tests for XOPEN2K8.
62341         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
62342         POSIX2008]: Likewise.
62344         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
62345         (struct rusage): Do not expect type or its members.
62347         [BZ #3439]
62348         * math/math.h (FP_NAN): Define macro to integer constant usable in
62349         #if and use that to give value to enum constant.
62350         (FP_INFINITE): Likewise.
62351         (FP_ZERO): Likewise.
62352         (FP_SUBNORMAL): Likewise.
62353         (FP_NORMAL): Likewise.
62355 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
62357         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
62358         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
62359         arguments.
62361 2012-11-02  Roland McGrath  <roland@hack.frob.com>
62363         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
62364         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
62365         autoconf-time if not.
62366         * configure.in: Remove AC_PREREQ.
62368 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62370         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
62371         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62372         of the internal implementation.
62374 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62376         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
62377         except include of <misc/sys/syslog.h>.
62379 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
62382         function returns with a NULL context exit with zero.
62384 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62386         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
62388 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
62390         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
62391         (run_program_cmd): This.
62392         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
62393         (tst_langinfo): New variable.  Use it.
62395 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
62397         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62398         floating point opcodes.
62400 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62402         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62403         variable.
62405         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62407         * sysdeps/mach/hurd/powerpc: Remove directory.
62408         * sysdeps/mach/powerpc: Likewise.
62410 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62412         * scripts/check-local-headers.sh: Ignore c++ headers.
62414 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62416         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62417         __libc_cleanup_region_start argument.
62419 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
62421         [BZ #14784]
62422         [BZ #14785]
62423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
62424         x * y using scaling, not as x * y + z.
62425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62426         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62427         * math/libm-test.inc (fma_test): Add more tests.
62428         (fma_test_towardzero): Likewise.
62429         (fma_test_downward): Likewise.
62430         (fma_test_upward): Likewise.
62432 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62434         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62436 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62438         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
62439         New variable.
62441 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
62443         * rt/tst-shm.c (worker): Correct checking for mmap failure.
62445 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62448         Fix sort order.
62449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62450         Likewise.
62452 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62455         Fix the order of the list for glibc 2.17.
62456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62457         Likewise.
62459 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62463 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62465         [BZ #14610]
62466         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
62467         for low part of x being zero before using __atanl (y).
62468         * math/libm-test.inc (atan2_test): Add another test.
62470         * manual/install.texi (Configuring and compiling): Document
62471         general use of test-wrapper and test-wrapper-env.
62472         * INSTALL: Regenerated.
62474         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
62475         (__fma): Do not extract and scale down low bits on after-rounding
62476         systems when result rounded to normal precision would have normal
62477         exponent.
62478         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
62479         (__fmal): Do not extract and scale down low bits on after-rounding
62480         systems when result rounded to normal precision would have normal
62481         exponent.
62482         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
62483         (__fmal): Do not extract and scale down low bits on after-rounding
62484         systems when result rounded to normal precision would have normal
62485         exponent.
62486         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
62487         macro.
62488         (fma_test): Add more tests.
62489         (fma_test_towardzero): Likewise.
62490         (fma_test_downward): Likewise.
62491         (fma_test_upward): Likewise.
62493 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
62495         * sysdeps/i386/tininess.h: Renamed to ...
62496         * sysdeps/x86/tininess.h: This.
62497         * sysdeps/x86_64/tininess.h: Removed.
62499 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62501         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62502         input.  Use $(build-program-cmd).
62503         ($(objpfx)tst-array1-static.out): Likewise.
62504         ($(objpfx)tst-array2.out): Likewise.
62505         ($(objpfx)tst-array3.out): Likewise.
62506         ($(objpfx)tst-array4.out): Likewise.
62507         ($(objpfx)tst-array5.out): Likewise.
62508         ($(objpfx)tst-array5-static.out): Likewise.
62510 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
62512         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
62513         if defined.
62515         * nss/nsswitch.h (nss_interface_function): Provide new
62516         macro for use with NSS functions.
62517         * grp/initgroups.c: Use new macro.
62518         * nss/getXXbyYY.c: Likewise.
62519         * nss/getXXbyYY_r.c: Likewise.
62520         * nss/getXXent.c: Likewise.
62521         * nss/getXXent_r.c: Likewise.
62522         * sysdeps/posix/getaddrinfo.c: Likewise.
62524 2012-10-30  Andreas Jaeger  <aj@suse.de>
62526         * po/ru.po: Update Russion translation from translation project.
62528 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62530         [BZ #14152]
62531         [BZ #14783]
62532         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
62533         result and shift together with sticky bit instead of replicating
62534         round-to-nearest rounding.
62535         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62536         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62537         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
62538         missing underflow exceptions.
62539         (fma_test_towardzero): Add more tests.
62540         (fma_test_downward): Likewise.
62541         (fma_test_upward): Likewise.
62543         [BZ #14047]
62544         * sysdeps/generic/tininess.h: New file.
62545         * sysdeps/i386/tininess.h: Likewise.
62546         * sysdeps/sh/tininess.h: Likewise.
62547         * sysdeps/x86_64/tininess.h: Likewise.
62548         * stdlib/tst-strtod-underflow.c: Likewise.
62549         * stdlib/tst-tininess.c: Likewise.
62550         * stdlib/strtod_l.c: Include <tininess.h>.
62551         (round_and_return): Do not set errno for exact underflow cases.
62552         Force an underflow exception when setting errno for underflow.
62553         Determine underflow based on rounding to normal precision if
62554         TININESS_AFTER_ROUNDING.
62555         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
62556         ERANGE for exact underflow cases.
62557         * stdlib/Makefile (tests): Add tst-tininess and
62558         tst-strtod-underflow.
62559         ($(objpfx)tst-tininess): Use $(link-libm).
62560         ($(objpfx)tst-strtod-underflow): Likewise.
62562 2012-10-30  Andreas Jaeger  <aj@suse.de>
62564         [BZ#14767]
62565         * elf/Makefile (tests): Remove conditional for have-initfini-array
62566         since this is now always required and the variable does not exist
62567         anymore.
62568         (tests-static): Likewise.
62569         (modules-names): Likewise.
62571         * po/eo.po: Add Esperanto translation from translation project.
62573         * elf/tst-array1.c (fini_array): Make writeable so that it can be
62574         merged with constructor/destructor.
62575         (init_array): Likewise.
62576         * elf/tst-array2dep.c (fini_array): Likewise.
62577         (init_array): Likewise.
62579 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
62581         * manual/message.texi: Delete @cartouche tags.
62583 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
62585         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
62586         EOPNOTSUPP.
62587         * sysdeps/mach/hurd/fsync.c: Likewise.
62589         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
62590         [_POSIX_REALTIME_SIGNALS]: Change condition to
62591         [_POSIX_REALTIME_SIGNALS > 0].
62593 2012-10-27  Andreas Jaeger  <aj@suse.de>
62595         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
62596         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
62597         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
62598         [__WORDSIZE != 64]: Likewise.
62600 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
62602         *  iconvdata/tst-table.sh: Remove ${SHELL}.
62603         *  iconvdata/tst-tables.sh: Likewise.
62605 2012-10-25  David S. Miller  <davem@davemloft.net>
62607         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62608         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
62609         of strtoull.
62611         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
62612         ifunc-impl-list.c
62613         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62614         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
62615         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
62616         file.
62618 2012-10-25  Roland McGrath  <roland@hack.frob.com>
62620         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62621         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
62622         __getdirentries.
62624 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62625             Jim Blandy  <jimb@codesourcery.com>
62627         * scripts/cross-test-ssh.sh: New file.
62628         * manual/install.texi (Configuring and compiling): Document use of
62629         cross-test-ssh.sh.
62630         * INSTALL: Regenerated.
62632 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
62634         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
62635         EOPNOTSUPP.
62637 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62639         * Makeconfig (run-program-prefix): Fix comment.
62641 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62642             Jim Blandy  <jimb@codesourcery.com>
62644         * Makeconfig (test-wrapper): New variable,
62645         (test-wrapper-env): Likewise.
62646         [$(cross-compiling) = yes && $(test-wrapper) != ""]
62647         (run-built-tests): Define to yes.
62648         (run-program-prefix): Use $(test-wrapper).
62649         (built-program-cmd): Likewise.
62650         * Rules (make-test-out): Use $(test-wrapper-env) and
62651         $(host-built-program-cmd).
62652         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
62653         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
62654         tst-pathopt.sh.
62655         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
62656         $(test-wrapper-env) to tst-rtld-load-self.sh.
62657         ($(objpfx)order2.out): Use $(test-wrapper).
62658         ($(objpfx)tst-initorder.out): Likewise.
62659         ($(objpfx)tst-initorder2.out): Likewise.
62660         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62661         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
62662         (test_wrapper_env): New variable.  Use it to run ld.so.
62663         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
62664         Use it to run ld.so.
62665         (test_wrapper_env): Likewise.
62666         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
62667         $(test-wrapper) to run-iconv-test.sh.
62668         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
62669         (ICONV): Use $test_wrapper.
62670         * posix/Makefile ($(objpfx)globtest.out): Pass
62671         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
62672         globtest.sh, not $(run-program-prefix).
62673         * posix/globtest.sh (run_via_rtld_prefix): New variable.
62674         (test_wrapper): Likewise.
62675         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
62676         set together with run_via_rtld_prefix.
62677         (run_program_prefix): Define in terms of test_wrapper and
62678         run_via_rtld_prefix.
62680 2012-10-24  Roland McGrath  <roland@hack.frob.com>
62682         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
62683         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
62684         Targets removed.
62686         [BZ #14743]
62687         * include/time.h: Remove librt_hidden_proto (clock_gettime).
62688         Declare __clock_getres, __clock_gettime, __clock_settime,
62689         __clock_nanosleep, and __clock_getcpuclockid.
62690         * rt/clock_gettime.c: Define __clock_gettime as an alias.
62691         Remove librt_hidden_def (clock_gettime).
62692         * sysdeps/unix/clock_gettime.c: Likewise.
62693         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
62694         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
62695         * rt/clock_getres.c: Define __clock_getres as an alias.
62696         * sysdeps/posix/clock_getres.c: Likewise.
62697         * rt/clock_settime.c: Define __clock_settime as an alias.
62698         * sysdeps/unix/clock_settime.c: Likewise.
62699         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
62700         * sysdeps/unix/clock_nanosleep.c: Likewise.
62701         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
62702         * rt/clock-compat.c: New file.
62703         * rt/Makefile (librt-routines): Add clock-compat and move
62704         $(clock-routines) to ...
62705         (routines): ... here, new variable.
62706         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
62707         Don't add get_clockfreq here.
62708         * rt/Versions (libc: GLIBC_2.17): New version set.
62709         Add clock_* symbols here.
62710         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
62711         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
62712         (GLIBC_2.17): Add clock_* symbols.
62713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62715         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62717         Likewise.
62718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62719         Likewise.
62720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62724         * NEWS: Mention the move.
62726         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
62727         Use __open, __read, __close rather than their public counterparts.
62728         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62729         (__get_clockfreq_via_cpuinfo): Likewise.
62730         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
62731         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
62733         * config.h.in (HAVE_IFUNC): New #undef.
62734         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
62735         was successful.
62736         * configure: Regenerated.
62738 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62740         * configure.in: Move READELF check to start of file.
62741         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
62742         libc_cv_asm_gnu_indirect_function in the process.
62743         * configure: Regenerated.
62745 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62747         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
62748         send the output to /dev/null.
62749         (libc_cv_cc_with_libunwind): Likewise.
62750         (libc_cv_as_noexecstack): Likewise.
62751         * configure: Regenerate.
62753 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62755         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
62757         * posix/globtest.sh (TMPDIR): Do not set.
62758         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
62759         (testout): Likewise.
62761 2012-10-24  Andreas Jaeger  <aj@suse.de>
62763         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
62764         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
62765         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62766         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62767         posix_fadvise64, posix_fallocate64.
62769         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62770         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62771         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62772         Likewise.
62773         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62774         Likewise.
62775         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62777         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62778         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62779         <bits/fcntl-linux.h>.
62780         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62782         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62783         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62784         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62785         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62786         [__WORDSIZE != 64]: Likewise.
62788 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62790         * Makeconfig (run-built-tests): New variable.
62791         * Rules [$(cross-compiling) = yes]: Change condition to
62792         [$(run-built-tests) = no].
62793         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62794         to [$(run-built-tests) = yes].
62795         * elf/Makefile [$(cross-compiling) = no]: Likewise.
62796         * grp/Makefile [$(cross-compiling) = no]: Likewise.
62797         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62798         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62799         * intl/Makefile [$(cross-compiling) = no]: Likewise.
62800         * io/Makefile [$(cross-compiling) = no]: Likewise.
62801         * libio/Makefile [$(cross-compiling) = no]: Likewise.
62802         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62803         * misc/Makefile [$(cross-compiling) = no]: Likewise.
62804         * posix/Makefile [$(cross-compiling) = no]: Likewise.
62805         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62806         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62807         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62808         * string/Makefile [$(cross-compiling) = no]: Likewise.
62810         * posix/Makefile ($(objpfx)globtest.out): Pass
62811         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62812         $(rtld-installed-name).
62813         * posix/globtest.sh (elf_objpfx): Remove variable.
62814         (rtld_installed_name): Likewise.
62815         (library_path): Likewise.
62816         (run_program_prefix): New variable.  Use for running globtest
62817         binary.
62819 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
62820             Joseph Myers  <joseph@codesourcery.com>
62822         * Makeconfig (host-built-program-cmd): New variable.
62823         * elf/Makefile (tst-stackguard1-ARGS): Use
62824         $(host-built-program-cmd).
62825         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62826         (tst-spawn-ARGS): Likewise.
62827         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62829 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62830             Jim Blandy  <jimb@codesourcery.com>
62832         * Makeconfig (run-via-rtld-prefix): New variable.
62833         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62834         (built-program-cmd): Likewise.
62836 2012-10-22  Andreas Jaeger  <aj@suse.de>
62838         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
62839         __O_RSYNC if it exists, otherwise to O_SYNC.
62841 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
62842             Joseph Myers  <joseph@codesourcery.com>
62844         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
62845         /dev/null.
62846         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
62847         from /dev/null
62848         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
62849         /dev/null.
62851 2012-10-22  Andreas Jaeger  <aj@suse.de>
62853         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
62854         Define always.
62855         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
62857         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62858         bits/fcntl-linux.h.
62860         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
62861         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
62863         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
62864         to __O_LARGEFILE.
62865         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62866         to __O_LARGEFILE.
62868 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
62869             Joseph Myers  <joseph@codesourcery.com>
62871         * config.make.in (NM): New variable.
62873 2012-10-21  Andreas Jaeger  <aj@suse.de>
62875         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62876         definitions and declarations that are provided by
62877         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62879 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62881         [BZ #14683]
62882         * elf/Makefile (tests-static): Add tst-leaks1-static.
62883         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62884         ($(objpfx)tst-leaks1-static): New rule.
62885         ($(objpfx)tst-leaks1-static-mem): Likewise.
62886         (tst-leaks1-static-ENV): New macro.
62887         * elf/dl-open.c (dl_open_worker): Check the main application
62888         only if SHARED is defined.
62889         * elf/tst-leaks1-static.c: New file.
62891 2012-10-20  Andreas Jaeger  <aj@suse.de>
62893         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62894         generic values for Linux.
62895         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62896         and declarations that are provided by <bits/fcntl-linux.h> and
62897         include <bits/fcntl-linux.h>.
62898         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62899         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62901 2012-10-20  Roland McGrath  <roland@hack.frob.com>
62903         * io/fcntl.h: Move include of <bits/types.h> to the top and
62904         include it unconditionally.
62906 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62908         * wcsmbs/Makefile (tests-ifunc): New variable.
62909         (tests): Add $(tests-ifunc).
62910         * wcsmbs/test-wcschr-ifunc.c: New file.
62911         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
62912         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
62913         * wcsmbs/test-wcslen-ifunc.c: Likewise.
62914         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
62915         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
62917         * string/Makefile (tests-ifunc): New variable.
62918         (tests): Add $(tests-ifunc).
62919         * string/test-memccpy.c (TEST_NAME): New macro.
62920         * string/test-memchr.c (TEST_NAME): Likewise.
62921         * string/test-memcmp.c (TEST_NAME): Likewise.
62922         * string/test-memcpy.c (TEST_NAME): Likewise.
62923         * string/test-memmem.c (TEST_NAME): Likewise.
62924         * string/test-memmove.c (TEST_NAME): Likewise.
62925         * string/test-memset.c (TEST_NAME): Likewise.
62926         * string/test-rawmemchr.c (TEST_NAME): Likewise.
62927         * string/test-stpcpy.c (TEST_NAME): Likewise.
62928         * string/test-stpncpy.c (TEST_NAME): Likewise.
62929         * string/test-strcasecmp.c (TEST_NAME): Likewise.
62930         * string/test-strcasestr.c (TEST_NAME): Likewise.
62931         * string/test-strcat.c (TEST_NAME): Likewise.
62932         * string/test-strchr.c (TEST_NAME): Likewise.
62933         * string/test-strcmp.c(TEST_NAME): Likewise.
62934         * string/test-strcpy.c (TEST_NAME): Likewise.
62935         * string/test-strcspn.c (TEST_NAME): Likewise.
62936         * string/test-strlen.c (TEST_NAME): Likewise.
62937         * string/test-strncasecmp.c (TEST_NAME): Likewise.
62938         * string/test-strncmp.c (TEST_NAME): Likewise.
62939         * string/test-strncpy.c (TEST_NAME): Likewise.
62940         * string/test-strnlen.c (TEST_NAME): Likewise.
62941         * string/test-strpbrk.c (TEST_NAME): Likewise.
62942         * string/test-strrchr.c (TEST_NAME): Likewise.
62943         * string/test-strspn.c (TEST_NAME): Likewise.
62944         * string/test-strstr.c (TEST_NAME): Likewise.
62945         * string/test-bcopy-ifunc.c: New file.
62946         * string/test-bzero-ifunc.c: Likewise.
62947         * string/test-memccpy-ifunc.c: Likewise.
62948         * string/test-memchr-ifunc.c: Likewise.
62949         * string/test-memcmp-ifunc.c: Likewise.
62950         * string/test-memcpy-ifunc.c: Likewise.
62951         * string/test-memmem-ifunc.c: Likewise.
62952         * string/test-memmove-ifunc.c: Likewise.
62953         * string/test-mempcpy-ifunc.c: Likewise.
62954         * string/test-memset-ifunc.c: Likewise.
62955         * string/test-rawmemchr-ifunc.c: Likewise.
62956         * string/test-stpcpy-ifunc.c: Likewise.
62957         * string/test-stpncpy-ifunc.c: Likewise.
62958         * string/test-strcasecmp-ifunc.c: Likewise.
62959         * string/test-strcasestr-ifunc.c: Likewise.
62960         * string/test-strcat-ifunc.c: Likewise.
62961         * string/test-strchr-ifunc.c: Likewise.
62962         * string/test-strchrnul-ifunc.c: Likewise.
62963         * string/test-strcmp-ifunc.c: Likewise.
62964         * string/test-strcpy-ifunc.c: Likewise.
62965         * string/test-strcspn-ifunc.c: Likewise.
62966         * string/test-strlen-ifunc.c: Likewise.
62967         * string/test-strncasecmp-ifunc.c: Likewise.
62968         * string/test-strncat-ifunc.c: Likewise.
62969         * string/test-strncmp-ifunc.c: Likewise.
62970         * string/test-strncpy-ifunc.c: Likewise.
62971         * string/test-strnlen-ifunc.c: Likewise.
62972         * string/test-strpbrk-ifunc.c: Likewise.
62973         * string/test-strrchr-ifunc.c: Likewise.
62974         * string/test-strspn-ifunc.c: Likewise.
62975         * string/test-strstr-ifunc.c: Likewise.
62977         * debug/Makefile (tests-ifunc): New variable.
62978         (tests): Add $(tests-ifunc).
62979         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
62980         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
62981         * debug/test-stpcpy_chk-ifunc.c: New file.
62982         * debug/test-strcpy_chk-ifunc.c: Likewise.
62984 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62986         [BZ #13601]
62987         * elf/dl-load.c (open_verify): Retry read if the entire ELF
62988         header is not read in.
62990 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
62992         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
62993         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
62994         directly.  Pass built executable to script as
62995         $(built-program-cmd).
62996         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
62997         $testprogram without using LD_LIBRARY_PATH and $ldso.
62999         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
63000         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
63001         $(rtld-installed-name).
63002         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
63003         (rtld_installed_name): Likewise.
63004         (library_path): Likewise.
63005         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
63006         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
63007         $(run-program-prefix) to tst-tables.sh.
63008         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
63009         it to run tst-table-from and tst-table-to.
63010         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
63011         Pass it to tst-table.sh.
63012         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
63013         $(run-program-prefix) to tst-gettext.sh.
63014         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
63015         tst-translit.sh.
63016         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
63017         tst-gettext2.sh.
63018         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
63019         to run tst-gettext.
63020         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
63021         to run tst-gettext2.
63022         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
63023         to run tst-translit.
63024         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
63025         $(run-program-prefix) to tst-mtrace.sh.
63026         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
63027         to run tst-mtrace.
63028         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
63029         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
63030         $(rtld-installed-name).
63031         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
63032         (rtld_installed_name): Likewise.
63033         (run_program_prefix): New variable.  Use it to run wordexp-test.
63035         * Makeconfig (ARCH): Remove all definitions.
63036         (machine): Likewise.
63037         [ARCH]: Remove conditional code.
63038         [!objdir]: Give error.
63039         [!objdir] (objpfx): Remove.
63040         [!objdir] (common-objpfx): Likewise.
63041         [!objdir] (common-objdir): Likewise.
63042         * configure.in (config_makefile): Remove.  Hardcode Makefile in
63043         AC_CONFIG_FILES call.
63044         * configure: Regenerated.
63046         [BZ #13888]
63047         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
63048         or TMPDIR.
63049         (testout): Likewise.
63051         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
63052         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
63053         $(rtld-installed-name).
63054         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
63055         (rtld_installed_name): Likwise.
63056         (runit): Remove function.
63057         (run_getconf): New variable,  Use it for running getconf binary.
63059 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
63061         [BZ #14716]
63062         * string/test-memmem.c (check_result): New function.
63063         (do_one_test): Use it.
63064         (check1): New function.
63065         (test_main): Use it.
63067 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
63069         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
63071 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
63073         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
63074         (_G_LSEEK64): Likewise.
63075         (_G_MMAP64): Likewise.
63076         (_G_FSTAT64): Likewise.
63077         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
63078         (_G_LSEEK64): Likewise.
63079         (_G_MMAP64): Likewise.
63080         (_G_FSTAT64): Likewise.
63081         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
63082         unconditional.  Call __mmap64 directly.
63083         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
63084         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
63085         __lseek64 directly.
63086         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
63087         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
63088         __mmap64 directly.
63089         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
63090         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63091         __lseek64 directly.
63092         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
63093         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63094         __lseek64 directly.
63095         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
63096         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
63097         __lseek64 directly.
63098         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
63099         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
63100         __fxstat64 directly.
63101         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
63102         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
63103         unconditional.
63104         (freopen64) [!_G_OPEN64]: Remove conditional code.
63105         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
63106         unconditional.
63107         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
63108         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
63109         unconditional.
63110         (ftello64) [!_G_LSEEK64]: Remove conditional code.
63111         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
63112         unconditional.
63113         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63114         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
63115         unconditional.
63116         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
63117         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
63118         unconditional.
63119         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63120         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
63121         unconditional.
63122         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63123         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
63124         unconditional.
63125         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63127 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63129         [BZ #12140]
63130         * manual/memory.texi (Malloc Tunable Parameters): Add note
63131         about free list pointers overwriting some perturb bytes.
63132         Wording suggested by Roland McGrath.
63134 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
63136         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
63137         (lgamma_test): Likewise.
63138         (tgamma_test): Likewise.
63140 2012-10-16  Florian Weimer  <fweimer@redhat.com>
63142         [BZ #14700]
63143         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
63144         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
63146 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
63148         * NEWS: Mention BZ #14716.
63149         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
63150         when removing AVAILABLE1_USES_J macro.
63152 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
63154         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
63155         (__bswap_64): __uint64_t for unsigned 64-bit int.
63157 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
63159         * include/string.h (memmem): Declare libc hidden alias.
63160         * string/memmem.c (memmem): Define libc hidden alias.
63161         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
63162         __read, __close instead of open, read, close.
63164 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
63166         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
63167         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
63168         global and hidden.
63169         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
63170         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
63171         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
63172         Likewise.
63173         (__rawmemchr_sse2): Likewise.
63174         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
63175         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
63176         (__strchr_sse2): Likewise.
63177         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
63178         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
63179         (__strcasecmp_sse2): Likewise.
63180         (__strncasecmp_sse2): Likewise.
63181         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
63182         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
63183         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
63184         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
63185         (__strrchr_sse2): Likewise.
63186         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
63187         ifunc-impl-list.c.
63188         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
63189         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
63190         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
63191         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63192         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
63193         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
63194         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63195         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63196         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
63197         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
63198         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
63199         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
63200         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
63201         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
63202         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
63203         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63204         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
63205         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
63206         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
63207         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
63208         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
63209         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
63210         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
63211         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63212         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
63213         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63214         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
63215         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63216         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
63217         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
63219         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
63220         global and hidden.
63221         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
63222         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
63223         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
63224         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
63225         Likewise.
63226         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
63227         Likewise.
63228         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
63229         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
63230         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
63231         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
63232         ifunc-impl-list.c.
63233         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63234         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63235         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63236         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63237         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63238         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63239         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63240         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63241         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63242         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63243         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63244         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63245         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63246         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
63247         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
63248         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63249         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
63250         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
63251         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63252         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63253         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63254         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63255         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63256         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63257         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63258         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
63259         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
63260         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
63261         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
63262         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63263         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
63264         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63265         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63266         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
63267         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63268         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63269         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63270         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63271         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63272         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63273         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
63275         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
63276         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
63277         * include/ifunc-impl-list.h: New file.
63278         * misc/ifunc-impl-list.c: Likewise.
63279         * misc/Makefile (routines): Add ifunc-impl-list.
63280         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
63281         * string/test-string.h: Include <ifunc-impl-list.h>.
63282         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
63283         TEST_NAME]: New variables.
63284         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
63285         are defined.
63286         (test_init): Call __libc_ifunc_impl_list to initialize
63287         func_list if TEST_IFUNC and TEST_NAME are defined.
63289         * string/Makefile (strop-tests): Add bcopy and bzero.
63290         * string/test-bcopy.c: New file.
63291         * string/test-bzero.c: Likewise.
63292         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
63293         defined.
63294         * string/test-memset.c: Support bzero test if TEST_BZERO is
63295         defined.
63296         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
63297         __libc_memmove.
63298         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
63299         __libc_memset.
63300         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
63301         of memset.
63303 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
63305         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
63306         * configure: Regenerated.
63308         * Makeconfig (+link-static-before-libc): Don't include
63309         $(link-static-libc).
63311         * libio/libio.h (_IO_pos_t): Remove.
63313 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63315         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
63316         McGrath.
63318 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63320         * crypt/crypt-entry.c: Include fips-private.h.
63321         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
63322         * crypt/md5c-test.c (main): Tolerate disabled MD5.
63323         * sysdeps/unix/sysv/linux/fips-private.h: New file.
63324         * sysdeps/generic/fips-private.h: New file, dummy fallback.
63326 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63328         * crypt/crypt-private.h: Include stdbool.h.
63329         (_ufc_setup_salt_r): Return bool.
63330         * crypt/crypt-entry.c: Include errno.h.
63331         (__crypt_r): Return NULL with EINVAL for bad salt.
63332         * crypt/crypt_util.c (bad_for_salt): New.
63333         (_ufc_setup_salt_r): Check that salt is long enough and within
63334         the specified alphabet.
63335         * crypt/badsalttest.c: New file.
63336         * crypt/Makefile (tests): Add it.
63337         ($(objpfx)badsalttest): New.
63339 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
63341         * NEWS: Add entry for BZ #14602.
63343 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63345         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
63346         type-generic.
63347         * math/libm-test.inc: Update comment listing what functions and
63348         macros are tested.
63349         (isgreater_test): New function.
63350         (isgreaterequal_test): Likewise.
63351         (isless_test): Likewise.
63352         (islessequal_test): Likewise.
63353         (islessgreater_test): Likewise.
63354         (isunordered_test): Likewise.
63355         (main): Call the new functions.
63357 2012-10-09  Roland McGrath  <roland@hack.frob.com>
63359         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
63360         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
63361         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
63362         * sysdeps/i386/configure: Regenerated.
63363         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
63364         * sysdeps/mach/configure: Regenerated.
63365         * sysdeps/mach/hurd/configure: Regenerated.
63366         * sysdeps/powerpc/configure: Regenerated.
63367         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63368         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63369         * sysdeps/s390/s390-32/configure: Regenerated.
63370         * sysdeps/s390/s390-64/configure: Regenerated.
63371         * sysdeps/sh/configure: Regenerated.
63372         * sysdeps/sparc/configure: Regenerated.
63373         * sysdeps/unix/sysv/linux/configure: Regenerated.
63374         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63375         * sysdeps/x86_64/configure: Regenerated.
63377         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
63378         defined.  Don't check if MAP is NULL.
63380 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63382         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
63383         (_G_stat64): Likewise.
63384         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
63385         (_G_stat64): Likewise.
63386         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
63387         instead of struct _G_stat64.
63388         * libio/fileops.c (mmap_remap_check): Likewise.
63389         (decide_maybe_mmap): Likewise.
63390         (_IO_new_file_seekoff): Likewise.
63391         (_IO_file_stat): Likewise.
63392         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
63393         _G_off64_t.
63394         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63395         instead of struct _G_stat64.
63396         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63398 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
63400         [BZ #14602]
63401         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63402         Replace with ...
63403         (CHECK_EOL): New macro.
63404         (two_way_short_needle): Check beginning of haystack for EOL.  Use
63405         CHECK_EOL.
63406         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63407         Replace with CHECK_EOL.
63408         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63409         Replace with CHECK_EOL.
63411 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
63413         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63414         type-generic.
63415         * math/libm-test.inc: Update comment listing what functions and
63416         macros are tested.
63417         (finite_test): New function.
63418         (isinf_test): Likewise.
63419         (isnan_test): Likewise.
63420         (fpclassify_test): Test subnormal input.
63421         (isfinite_test): Likewise.
63422         (isnormal_test): Likewise.
63423         (main): Call the new functions.
63425 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
63427         [BZ #14660]
63428         * Makerules (%.dynsym): Force C locale when running
63429         $(OBJDUMP) --dynamic-syms.
63431 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
63433         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
63434         <stdint.h>.
63436 2012-10-06  David S. Miller  <davem@davemloft.net>
63438         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
63439         upper 32-bits of the length value in %o2 since we use branch-on-register
63440         tests which consider the entire 64-bit register.
63442 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
63444         * string/test-strstr.c (check2): Add a test for page boundary.
63446 2012-10-05  David S. Miller  <davem@davemloft.net>
63448         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
63449         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
63450         file.
63451         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63452         sysdep_routines.
63453         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63454         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
63455         and bzero when HWCAP_SPARC_CRYPTO is present.
63457 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
63459         [BZ #14602]
63460         * string/test-strstr.c (check2): New function.
63461         (test_main): Call check2.
63463         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
63464         and bug-strchr1.
63465         * string/bug-strcasestr1.c (do_test): Moved to ...
63466         * string/test-strcasestr.c (check1): Here.  New function.
63467         (do_one_test): Break out result checking code into ...
63468         (check_result): This.  New function.
63469         (do_one_test): Call check_result.
63470         (test_main): Call check1.
63471         * string/bug-strchr1.c (do_test): Moved to ...
63472         * string/test-strchr.c (check1): Here.  New function.
63473         (do_one_test): Break out result checking code into ...
63474         (check_result): This.  New function.
63475         (do_one_test): Call check_result.
63476         (test_main): Call check1.
63477         * string/bug-strstr1.c (main): Moved to ...
63478         * string/test-strstr.c (check1): Here.  New function.
63479         (do_one_test): Break out result checking code into ...
63480         (check_result): This.  New function.
63481         (do_one_test): Call check_result.
63482         (test_main): Call check1.
63483         * string/bug-strcasestr1.c: Removed.
63484         * string/bug-strchr1.c: Likewise.
63485         * string/bug-strstr1.c: Likewise.
63487         * elf/Makefile (dl-routines): Add hwcaps.
63488         * elf/dl-support.c (_dl_important_hwcaps): Removed.
63489         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
63490         (_dl_important_hwcaps): Moved to ...
63491         * elf/dl-hwcaps.c: Here.  New file.
63492         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
63494         [BZ #14557]
63495         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
63496         if IS_IN_rtld isn't defined.
63498         * elf/dl-support.c (_dl_sysinfo_map): New.
63499         Include "get-dynamic-info.h" and "setup-vdso.h".
63500         (_dl_non_dynamic_init): Call setup_vdso.
63501         * elf/dynamic-link.h: Don't include <assert.h>.
63502         (elf_get_dynamic_info): Moved to ...
63503         * elf/get-dynamic-info.h: Here.  New file.
63504         * elf/dynamic-link.h: Include "get-dynamic-info.h".
63505         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
63506         * elf/setup-vdso.h: Here.  New file.
63507         * elf/rtld.c: Include "setup-vdso.h".
63508         (dl_main): Call setup_vdso.
63510 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
63512         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
63513         creal in comment listing functions tested.  List finite, isinf,
63514         isnan, isless, islessequal, isgreater, isgreaterequal,
63515         islessgreater, isunordered, lgamma_r and pow10 as functions and
63516         macros not tested.  Mention which functions not tested are aliases
63517         for other functions.  Fix typo.  Note that signs of NaNs are not
63518         tested.
63520         * scripts/config.guess: Update from config.git.
63521         * scripts/config.sub: Likewise.
63523 2012-10-04  Roland McGrath  <roland@hack.frob.com>
63525         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
63526         * misc/madvise.c (madvise): Renamed to __madvise.
63527         Make madvise a weak alias.
63528         * include/sys/mman.h: Declare __madvise.
63529         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
63530         * sysdeps/unix/syscalls.list
63531         (madvise): Make __madvise the strong name, and madvise a weak alias.
63532         * sysdeps/unix/sysv/linux/syscalls.list
63533         (madvise, mmap): Remove redundant entries.
63534         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
63535         * malloc/malloc.c (mtrim): Likewise.
63536         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
63538 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63540         * sysdeps/mach/hurd/dl-cache.c: File removed.
63541         * config.h.in (USE_LDCONFIG): New #undef.
63542         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
63543         * configure: Regenerated.
63544         * elf/Makefile (dl-routines): Add dl-cache only under
63545         [$(use-ldconfig) = yes].
63546         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63547         cache on [USE_LDCONFIG].
63548         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
63549         [USE_LDCONFIG].
63550         * elf/rtld.c (dl_main): Likewise.
63552 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
63554         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
63555         _SC_LEVEL4_CACHE_LINESIZE.
63557 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63559         * sysdeps/unix/bsd/confstr.h: File removed.
63561 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
63563         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
63564         sys/sdt-config.h.
63566 2012-10-02  Roland McGrath  <roland@hack.frob.com>
63568         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
63569         Make 'mapoff' field ElfW(Off) rather than off_t.
63571 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
63573         * nscd/Makefile: Remove nscd-cflags and all its users.
63574         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
63575         (CFLAGS-nonlib): Add compiler flags for nscd modules.
63577         [BZ #10631]
63578         * malloc.c (malloc_printerr): Clarify error message.
63580 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
63582         [BZ #14648]
63583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63584         Set bit_FMA_Usable if FMA is supported.
63585         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
63586         macro.
63587         (bit_FMA4_Usable): Updated.
63588         (index_FMA_Usable): New macro.
63589         (CPUID_FMA): Likewise.
63590         (HAS_FMA): Defined with bit_FMA_Usable.
63592 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63594         * bits/types.h (__swblk_t): Type removed.
63595         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
63596         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
63597         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63598         (__SWBLK_T_TYPE): Likewise.
63599         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63600         (__SWBLK_T_TYPE): Likewise.
63601         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63602         (__SWBLK_T_TYPE): Likewise.
63603         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63604         (__SWBLK_T_TYPE): Likewise.
63606 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
63607             Honza Horak <hhorak@redhat.com>
63609         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
63610         (xdr_mapname): Use YPMAXMAP as maxsize.
63611         (xdr_peername): Use YPMAXPEER as maxsize.
63612         (xdr_keydat): Use YPAXRECORD as maxsize.
63613         (xdr_valdat): Use YPMAXRECORD as maxsize.
63615 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63617         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
63619         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
63620         * csu/init-first.c: ... here.
63621         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
63622         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
63623         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
63624         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
63625         * sysdeps/i386/init-first.c: File removed.
63626         * sysdeps/sh/init-first.c: File removed.
63628 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
63630         [BZ #14645]
63631         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
63632         if x * y might underflow to zero and z is zero.
63633         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63634         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63635         * math/libm-test.inc (min_subnorm_value): New variable.
63636         (fma_test): Add more tests.
63637         (fma_test_towardzero): Likewise.
63638         (fma_test_downward): Likewise.
63639         (fma_test_upward): Likewise.
63640         (initialize): Set min_subnorm_value.
63642 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
63644         [BZ #14638]
63645         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
63646         0 + 0.
63647         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
63648         mode for addition resulting in exact zero.
63649         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
63650         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
63651         exact 0 + 0.
63652         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63653         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63654         * math/libm-test.inc (fma_test): Add more tests.
63655         (fma_test_towardzero): New function.
63656         (fma_test_downward): Likewise.
63657         (fma_test_upward): Likewise.
63658         (main): Call the new functions.
63660 2012-09-28  David S. Miller  <davem@davemloft.net>
63662         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
63664 2012-09-28  Roland McGrath  <roland@hack.frob.com>
63666         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
63667         instead of SIGALRM.
63669         * sysdeps/gnu/_G_config.h: Moved to ...
63670         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
63671         * sysdeps/mach/hurd/_G_config.h: Moved to ...
63672         * sysdeps/generic/_G_config.h: ... here.
63674         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
63676         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
63678         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
63679         Conditionalize target on [libnss_test1.so-version].
63681         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
63683         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
63684         (elfobjdir): Move out of conditionals.
63686         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
63687         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
63688         (__nss_lookup_function): Conditionalize label remove_from_tree on
63689         [!DO_STATIC_NSS || SHARED], matching its only use.
63691 2012-09-28  David S. Miller  <davem@davemloft.net>
63693         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
63694         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
63695         file.
63696         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63697         sysdep_routines.
63698         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63699         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
63700         when HWCAP_SPARC_CRYPTO is present.
63702 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63704         * io/tst-mknodat.c: Create a FIFO instead of a socket.
63706 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
63708         [BZ #6530]
63709         * stdio-common/vfprintf.c (process_string_arg): Revert
63710         2000-07-22 change.
63712 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
63714         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
63715         for testcase.
63716         * stdio-common/tst-sprintf.c: Include <locale.h>
63717         (main): Test sprintf's handling of incomplete multibyte
63718         characters.
63720 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
63722         * elf/dl-runtime.c (VERSYMIDX): Removed.
63723         * elf/dl-version.c (VERSYMIDX): Likewise.
63724         * elf/do-rel.h (VERSYMIDX): Likewise.
63725         (VALIDX): Likewise.
63726         * elf/dynamic-link.h (VERSYMIDX): Likewise.
63727         * elf/rtld.c (VALIDX): Likewise.
63728         (ADDRIDX): Likewise.
63729         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
63730         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
63731         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
63732         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
63733         (VALIDX): Likewise.
63734         (ADDRIDX): Likewise.
63736 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63738         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
63740 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
63742         [BZ #11438]
63743         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
63744         to global scope.
63745         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63746         addresses are in the same scope as 192.0.2/24.
63747         * posix/gai.conf: Document new scope table defaults.
63749 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63751         [BZ #5298]
63752         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
63753         for ftell.  Compute offsets from write pointers instead.
63754         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63756 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63758         [BZ #14543]
63759         * libio/Makefile (tests): New test case tst-fseek.
63760         * libio/tst-fseek.c: New test case to verify that fseek/ftell
63761         combination works in wide mode.
63762         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
63763         state when the external buffer state changes.
63765 2012-09-27  David S. Miller  <davem@davemloft.net>
63767         [BZ #14376]
63768         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63769         pass reloc->r_addend in as the 'high' argument to
63770         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63774 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63776         * rt/tst-aio2.c: Include <pthread.h>.
63777         * rt/tst-aio3.c: Likewise.
63779 2012-09-27  Steve Ellcey  <sellcey@mips.com>
63781         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63783 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
63785         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63786         contents on [SHARED].
63788 2012-09-26  Marek Polacek  <polacek@redhat.com>
63790         [BZ #14530]
63791         [BZ #13741]
63792         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63793         for C++ and GCC <4.3 as well as for non GCC compilers.
63795 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63797         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63799 2012-09-25  Roland McGrath  <roland@hack.frob.com>
63801         * Makefile.in (all, install): Declare with .PHONY.
63802         Reported by Michael Hope <michael.hope@linaro.org>.
63804 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63806         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63807         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63808         system header.
63809         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63810         Likewise.
63811         (sydep_routines): Add the new and the internal functions.
63812         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63813         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63815         (GLIBC_2.17): Add the new function.
63816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63817         (GLIBC_2.17): Likewise.
63818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63819         (GLIBC_2.17): Likewise.
63820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63821         (GLIBC_2.17): Likewise.
63822         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63824 2012-09-25  Alan Modra  <amodra@gmail.com>
63826         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63827         Add release barrier before setting once_control to say
63828         initialisation is done.  Add hints on lwarx.  Use macro in
63829         place of isync.
63830         (clear_once_control): Add release barrier.
63832 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63834         [BZ #13629]
63835         * math/s_clog.c (__clog): Handle more values close to |z| = 1
63836         specially.
63837         * math/s_clog10.c (__clog10): Likewise.
63838         * math/s_clog10f.c (__clog10f): Likewise.
63839         * math/s_clog10l.c (__clog10l): Likewise.
63840         * math/s_clogf.c (__clogf): Likewise.
63841         * math/s_clogl.c (__clogl): Likewise.
63842         * math/Makefile (libm-calls): Add x2y2m1.
63843         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
63844         (__x2y2m1): Likewise.
63845         (__x2y2m1l): Likewise.
63846         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
63847         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
63848         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
63849         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63850         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
63851         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
63852         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
63853         * sysdeps/i386/fpu/libm-test-ulps: Update.
63854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63856         [BZ #14621]
63857         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
63858         int as type of variable DEPTH.
63859         (glob): Use size_t instead of int as type of variables NEWCOUNT
63860         and OLD_PATHC.
63862 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63864         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63865         Add s_sincosf-sse2.
63866         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63867         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63868         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63869         macros for using routine as __sincosf_ia32.
63870         Use macro for function declaration and weak_alias.
63871         * sysdeps/i386/fpu/libm-test-ulps: Update.
63873         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63876         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63877         subnormal argument.
63878         * math/s_cexpf.c (__cexpf): Likewise.
63879         * math/s_csinf.c (__csinf): Likewise.
63880         * math/s_csinhf.c (__csinhf): Likewise.
63881         * math/s_ctanf.c (__ctanf): Likewise.
63882         * math/s_ctanhf.c (__ctanhf): Likewise.
63883         * math/s_ccosh.c (__ccoshf): Likewise.
63884         * math/s_cexp.c (__cexpl): Likewise.
63885         * math/s_csin.c (__csin): Likewise.
63886         * math/s_csinh.c (__csinh): Likewise.
63887         * math/s_ctan.c (__ctan): Likewise.
63888         * math/s_ctanh.c (ctanh): Likewise.
63889         * math/s_ccoshl.c (__ccoshl): Likewise.
63890         * math/s_cexpl.c (__cexpl): Likewise.
63891         * math/s_csinl.c (__csinl): Likewise.
63892         * math/s_csinhl.c (__csinhl): Likewise.
63893         * math/s_ctanl.c (__ctanl): Likewise.
63894         * math/s_ctanhl.c (__ctanhl): Likewise.
63896 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63898         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
63899         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
63900         (_IO_off_t): Define to __off_t, not _G_off_t.
63901         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
63902         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
63903         (_IO_wint_t): Define to wint_t, not _G_wint_t.
63904         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
63905         type of __dummy and __dummy2 fields.
63906         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
63907         (_G_ssize_t): Likewise.
63908         (_G_off_t): Likewise.
63909         (_G_pid_t): Likewise.
63910         (_G_uid_t): Likewise.
63911         (_G_wchar_t): Likewise.
63912         (_G_wint_t): Likewise.
63913         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
63914         (_G_ssize_t): Likewise.
63915         (_G_off_t): Likewise.
63916         (_G_pid_t): Likewise.
63917         (_G_uid_t): Likewise.
63918         (_G_wchar_t): Likewise.
63919         (_G_wint_t): Likewise.
63920         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
63921         (_G_ssize_t): Likewise.
63922         (_G_off_t): Likewise.
63923         (_G_pid_t): Likewise.
63924         (_G_uid_t): Likewise.
63925         (_G_wchar_t): Likewise.
63926         (_G_wint_t): Likewise.
63928 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63930         * malloc/arena.c: Include malloc-sysdep.h.
63931         (shrink_heap): Use check_may_shrink_heap to decide if madvise
63932         is sufficient to shrink the heap or an unmap is needed.
63933         * sysdeps/generic/malloc-sysdep.h: New file.  Define
63934         new function check_may_shrink_heap.
63935         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
63936         new function check_may_shrink_heap.
63938 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63940         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
63941         comments.
63943 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
63945         * catgets/test-gencat.sh: Add "set -e".
63946         * elf/tst-pathopt.sh: Likewise.
63947         * grp/tst_fgetgrent.sh: Likewise.
63948         * iconvdata/run-iconv-test.sh: Likewise.
63949         * intl/tst-gettext.sh: Likewise.
63950         * intl/tst-gettext2.sh: Likewise.
63951         * intl/tst-gettext4.sh: Likewise.
63952         * intl/tst-gettext6.sh: Likewise.
63953         * intl/tst-translit.sh: Likewise.
63954         * io/ftwtest-sh: Likewise.
63955         * libio/test-freopen.sh: Likewise.
63956         * malloc/tst-mtrace.sh: Likewise.
63957         * posix/globtest.sh: Likewise.
63958         * posix/tst-getconf.sh: Likewise.
63959         * posix/wordexp-tst.sh: Likewise.
63960         * stdio-common/tst-printf.sh: Likewise.
63961         * stdio-common/tst-unbputc.sh: Likewise.
63962         * stdlib/tst-fmtmsg.sh: Likewise.
63963         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63964         * catgets/Makefile: Do not specify -e option when running
63965         testsuite shell scripts.
63966         * elf/Makefile: Likewise.
63967         * grp/Makefile: Likewise.
63968         * iconvdata/Makefile: Likewise.
63969         * intl/Makefile: Likewise.
63970         * io/Makefile: Likewise.
63971         * libio/Makefile: Likewise.
63972         * malloc/Makefile: Likewise.
63973         * posix/Makefile: Likewise.
63974         * stdio-common/Makefile: Likewise.
63975         * stdlib/Makefile: Likewise.
63976         * sysdeps/x86_64/Makefile: Likewise.
63978         * io/ftwtest-sh: Add copyright header.
63979         * posix/globtest.sh: Likewise.
63980         * posix/tst-getconf.sh: Likewise.
63981         * posix/wordexp-tst.sh: Likewise.
63982         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63984 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
63986         [BZ #13679]
63987         * Makeconfig (+link): Defined as $(+link-static) if
63988         $(build-shared) isn't yes.
63989         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
63990         isn't yes.
63991         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
63993         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
63995         [BZ #14562]
63996         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
63997         new chunk size with MALLOC_ALIGN_MASK.
63999 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
64001         [BZ #5044]
64002         * stdio-common/printf_fphex.c: Include <stdbool.h> and
64003         <rounding-mode.h>.
64004         (__printf_fphex): Determine rounding using get_rounding_mode and
64005         round_away.
64006         * stdio-common/tst-printf-round.c (struct hex_test): New
64007         structure.
64008         (hex_tests): New variable.
64009         (test_hex_in_one_mode): New function.
64010         (do_test): Also run tests for hex float output.
64012 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
64014         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64015         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64016         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
64017         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64018         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64019         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
64020         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64021         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64023 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
64025         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
64026         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
64027         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
64028         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
64030 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
64032         [BZ #14579]
64033         * elf/rtld.c (dl_main): Limit the check for self loading to normal
64034         mode only.
64035         * elf/tst-rtld-load-self.sh: New test.
64036         * elf/Makefile: Run it.
64038 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
64040         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
64041         (tst-writev-ENV): Remove.
64042         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
64044 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
64046         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
64048 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
64050         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
64051         unconditional.
64052         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
64053         Likewise.
64054         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
64055         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
64056         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
64057         Likewise.
64059 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
64061         [BZ #14587]
64062         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
64063         * config.make.in (have-cpp-asm-debuginfo): Removed.
64064         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
64065         * configure: Regenerated.
64067 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
64069         [BZ #5044]
64070         * stdio-common/printf_fp.c: Include <stdbool.h> and
64071         <rounding-mode.h>.
64072         (___printf_fp): Determine rounding using get_rounding_mode and
64073         round_away.
64074         * stdio-common/tst-printf-round.c: New file.
64075         * stdio-common/Makefile (tests): Add tst-printf-round.
64076         (link-libm): New variable.
64077         ($(objpfx)tst-printf-round): Depend in $(link-libm).
64079 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
64081         [BZ #14576]
64082         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
64083         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
64084         Likewise.
64085         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
64086         Likewise.
64088 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
64090         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
64091         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64092         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64093         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64095 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
64097         [BZ #14518]
64098         * include/rounding-mode.h: New file.
64099         * sysdeps/generic/get-rounding-mode.h: Likewise.
64100         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
64101         * stdlib/strtod_l.c: Include <rounding-mode.h>.
64102         (MAX_VALUE): New macro.
64103         (MIN_VALUE): Likewise.
64104         (overflow_value): New function.
64105         (underflow_value): Likewise.
64106         (round_and_return): Use overflow_value and underflow_value to
64107         determine return values in overflow and underflow cases.  Use
64108         round_away to determine rounding depending on rounding mode.
64109         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
64110         determine return values in overflow and underflow cases.
64111         * stdlib/tst-strtod-round.c: Include <fenv.h>.
64112         (struct test_results): New structure.
64113         (struct test): Use struct test_results to store expected results
64114         for all rounding modes.
64115         (TEST): Include expected results for all rounding modes.
64116         (test_in_one_mode): New function.
64117         (do_test): Use test_in_one_mode to compute and check results.
64118         Check results for all rounding modes.
64119         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
64120         $(link-libm).
64122 2012-12-09  Allan McRae  <allan@archlinux.org>
64124         * sysdeps/i386/fpu/libm-test-ulps: Update
64126 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
64128         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
64129         (_G_int32_t): Likewise.
64130         (_G_uint16_t): Likewise.
64131         (_G_uint32_t): Likewise.
64132         (_G_HAVE_BOOL): Likewise.
64133         (_G_HAVE_ATEXIT): Likewise.
64134         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64135         (_G_HAVE_IO_FILE_OPEN): Likewise.
64136         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
64137         (_G_int32_t): Likewise.
64138         (_G_uint16_t): Likewise.
64139         (_G_uint32_t): Likewise.
64140         (_G_HAVE_BOOL): Likewise.
64141         (_G_HAVE_ATEXIT): Likewise.
64142         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64143         (_G_HAVE_IO_FILE_OPEN): Likewise.
64144         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
64145         (_G_int32_t): Likewise.
64146         (_G_uint16_t): Likewise.
64147         (_G_uint32_t): Likewise.
64148         (_G_HAVE_BOOL): Likewise.
64149         (_G_HAVE_ATEXIT): Likewise.
64150         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64151         (_G_HAVE_IO_FILE_OPEN): Likewise.
64153 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
64155         * csu/libc-tls.c: Update copyright years.
64157 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
64159         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
64160         [!_G_USING_THUNKS]: Remove conditional code.
64161         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
64162         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
64164         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
64165         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
64166         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64167         (_G_VTABLE_LABEL_PREFIX): Likewise.
64168         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64169         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64170         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64171         (_G_VTABLE_LABEL_PREFIX): Likewise.
64172         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64173         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64174         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64175         (_G_VTABLE_LABEL_PREFIX): Likewise.
64176         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64178 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
64180         * libio/Makefile: Include ../Makeconfig before tests.
64181         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
64182         only if $(build-shared) is yes.
64184         * iconv/gconv_db.c: Update copyright years.
64186 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64188         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
64189         unwind info if defined PIC. Fix special cases description.
64190         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
64192         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
64193         DP_HI_MASK entry.
64194         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
64196 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
64198         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
64200         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
64201         is NULL.
64203         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
64204         (LDLIBS-tst-chk4): This.
64205         (LDFLAGS-tst-chk5): Renamed to ...
64206         (LDLIBS-tst-chk5): This.
64207         (LDFLAGS-tst-chk6): Renamed to ...
64208         (LDLIBS-tst-chk6): This.
64209         (LDFLAGS-tst-lfschk4): Renamed to ...
64210         (LDLIBS-tst-lfschk4): This.
64211         (LDFLAGS-tst-lfschk5): Renamed to ...
64212         (LDLIBS-tst-lfschk5): This.
64213         (LDFLAGS-tst-lfschk6): Renamed to ...
64214         (LDLIBS-tst-lfschk6): This.
64216         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
64217         on $(common-objpfx)soversions.mk.
64219 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
64221         [BZ #10014]
64222         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
64223         example host name.
64225 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64227         * malloc/arena.c (arena_get_retry): New function that gets
64228         another arena for the caller to try its request on.
64229         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
64230         current arena cannot fulfill the request.
64231         (__libc_memalign): Likewise.
64232         (__libc_memalign): Likewise.
64233         (__libc_pvalloc): Likewise.
64234         (__libc_calloc): Likewise.
64236 2012-09-05  John Tobey  <john.tobey@gmail.com>
64238         [BZ #13542]
64239         * manual/arith.texi (Operations on Complex): Fix description
64240         of carg branch cut.
64242 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64244         [BZ #10014]
64245         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
64246         host name.
64248         [BZ #10038]
64249         * manual/memory.texi (Memory): Make order of menu items match
64250         order of sections.
64252 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64254         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
64255         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
64256         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
64258 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64260         * csu/libc-tls.c (static_dtv): Renamed to ...
64261         (_dl_static_dtv): This.  Make it global.
64262         (_dl_initial_dtv): Removed.
64263         (__libc_setup_tls): Updated.
64264         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
64265         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
64266         DL_INITIAL_DTV.
64268 2012-09-06  Petr Machata  <pmachata@redhat.com>
64270         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
64271         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
64272         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
64273         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
64275 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64277         [BZ #14545]
64278         * csu/libc-tls.c (_dl_initial_dtv): New variable.
64279         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
64280         freeing dtv[-1].
64282 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64284         [BZ #14544]
64285         * Makeconfig (link-static-before-libc): Replace $(+prector)
64286         with $(+prectorT).
64287         (link-static-after-libc): Replace $(+postctor) with
64288         $(+postctorT).
64289         (link-bounded): Replace $(+prector)/$(+postctor) with
64290         $(+prectorT)/$(+postctorT).
64291         (+prectorT): New macro.
64292         (+postctorT): Likewise.
64294 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64296         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
64297         (round_str): Handle values above the maximum for IBM long double
64298         as inexact.
64299         * stdlib/tst-strtod-round.c (tests): Regenerated.
64301 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64303         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
64304         assembler flag.
64305         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
64306         zarch_nohighgprs around the zarch optimized routines.
64307         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
64308         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
64309         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
64310         for zarch.
64312 2012-09-05  David S. Miller  <davem@davemloft.net>
64314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64316         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
64317         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
64318         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
64319         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64320         entries.
64322 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64324         * malloc/arena.c: Fold copyright years.
64325         * malloc/mcheck.c, malloc/memusage.c: Likewise.
64327 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64329         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64331 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64333         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
64335 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64337         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64338         change internal state upon failure.
64340 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64342         * malloc/mcheck.c (mcheck_check_all): Fix typo.
64343         * malloc/memusage.c (mmap): Likewise.
64344         (mmap64, mremap): Likewise.  Adjust name in comment.
64346 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64348         * libio/fileops.c: Fix typos in comments.
64349         * libio/oldfileops.c: Likewise.
64350         * libio/wfileops.c: Likewise.
64352 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64354         [BZ #1349]
64355         * malloc/Makefile (tests): Add tst-malloc-usable test case.
64356         (tst-malloc-usable-ENV): Set environment for test case.
64357         * malloc/hooks.c (malloc_check_get_size): New function to get
64358         requested size.
64359         * malloc/malloc.c (musable): Use malloc_check_get_size.
64360         * malloc/tst-malloc-usable.c: New test case.
64362 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64364         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
64366 2012-09-05  Allan McRae  <allan@archlinux.org>
64368         [BZ #13966]
64369         * configure.in (CXX_SYSINCLUDES): Use compiler output to
64370         determine header location.
64371         * configure: Regenerated.
64373 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64375         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
64376         float format.
64377         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
64378         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
64379         format.
64380         (test): Regenerate.
64382 2012-09-04  David S. Miller  <davem@davemloft.net>
64384         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64385         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
64386         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
64388 2012-09-04  Florian Weimer  <fweimer@redhat.com>
64390         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
64391         failures.
64393         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64395 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
64397         [BZ #9914]
64398         * libio/iogetdelim.c: Include <limits.h>.
64399         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64400         + len + 1 would overflow.
64402 2012-09-03  Andreas Jaeger  <aj@suse.de>
64404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64405         * sysdeps/i386/fpu/libm-test-ulps: Update.
64407 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64409         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64410         Add s_sinf-sse2, s_conf-sse2.
64412         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64413         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64414         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64415         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64417         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
64418         for using routine as __sinf_ia32.
64419         Use macro for function declaration and weak_alias.
64420         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
64421         for using routine as __cosf_ia32.
64422         Use macro for function declaration and weak_alias.
64424         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64425         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
64427         * sysdeps/x86_64/fpu/s_sinf.S: New file.
64428         * sysdeps/x86_64/fpu/s_cosf.S: New file.
64429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64431         * math/libm-test.inc (cos_test): Add more test cases.
64432         (sin_test): Likewise.
64433         (sincos_test): Likewise.
64435 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64437         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
64438         (IFUNC_RESOLVE): Make pointers to the specialized implementations
64439         hidden.
64440         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64442 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
64444         [BZ #14538]
64445         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
64446         first element of the GOT.
64447         (elf_machine_load_address): Return the difference between
64448         the runtime address of _DYNAMIC and elf_machine_dynamic ().
64450 2012-09-01  Allan McRae  <allan@archlinux.org>
64452         [BZ #13412]
64453         * configure.in (AWK): Require gawk version 3.0 or later.
64454         * configure: Regenerated.
64456 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
64458         * sysdeps/unix/sysv/linux/kernel-features.h
64459         (__ASSUME_POSIX_CPU_TIMERS): Remove.
64460         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64461         [__NR_clock_getres]: Make code unconditional.
64462         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
64463         (clock_getcpuclockid): Remove code left unreachable by removal of
64464         conditionals.
64465         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
64466         code unconditional.
64467         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64468         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64469         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64470         Make code unconditional.
64471         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64472         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64473         * sysdeps/unix/sysv/linux/clock_settime.c
64474         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
64475         conditional code.
64476         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
64477         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64479 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
64481         [BZ #14476]
64482         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
64483         scripts/test-installation.pl.
64485         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
64486         and $ld_so_version if it is set.
64488 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64490         [BZ #14516]
64491         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
64492         failure if reading from procfs failed.
64493         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
64495 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64497         * sysdeps/unix/sysv/linux/kernel-features.h
64498         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
64499         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64500         Remove conditional code.
64501         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64502         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
64503         Remove conditional code.
64504         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64505         * sysdeps/unix/sysv/linux/i386/fxstat.c
64506         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64507         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64508         * sysdeps/unix/sysv/linux/i386/fxstatat.c
64509         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64510         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64511         * sysdeps/unix/sysv/linux/i386/lxstat.c
64512         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64513         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64514         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
64515         Remove conditional code.
64516         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64517         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64518         Remove conditional code.
64519         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64520         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
64521         <kernel-features.h>.
64522         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
64523         Remove.
64524         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
64525         Remove conditional code.
64526         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64527         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
64528         Remove conditional.
64530 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
64532         [BZ #5400]
64533         * NEWS: Add fixed bug number.
64535 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64537         [BZ #14519]
64538         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
64539         underflowing exponent in case of negative sign.
64540         * stdlib/tst-strtod-round-data: Add more tests.
64541         * stdlib/tst-strtod-round.c (tests): Regenerated.
64543         [BZ #3479]
64544         * stdlib/strtod_l.c (NDIG): Remove.
64545         (HEXNDIG): Likewise.
64546         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
64547         smallest representable value.
64548         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
64549         lie within an exact representation of 1/2 ulp of the result.
64550         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
64551         unconditionally.
64552         (TENS_P9_IDX): Define unconditionally.
64553         (TENS_P9_SIZE): Likewise.
64554         (TENS_P10_IDX): Likewise.
64555         (TENS_P10_SIZE): Likewise.
64556         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
64557         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64558         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
64559         entries for 10^2^13 and 10^2^14.
64560         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
64561         (TENS_P13_IDX): Define.
64562         (TENS_P13_SIZE): Likewise.
64563         (TENS_P14_IDX): Likewise.
64564         (TENS_P14_SIZE): Likewise.
64565         (_fpioconst_pow10): Change array size to
64566         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
64567         unconditional.
64568         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
64569         1024]: Add entries for 10^2^13 and 10^2^14.
64570         [LAST_POW10 > _LAST_POW10]: Remove #error.
64571         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
64572         (_fpioconst_pow10): Change array size to
64573         FPIOCONST_POW10_ARRAY_SIZE.
64574         * stdlib/gen-fpioconst.c: New file.
64575         * stdlib/gen-tst-strtod-round.c: Likewise.
64576         * stdlib/tst-strtod-round-data: Likewise.
64577         * stdlib/tst-strtod-round.c: Likewise.
64578         * stdlib/Makefile (tests): Add tst-strtod-round.
64580         [BZ #14459]
64581         * stdlib/strtod_l.c: Include <stdint.h>.
64582         (NDEBUG): Do not define.
64583         (round_and_return): Change EXPONENT parameter to type intmax_t.
64584         Rearrange calculations to avoid internal overflow possibilities.
64585         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
64586         Rearrange calculations to avoid internal overflow possibilities.
64587         Assert that number fits inside MPNSIZE limbs.
64588         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
64589         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
64590         calculations and add assertions to avoid internal overflow
64591         possibilities.  Add casts to avoid signed/unsigned operations.
64592         * stdlib/tst-strtod-overflow.c: New file.
64593         * stdlib/Makefile (tests): Add tst-strtod-overflow.
64595 2012-08-25  Marek Polacek  <polacek@redhat.com>
64597         * time/time.h: Fix some typos in comments.
64599 2012-08-23  Roland McGrath  <roland@hack.frob.com>
64601         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
64602         * posix/tst-rfc3484-2.c: Likewise.
64603         * posix/tst-rfc3484-3.c: Likewise.
64605 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
64607         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
64608         (EF_ARM_ABI_FLOAT_HARD): Likewise.
64610 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
64612         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
64613         #include of fxstatat64.c.
64615 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64617         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
64618         * shadow/getspent_r.c: Likewise.
64619         * shadow/getspnam.c: Likewise.
64620         * shadow/getspnam_r.c: Likewise.
64621         * gshadow/getsgent.c: Likewise.
64622         * gshadow/getsgent_r.c: Likewise.
64623         * gshadow/getsgnam.c: Likewise.
64624         * gshadow/getsgnam_r.c: Likewise.
64625         * inet/getnetbyad.c: Likewise.
64626         * inet/getnetbyad_r.c: Likewise.
64627         * inet/getnetbynm.c: Likewise.
64628         * inet/getnetbynm_r.c: Likewise.
64629         * inet/getnetent.c: Likewise.
64630         * inet/getnetent_r.c: Likewise.
64631         * inet/getproto.c: Likewise.
64632         * inet/getproto_r.c: Likewise.
64633         * inet/getprtent.c: Likewise.
64634         * inet/getprtent_r.c: Likewise.
64635         * inet/getprtname.c: Likewise.
64636         * inet/getprtname_r.c: Likewise.
64637         * inet/getrpcbyname.c: Likewise.
64638         * inet/getrpcbyname_r.c: Likewise.
64639         * inet/getrpcbynumber.c: Likewise.
64640         * inet/getrpcbynumber_r.c: Likewise.
64641         * inet/getrpcent.c: Likewise.
64642         * inet/getrpcent_r.c: Likewise.
64643         * inet/getaliasent.c: Likewise.
64644         * inet/getaliasent_r.c: Likewise.
64645         * inet/getaliasname.c: Likewise.
64646         * inet/getaliasname_r.c: Likewise.
64647         * nscd/getgrgid_r.c: Likewise.
64648         * nscd/getgrnam_r.c: Likewise.
64649         * nscd/gethstbyad_r.c: Likewise.
64650         * nscd/gethstbynm3_r.c: Likewise.
64651         * nscd/getpwnam_r.c: Likewise.
64652         * nscd/getpwuid_r.c: Likewise.
64653         * nscd/getsrvbynm_r.c: Likewise.
64654         * nscd/getsrvbypt_r.c: Likewise.
64655         * nscd/gai.c: Likewise.
64657         * configure.in (build_nscd): New substituted variable, set
64658         by --disable-build-nscd and defaults to $use_nscd.
64659         * configure: Regenerated.
64660         * config.make.in (build-nscd): New substituted variable.
64661         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
64662         Change conditional to require [$(build-nscd) = yes] as well.
64663         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
64665         [BZ# 13696]
64666         * configure.in (use_nscd): New substituted variable, set by
64667         --disable-nscd.  If enabled, define USE_NSCD.
64668         * configure: Regenerated.
64669         * config.h.in: Add USE_NSCD.
64670         * config.make.in (use-nscd): New substituted variable.
64671         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
64672         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
64673         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
64674         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
64675         (CFLAGS-getgrnam_r.c): Likewise.
64676         (CFLAGS-initgroups.c): Likewise.
64677         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
64678         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
64679         Variables removed.
64680         * inet/getnetgrent_r.c
64681         (nscd_setnetgrent): New function, broken out of ...
64682         (setnetgrent): ... here.  Call it.
64683         (innetgr): Conditionalize nscd bits on [USE_NSCD].
64684         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
64685         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
64686         * nscd/Makefile (routines, aux): Move definitions after include of
64687         Makeconfig.  Conditionalize on [$(use-nscd) != no].
64688         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
64689         Conditionalize on [USE_NSCD].
64690         (is_nscd, nscd_init_cb): Likewise.
64691         (nss_load_library): Conditionalize init callback on [USE_NSCD].
64692         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
64693         * nss/nss_db/db-init.c: Likewise.
64694         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
64695         [USE_NSCD].
64696         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
64697         (make_request): Use it.
64698         (cache_valid_p): New function.
64699         (__check_pf): Use it.
64700         * NEWS: Add item for --disable-nscd.
64702 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
64704         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
64705         to support sed >= 4.2.1-20-ga9bf076.
64706         * configure: Regenerated.
64708 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64710         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
64711         Conditionalize whole body on [IREL].
64713 2012-08-22  Jeff Law <law@redhat.com>
64715         [BZ #14505]
64716         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
64717         if the family is PF_UNSPEC.
64719 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
64721         * Makerules (lib-version): Rename from V.
64722         (install-lib-nosubdir): Change V to lib-version.
64724 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
64726         [BZ #14252]
64727         * powerpc32/power6/wcschr.c: New file.
64728         * powerpc32/power6/wcscpy.c: New file.
64729         * powerpc32/power6/wcsrchr.c: New file.
64730         * powerpc64/power6/wcschr.c: New file.
64731         * powerpc64/power6/wcscpy.c: New file.
64732         * powerpc64/power6/wcsrchr.c: New file.
64734 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64736         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
64737         (two_way_short_needle): Use it.
64738         * string/strstr.c (AVAILABLE1_USES_J): Define.
64739         * string/strcasestr.c: Likewise.
64741         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
64742         array references.
64743         * string/strcasestr.c (TOLOWER): Make side-effect safe.
64745         [BZ #11607]
64746         * NEWS: Add an entry.
64747         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
64748         define their defaults.
64749         (two_way_short_needle): Detect end-of-string on-the-fly.
64750         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
64751         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
64752         * string/bug-strcasestr1.c: New test.
64753         * string/Makefile: Run it.
64755 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64757         [BZ #11607]
64758         * string/str-two-way.h (two_way_short_needle): Optimize matching of
64759         the first character.
64761 2012-08-21  Roland McGrath  <roland@hack.frob.com>
64763         * csu/elf-init.c (__libc_csu_irel): Function removed.
64764         * csu/libc-start.c (apply_irel): New function.
64765         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64767 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
64769         * sysdeps/unix/sysv/linux/kernel-features.h
64770         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64771         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64772         <kernel-features.h>.
64773         [__NR_fadvise64_64]: Make code unconditional.
64774         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64775         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64776         !__NR_fadvise64_64)]: Likewise.
64777         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64778         !__NR_fadvise64_64))]: Likewise.
64779         [__NR_fadvise64]: Make code unconditional.
64780         [!__NR_fadvise64]: Remove conditional code.
64781         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64782         <kernel-features.h>.
64783         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64784         unconditional.
64785         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64786         conditional code.
64787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64788         not include <kernel-features.h>.
64789         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64790         unconditional.
64791         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64792         conditional code.
64793         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64794         include <kernel-features.h>.
64795         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64796         unconditional.
64797         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64798         conditional code.
64800 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64802         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64803         slight instruction rearrangements per scrollpipe analysis.
64804         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64806 2012-08-20  Roland McGrath  <roland@hack.frob.com>
64808         * manual/syslog.texi (syslog; vsyslog, closelog):
64809         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64810         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64812         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64813         DSOCAPS to match condition on defining it.
64815 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
64817         * sysdeps/unix/sysv/linux/kernel-features.h
64818         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64820         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64821         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64823         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64824         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64826         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64827         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64829         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64830         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64832         * sysdeps/unix/sysv/linux/kernel-features.h
64833         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64834         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64835         unconditional.
64836         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64837         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
64838         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64839         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64840         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
64841         Make code unconditional.
64842         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64843         (__mmap64) [!__NR_mmap2]: Likewise.
64844         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
64845         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64846         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64847         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
64848         [__NR_mmap2]: Make code unconditional.
64849         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64850         (__mmap64) [!__NR_mmap2]: Likewise.
64852 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64854         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
64856 2012-08-18  Andreas Jaeger  <aj@suse.de>
64858         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
64860 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64862         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64863         * include/unistd.h (__have_sock_cloexec): Likewise.
64864         (__have_pipe2): Likewise.
64865         (__have_dup3): Likewise.
64867 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64869         [BZ #9685]
64870         * include/unistd.h (__have_pipe2): Change define into an extern int.
64871         (__have_dup3): Likewise.
64872         * socket/have_sock_cloexec.c: Include fcntl.h.
64873         (__have_pipe2): New variable.
64874         (__have_dup3): Likewise.
64876 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64878         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64880 2012-08-17  Marek Polacek  <polacek@redhat.com>
64882         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64883         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64885 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64887         * configure.in: Add AC_SUBST for sysheaders.
64888         * configure: Regenerated.
64889         * config.make.in (sysheaders): New substituted variable.
64891         * sysdeps/unix/mkfifo.c: Moved ...
64892         * sysdeps/posix/mkfifo.c: ... here.
64893         * sysdeps/unix/mkfifoat.c: Moved ...
64894         * sysdeps/posix/mkfifoat.c: ... here.
64896         * sysdeps/unix/utime.c: Moved ...
64897         * sysdeps/posix/utime.c: ... here.
64899         * sysdeps/unix/time.c: Moved ...
64900         * sysdeps/posix/time.c: ... here.
64901         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
64902         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
64904         * sysdeps/unix/nice.c: Moved ...
64905         * sysdeps/posix/nice.c: ... here.
64907         * sysdeps/unix/alarm.c: Moved ...
64908         * sysdeps/posix/alarm.c: ... here.
64910         * intl/Makefile ($(codeset_mo)): Depend on the input file.
64912 2012-08-17  Jeff Law <law@redhat.com>
64914         * intl/Makefile (codeset_mo): New variable.
64915         ($(codeset_mo)): New target.
64916         (tst-codeset.out): Depend on that.  Remove explicit rule.
64917         (tst-gettext3.out, tst-gettext5.out): Likewise.
64918         (LOCPATH-ENV, tst-codeset-ENV): New variables.
64919         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
64920         * intl/tst-codeset.sh: Remove.
64921         * intl/tst-gettext3.sh: Likewise.
64922         * intl/tst-gettext5.sh: Likewise.
64924 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64926         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
64927         * sysdeps/unix/syscalls.list: ... here.
64929         * sysdeps/posix/getaddrinfo.c
64930         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
64931         (gaiconf_init, gaiconf_reload): Use them.
64932         [!_STATBUF_ST_NSEC]
64933         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
64934         Define using time_t rather than struct timespec.
64936         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
64937         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
64938         Macros removed.
64939         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
64940         [!NO_THREADS].
64941         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
64942         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
64943         Likewise.
64945         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
64946         __libc_cleanup_push argument.
64948         * bits/param.h: New file.
64949         * misc/sys/param.h: New file.
64950         * include/sys/param.h: New file.
64951         * misc/Makefile (headers): Add bits/param.h.
64952         * sysdeps/generic/sys/param.h: File removed.
64953         * sysdeps/unix/sysv/linux/bits/param.h: New file.
64954         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
64955         * sysdeps/mach/hurd/bits/param.h: New file.
64956         * sysdeps/mach/hurd/sys/param.h: File removed.
64958         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
64959         last change.
64961         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
64962         [_IO_MTSAFE_IO].
64963         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
64964         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
64965         New macros.
64967         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
64968         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
64969         rather than -D_IO_MTSAFE_IO conditionally.
64970         * stdio-common/Makefile (CPPFLAGS): Likewise.
64971         * wcsmbs/Makefile (CPPFLAGS): Likewise.
64972         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
64973         Use $(libio-mtsafe).
64974         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
64975         of -D_IO_MTSAFE_IO.
64976         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
64977         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
64978         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
64979         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
64980         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
64981         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
64982         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
64983         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
64984         (CFLAGS-fread_u_chk.c): Likewise.
64985         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
64986         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
64987         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
64988         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
64989         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
64990         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
64991         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
64992         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
64993         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
64995         * libio/Makefile: Test [$(libc-reentrant) = yes]
64996         instead of [$(filter %REENTRANT, $(defines)) nonempty].
64998         * Makeconfig
64999         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
65000         * sysdeps/pthread/configure: File removed.
65001         * sysdeps/pthread/Makeconfig: New file.
65002         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
65003         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
65005 2012-08-16  Gary Benson  <gbenson@redhat.com>
65007         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
65008         unmapping the first object in a namespace.
65010 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65012         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
65013         (__internal_setnetgrent): ... this.  Add internal_function to
65014         definition.  Add libc_hidden_def.
65015         (setnetgrent): Update caller.
65016         (internal_endnetgrent): Renamed to ...
65017         (__internal_endnetgrent): ... this.  Add internal_function to
65018         definition.  Add libc_hidden_def.
65019         (endnetgrent): Update caller.
65020         (internal_getnetgrent_r): Renamed to ...
65021         (__internal_getnetgrent_r): ... this.  Add internal_function to
65022         definition.  Add libc_hidden_def.
65023         (__getnetgrent_r): Update caller.
65024         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
65026 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65028         * stdlib/longlong.h: Update from GCC.
65030 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65032         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
65033         on _QL, which is set by umul_ppmm but never used.
65034         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
65035         variables, which are set by GMP macros but never used.
65036         * stdio-common/_itowa.c (_itowa): Likewise.
65037         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
65038         * stdlib/mod_1.c (mpn_mod_1): Likewise.
65040 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
65042         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
65043         struct La_sh_regs is not constant.
65044         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
65045         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
65046         and struct La_sparc64_regs are not constant.
65048 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65050         * sysdeps/unix/sysv/linux/kernel-features.h
65051         (__ASSUME_POSIX_TIMERS): Remove.
65052         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65053         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65054         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
65055         Make code unconditional.
65056         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65057         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
65058         Make code unconditional.
65059         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65060         * sysdeps/unix/sysv/linux/clock_nanosleep.c
65061         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
65062         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65063         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
65064         Make code unconditional.
65065         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65066         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
65067         (__libc_missing_posix_timers): Remove.
65069 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65071         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
65072         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
65074         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
65076         * elf/dl-sym.c: Include <stdlib.h>.
65078         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
65079         constants, which avoids warnings in 32-bit builds.
65081         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
65082         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
65084         * misc/lseek.c: File moved to ...
65085         * io/lseek.c: ... here.
65087         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
65089         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
65090         shifting LEN more than 31 bits at once.
65092 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65094         [BZ #14195]
65095         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
65096         segmentation fault for a case of two empty input strings.
65097         * string/test-strncasecmp.c (check1): Renamed to...
65098         (bz12205): ...this.
65099         (bz14195): Add new testcase for two empty input strings and N > 0.
65100         (test_main): Call new testcase, adapt for renamed function.
65102 2012-08-15  Andreas Jaeger  <aj@suse.de>
65104         [BZ #14090]
65105         * crypt/md5test2.c: New test, based on test supplied by Serge
65106         Belyshev <belyshev@depni.sinp.msu.ru>.
65107         * crypt/Makefile (xtests): Add md5test-giant..
65108         * crypt/Makefile ($(objpfx)md5test-giant): Add.
65110 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
65112         [BZ #14090]
65113         * crypt/md5.c (md5_process_block): Don't assume the buffer
65114         length is less than 2**32.
65115         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
65116         length is less than 2**64.
65118 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65120         * string/str-two-way.h: Include <sys/param.h>.
65121         (MAX): Macro removed.
65123         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
65124         Move #define and #undef of memmove to just before and after
65125         including <string.h>.
65127         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
65128         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
65129         and after including <string.h>.  Move declarations of
65130         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
65131         to before #include "string/memmove.c".
65133         * include/dirent.h: Declare __getdirentries.
65135         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
65136         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
65138 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
65140         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
65141         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
65142         * sysdeps/i386/configure: Regenerated.
65143         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
65144         STABS_CURRENT_FILE, and STABS_FUN.
65145         (END): Remove call to STABS_FUN_END.
65146         (STABS_CURRENT_FILE1): Delete.
65147         (STABS_CURRENT_FILE): Likewise.
65148         (STABS_FUN): Likewise.
65149         (STABS_FUN_END): Likewise.
65150         (STABS_FUN2): Likewise.
65151         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
65152         * sysdeps/x86_64/configure: Regenerated.
65154 2012-08-14  Roland McGrath  <roland@hack.frob.com>
65156         * elf/dl-open.c: Include <atomic.h>.
65157         * elf/dl-lookup.c: Likewise.
65159 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
65161         * sysdeps/unix/sysv/linux/kernel-features.h
65162         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
65163         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
65164         unconditionally.
65165         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
65166         unconditionally.
65167         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
65168         condition on __ASSUME_CLONE_THREAD_FLAGS.
65170 2012-08-14  Andreas Jaeger  <aj@suse.de>
65172         * sysdeps/i386/fpu/libm-test-ulps: Update.
65174 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
65176         * include/atomic.h (atomic_exchange_and_add): Split into ...
65177         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
65178         New atomic macros.
65180 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
65182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65184 2012-08-13  Jeff Law <law@redhat.com>
65186         * manual/stdio.texi (snprintf): Clarify handling of the trailing
65187         null byte in the output string.
65189 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
65191         * sysdeps/unix/sysv/linux/kernel-features.h
65192         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
65193         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
65194         (__ASSUME_ARG_MAX_STACK_BASED): Define.
65195         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
65196         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
65197         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
65198         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
65200 2012-08-09  Jeff Law <law@redhat.com>
65202         [BZ #13939]
65203         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
65204         When avoid_arena is set, don't retry in the that arena.  Pick the
65205         next one, whatever it might be.
65206         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
65207         (arena_lock): Pass in new parameter to arena_get2.
65208         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
65209         arena_get2.
65210         (__libc_malloc): Unify retrying after main arena failure with
65211         __libc_memalign version.
65212         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
65214 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
65216         [BZ #14166]
65217         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
65218         to __redirect_strstr.
65219         (__strstr_sse42): Use typeof __redirect_strstr.
65220         (__strstr_ia32): Likewise.
65221         (__libc_strstr): New prototype.
65222         (strstr): Renamed to ...
65223         (__libc_strstr): This.
65224         (strstr): New strong alias of __libc_strstr.
65225         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65226         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
65227         __redirect_time.
65228         Include <time.h>.
65229         (__libc_time): New prototype.
65230         (time_ifunc): Replace time with __libc_time.
65231         (time): New strong alias and hidden definition of __libc_time.
65232         (__GI_time): Remove strong alias.
65233         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
65234         Include <stddef.h>.
65235         (memmove): Redefined to __redirect_memmove.
65236         (__memmove_sse2): Use typeof __redirect_memmove.
65237         (__memmove_ssse3): Likewise.
65238         (__memmove_ssse3_back): Likewise.
65239         (__libc_memmove): New prototype.
65240         (memmove): Renamed to ...
65241         (__libc_memmove): This.
65242         (memmove): New strong alias of __libc_memmove.
65244 2012-08-08  Mark Salter  <msalter@redhat.com>
65246         * elf/elf.h
65247         (R_MN10300_TLS_GD): Define.
65248         (R_MN10300_TLS_LD): Likewise.
65249         (R_MN10300_TLS_LDO): Likewise.
65250         (R_MN10300_TLS_GOTIE): Likewise.
65251         (R_MN10300_TLS_IE): Likewise.
65252         (R_MN10300_TLS_LE): Likewise.
65253         (R_MN10300_TLS_DTPMOD): Likewise.
65254         (R_MN10300_TLS_DTPOFF): Likewise.
65255         (R_MN10300_TLS_TPOFF): Likewise.
65256         (R_MN10300_SYM_DIFF): Likewise.
65257         (R_MN10300_ALIGN): Likewise.
65258         (R_MN10300_NUM): Update.
65260 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
65262         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
65263         Remove.
65265 2012-08-08  Roland McGrath  <roland@hack.frob.com>
65267         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
65269         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
65270         sysdeps/unix -> sysdeps/posix move.
65271         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
65273 2012-08-07      Allan McRae     <allan@archlinux.org>
65275         [BZ #14303]
65276         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
65277         (SUNOS_CPP): Likewise.
65278         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
65279         not found.
65280         (open_input): Call CPP using execvp.
65282 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65284         * sysdeps/unix/sysv/linux/kernel-features.h
65285         (__ASSUME_PROT_GROWSUPDOWN): Remove.
65286         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65287         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65288         (__ASSUME_WAITID_SYSCALL): Likewise.
65289         * sysdeps/unix/sysv/linux/dl-execstack.c
65290         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
65291         code unconditional.
65292         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
65293         conditional code.
65294         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
65295         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
65296         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
65297         code.
65298         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
65299         unconditional.
65300         [__ASSUME_WAITID_SYSCALL]: Likewise.
65301         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
65303 2012-08-07  Roland McGrath  <roland@hack.frob.com>
65305         * sysdeps/unix/closedir.c: Renamed to ...
65306         * sysdeps/posix/closedir.c: ... here.
65307         * sysdeps/unix/dirfd.c: Renamed to ...
65308         * sysdeps/posix/dirfd.c: ... here.
65309         * sysdeps/unix/dirstream.h: Renamed to ...
65310         * sysdeps/posix/dirstream.h: ... here.
65311         * sysdeps/unix/fdopendir.c: Renamed to ...
65312         * sysdeps/posix/fdopendir.c: ... here.
65313         * sysdeps/unix/opendir.c: Renamed to ...
65314         * sysdeps/posix/opendir.c: ... here.
65315         * sysdeps/unix/readdir.c: Renamed to ...
65316         * sysdeps/posix/readdir.c: ... here.
65317         * sysdeps/unix/readdir_r.c: Renamed to ...
65318         * sysdeps/posix/readdir_r.c: ... here.
65319         * sysdeps/unix/rewinddir.c: Renamed to ...
65320         * sysdeps/posix/rewinddir.c: ... here.
65321         * sysdeps/unix/seekdir.c: Renamed to ...
65322         * sysdeps/posix/seekdir.c: ... here.
65323         * sysdeps/unix/telldir.c: Renamed to ...
65324         * sysdeps/posix/telldir.c: ... here.
65325         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
65326         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65327         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
65328         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
65330         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
65331         * bits/fcntl.h: ... here.
65333         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
65334         not 0.
65335         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
65336         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
65337         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
65338         (struct flock): Move l_start, l_len to the beginning.
65339         Use __pid_t for l_pid.
65340         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
65341         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
65342         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
65343         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
65344         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
65345         [__USE_LARGEFILE64] (struct flock64): New type.
65346         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
65348         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
65349         * bits/dirent.h: ... here.
65351         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
65352         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
65354 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65356         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65357         Change from 2.6.0 to 2.6.16.
65358         * sysdeps/unix/sysv/linux/configure: Regenerated.
65359         * sysdeps/unix/sysv/linux/kernel-features.h
65360         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
65361         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
65362         version.
65363         (__ASSUME_UTIMES): Likewise.
65364         (__ASSUME_CLONE_STOPPED): Remove.
65365         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
65366         architectures, not kernel version.
65367         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
65368         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65369         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65370         (__ASSUME_WAITID_SYSCALL): Likewise.
65371         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
65372         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
65373         * README: State 2.6.16 as minimum Linux kernel version.  Do not
65374         refer to older versions.
65376 2012-08-06  Roland McGrath  <roland@hack.frob.com>
65378         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
65379         Define alphasort64 as an alias.
65380         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
65381         Define versionsort64 as an alias.
65382         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
65383         Define scandir64 as an alias.
65384         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
65385         Define scandirat64 as an alias.
65386         * dirent/alphasort64.c (alphasort64):
65387         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
65388         * dirent/versionsort64.c: Likewise.
65389         * dirent/scandir64.c: Likewise.
65390         * dirent/scandirat64.c: Likewise.
65391         * sysdeps/wordsize-64/alphasort.c: File removed.
65392         * sysdeps/wordsize-64/alphasort64.c: File removed.
65393         * sysdeps/wordsize-64/scandir.c: File removed.
65394         * sysdeps/wordsize-64/scandir64.c: File removed.
65395         * sysdeps/wordsize-64/scandirat.c: File removed.
65396         * sysdeps/wordsize-64/scandirat64.c: File removed.
65397         * sysdeps/wordsize-64/versionsort.c: File removed.
65398         * sysdeps/wordsize-64/versionsort64.c: File removed.
65399         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65400         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65401         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65402         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65403         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65404         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65405         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65406         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65408         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65409         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65410         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65411         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65412         [defined __arch64__ || defined __sparcv9]
65413         (__INO_T_MATCHES_INO64_T): New macro.
65414         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65415         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65416         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65417         * sysdeps/unix/sysv/linux/bits/dirent.h
65418         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
65419         (_DIRENT_MATCHES_DIRENT64): New macro.
65421         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
65422         Define lockf64 as an alias.
65423         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
65424         Define fseeko64 as an alias.
65425         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
65426         Define ftello64 as an alias.
65427         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
65428         Define _IO_fgetpos64 and fgetpos64 as aliases.
65429         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
65430         Define _IO_fsetpos64 and fsetpos64 as aliases.
65431         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
65432         Conditionalize body on this.
65433         * libio/fseeko64.c: Likewise.
65434         * libio/ftello64.c: Likewise.
65435         * libio/iofgetpos64.c: Likewise.
65436         * libio/iofsetpos64.c: Likewise.
65437         * sysdeps/wordsize-64/lockf.c: File removed.
65438         * sysdeps/wordsize-64/lockf64.c: File removed.
65439         * sysdeps/wordsize-64/fseeko.c: File removed.
65440         * sysdeps/wordsize-64/fseeko64.c: File removed.
65441         * sysdeps/wordsize-64/ftello.c: File removed.
65442         * sysdeps/wordsize-64/ftello64.c: File removed.
65443         * sysdeps/wordsize-64/iofgetpos.c: File removed.
65444         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
65445         * sysdeps/wordsize-64/iofsetpos.c: File removed.
65446         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
65447         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
65448         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
65449         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
65450         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
65451         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
65452         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
65453         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
65454         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
65455         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
65456         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
65458         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65459         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65460         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
65461         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65462         [defined __arch64__ || defined __sparcv9]
65463         (__OFF_T_MATCHES_OFF64_T): New macro.
65464         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65465         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65466         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65467         (__OFF_T_MATCHES_OFF64_T): New macro.
65469 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65471         * stdlib/secure-getenv.c (__secure_getenv): Replace
65472         GLIBC_2_16 with GLIBC_2_17.
65474 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65476         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
65477         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65479 2012-08-03  David S. Miller  <davem@davemloft.net>
65481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65483 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65485         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
65486         Remove.
65487         (__ASSUME_CORRECT_SI_PID): Likewise.
65488         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
65489         (__ASSUME_TMPFS_NAME): Likewise.
65490         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
65491         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
65492         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
65493         (HAVE_AUX_SECURE): Make definition unconditional.
65494         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
65495         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
65497 2012-08-03  Roland McGrath  <roland@hack.frob.com>
65499         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
65500         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
65501         * sysdeps/mach/hurd/eloop-threshold.h: New file.
65502         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65503         __eloop_threshold instead of SYMLOOP_MAX.
65505         * sysdeps/generic/eloop-threshold.h: New file.
65506         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
65507         of MAXSYMLINKS.
65508         * elf/chroot_canon.c (chroot_canon): Likewise.
65510 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65512         [BZ #13717]
65513         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65514         Change to 2.6.0 everywhere.
65515         * sysdeps/unix/sysv/linux/configure: Regenerated.
65516         * sysdeps/unix/sysv/linux/kernel-features.h
65517         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
65518         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
65519         kernel versions.
65520         (__ASSUME_POSIX_TIMERS): Define unconditionally.
65521         (__ASSUME_FUTEX_REQUEUE): Remove.
65522         (__ASSUME_STATFS64): Define unconditionally.
65523         (__ASSUME_AT_SECURE): Likewise.
65524         (__ASSUME_CORRECT_SI_PID): Likewise.
65525         (__ASSUME_TGKILL): Define without depending on kernel version for
65526         i386.
65527         (__ASSUME_UTIMES): Likewise.
65528         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
65529         kernel version.
65530         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
65531         (__ASSUME_TMPFS_NAME): Likewise.
65532         * README: Update reference to Linux kernel versions.
65534 2012-08-02  Marek Polacek  <polacek@redhat.com>
65536         [BZ# 14150]
65537         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65538         libc_cv_asm_type_prefix with %.
65539         * configure: Regenerated.
65540         * include/libc-symbols.h: Remove comment about
65541         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65542         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
65543         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
65544         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
65545         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
65546         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65547         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
65548         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
65549         * elf/tst-unique2mod1.c: Likewise.
65550         * elf/tst-unique1mod2.c: Likewise.
65551         * elf/tst-unique1mod1.c: Likewise.
65552         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
65553         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
65554         Replace ASM_TYPE_DIRECTIVE with .type.
65555         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65556         * sysdeps/i386/sysdep.h: Likewise.
65557         * sysdeps/x86_64/sysdep.h: Likewise.
65558         * sysdeps/sh/sysdep.h: Likewise.
65559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65560         Do not define ASM_TYPE_DIRECTIVE.
65561         * sysdeps/powerpc/sysdep.h: Likewise.
65562         * sysdeps/powerpc/powerpc32/sysdep.h:
65563         Replace ASM_TYPE_DIRECTIVE with .type.
65564         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65565         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65566         * sysdeps/i386/fpu/e_powf.S: Likewise.
65567         * sysdeps/i386/fpu/e_expl.S: Likewise.
65568         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65569         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65570         * sysdeps/i386/fpu/e_pow.S: Likewise.
65571         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65572         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65573         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65574         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65575         * sysdeps/i386/fpu/e_log2.S: Likewise.
65576         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65577         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65578         * sysdeps/i386/fpu/e_powl.S: Likewise.
65579         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65580         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65581         * sysdeps/i386/fpu/e_logl.S: Likewise.
65582         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65583         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65584         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65585         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65586         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65587         * sysdeps/i386/fpu/e_log.S: Likewise.
65588         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65589         * sysdeps/i386/fpu/e_logf.S: Likewise.
65590         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65591         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65592         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65593         * sysdeps/i386/fpu/e_log10.S: Likewise.
65594         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65595         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65596         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65597         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65598         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65599         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65600         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65601         * sysdeps/i386/i686/strtok.S: Likewise.
65602         * sysdeps/i386/i386-mcount.S: Likewise.
65603         * sysdeps/i386/strtok.S: Likewise.
65604         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
65605         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65606         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65607         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65608         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65609         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65610         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65611         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65612         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65613         * sysdeps/x86_64/_mcount.S: Likewise.
65614         * sysdeps/x86_64/strtok.S: Likewise.
65615         * sysdeps/sh/_mcount.S: Likewise.
65617 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65619         * libio/iofopen.c: Include <fcntl.h>.
65620         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
65621         (_IO_fopen64, fopen64): Define as aliases.
65622         * libio/iofopen64.c: Include <fcntl.h>.
65623         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
65624         Conditionalize body on this.
65625         * sysdeps/wordsize-64/iofopen.c: File removed.
65626         * sysdeps/wordsize-64/iofopen64.c: File removed.
65628 2012-08-01  Marek Polacek  <polacek@redhat.com>
65630         * libc/Makeconfig: Use elf in place of binfmt-subdir.
65631         Use dlfcn directly instead of a variable.
65632         (binfmt-subdir): Do not define.
65633         (dlfcn): Likewise.
65635 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
65637         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
65638         Remove all definitions.
65639         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
65640         <kernel-features.h>.
65641         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65642         (miss_F_GETOWN_EX): Remove all definitions.
65643         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
65644         macro definition.
65645         [!__ASSUME_FCNTL64]: Remove conditional code.
65646         [__ASSUME_FCNTL64]: Make code unconditional.
65647         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
65648         <kernel-features.h>.
65649         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65650         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
65651         (lockf64) [__NR_fcntl64]: Make code unconditional.
65652         (lockf64) [__ASSUME_FCNTL64]: Likewise.
65654         * sysdeps/unix/sysv/linux/kernel-features.h
65655         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
65656         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
65657         Make code unconditional.
65658         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65659         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
65661         [__NR_vfork]: Make code unconditional.
65662         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65663         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
65665         [__NR_vfork]: Make code unconditional.
65666         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65667         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65669 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65671         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
65672         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
65674         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65675         Define mkstemp64 as an alias.
65676         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65677         Define mkstemps64 as an alias.
65678         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65679         Define mkostemp64 as an alias.
65680         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65681         Define mkostemps64 as an alias.
65682         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
65683         Conditionalize body on this.
65684         * misc/mkostemp64.c: Likewise.
65685         * misc/mkostemps64.c: Likewise.
65686         * misc/mkstemps64.c: Likewise.
65687         * sysdeps/wordsize-64/mkstemp64.c: File removed.
65688         * sysdeps/wordsize-64/mkostemp64.c: File removed.
65689         * sysdeps/wordsize-64/mkostemp.c: File removed.
65690         * sysdeps/wordsize-64/mkstemp.c: File removed.
65691         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
65692         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
65693         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
65694         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
65696         [BZ #14138]
65697         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
65698         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65699         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
65700         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
65702         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
65703         compat_symbol macros from <shlib-compat.h> rather than the underlying
65704         default_symbol_version and symbol_version macros, so that DEFAULT
65705         lines in shlib-versions are respected.
65706         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
65708 2012-08-01  Florian Weimer  <fweimer@redhat.com>
65710         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
65711         Declare with warn_unused_result.
65712         (setgid, setregid, setegid, setresgid): Likewise.
65713         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
65714         Likewise.
65715         * WUR-REPORT: Remove set*id functions.
65717 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
65719         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
65721 2012-07-31  Roland McGrath  <roland@hack.frob.com>
65723         [BZ #10191]
65724         * include/sys/socket.h (__libc_accept, __libc_accept4):
65725         Add attribute_hidden.
65726         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
65728         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
65729         use of PTR_MANGLE.
65730         * inet/getnetgrent_r.c (setup): Likewise.
65732         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
65734 2012-07-31  David S. Miller  <davem@davemloft.net>
65736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65738 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
65740         [BZ #13629]
65741         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
65742         value between 1.0 and 2.0 and smaller part has absolute value less
65743         than 1.0.
65744         * math/s_clog10.c (__clog10): Likewise.
65745         * math/s_clog10f.c (__clog10f): Likewise.
65746         * math/s_clog10l.c (__clog10l): Likewise.
65747         * math/s_clogf.c (__clogf): Likewise.
65748         * math/s_clogl.c (__clogl): Likewise.
65749         * math/libm-test.inc (clog_test): Add more tests.
65750         (clog10_test): Likewise.
65751         * sysdeps/i386/fpu/libm-test-ulps: Update.
65752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65754 2012-07-31  Florian Weimer  <fweimer@redhat.com>
65756         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
65757         Exit with zero in case no suitable GID is found, and write a
65758         message to standard error.
65760 2012-07-30  Roland McGrath  <roland@hack.frob.com>
65762         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
65763         rather than to 1.
65764         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
65765         (MAXPATHLEN): Removed.
65766         (NOGROUP, NODEV): New macros.
65767         (setbit, clrbit, isset, isclr): New macros.
65768         (howmany, roundup, powerof2): New macros.
65769         (DEV_BSIZE): New macro.
65771         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65772         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65774         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65775         definition on [!__NO_LONG_DOUBLE_MATH].
65777         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65778         PTR_MANGLE and PTR_DEMANGLE.
65780         * socket/accept4.c (accept4): Rename to __libc_accept4.
65781         Define accept4 as a weak alias.
65783         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65784         on [_DIRENT_HAVE_D_TYPE].
65785         * io/ftw.c (ftw_dir): Likewise.
65787         * io/xmknod.c (__xmknod): Don't check PATH for being null.
65789         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65791         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65792         Use the BSD numbers rather than the arbitrary ones we had.
65793         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65794         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65795         (SIGXCPU, SIGXFSZ): New macros.
65796         (_NSIG): Now 32.
65798         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65799         initializer on [_LIBC_REENTRANT].
65801         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65802         definitions inside [_POSIX_MAPPED_FILES].
65804         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65806         * dirent/opendir.c: Include <fcntl.h>.
65808         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65809         (__libc_getspecific): Likewise.
65810         (__libc_key_create): Likewise.
65812         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65813         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65814         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65815         (tmpfile64): Define as alias.
65816         * sysdeps/wordsize-64/tmpfile.c: File removed.
65817         * sysdeps/wordsize-64/tmpfile64.c: File removed.
65818         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65819         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65821         * stdio-common/vfscanf.c: Include <stdbool.h>.
65822         * nss/makedb.c: Likewise.
65823         * stdio-common/_i18n_number.h: Likewise.
65824         * argp/argp-help.c: Likewise.
65825         * posix/wordexp.c: Likewise.
65826         * sysdeps/posix/spawni.c: Likewise.
65827         * nss/nss_files/files-initgroups.c: Likewise.
65828         * stdio-common/reg-modifier.c: Include <stdlib.h>.
65829         * nss/nss_files/files-initgroups.c: Likewise.
65830         * nss/nss_db/db-netgrp.c: Likewise.
65831         * nss/nss_db/db-initgroups.c: Likewise.
65832         * io/fchmodat.c: Include <sys/stat.h>.
65834         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65835         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
65837         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
65838         [HAVE_MMAP].
65840         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
65841         Add multiple inclusion protection.
65843 2012-07-27  David S. Miller  <davem@davemloft.net>
65845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65847 2012-07-27  Gary Benson  <gbenson@redhat.com>
65849         [BZ #14298]
65850         * elf/rtld.c: Include <stap-probe.h>.
65851         (dl_main): Added static probes "init_start" and "init_complete".
65852         * elf/dl-load.c: Include <stap-probe.h>.
65853         (lose): Take new parameter "nsid".
65854         Added static probe "map_failed".
65855         (_dl_map_object_from_fd): Pass namespace id to lose.
65856         Added static probe "map_start".
65857         (open_verify): Pass namespace id to lose.
65858         * elf/dl-open.c: Include <stap-probe.h>.
65859         (dl_open_worker) Added static probes "map_complete", "reloc_start"
65860         and "reloc_complete".
65861         * elf/dl-close.c: Include <stap-probe.h>.
65862         (_dl_close_worker): Added static probes "unmap_start" and
65863         "unmap_complete".
65864         * elf/rtld-debugger-interface.txt: New file documenting the above.
65866 2012-07-26  Roland McGrath  <roland@hack.frob.com>
65868         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65869         rather than a string variable.
65870         * sunrpc/rpc_main.c (h_output): Likewise.
65871         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65873 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65875         * inet/check_native.c: New file.
65877 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
65879         [BZ #13629]
65880         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65881         if larger part has absolute value 1.0.
65882         * math/s_clog10.c (__clog10): Likewise.
65883         * math/s_clog10f.c (__clog10f): Likewise.
65884         * math/s_clog10l.c (__clog10l): Likewise.
65885         * math/s_clogf.c (__clogf): Likewise.
65886         * math/s_clogl.c (__clogl): Likewise.
65887         * math/libm-test.inc (clog_test): Add more tests.
65888         (clog10_test): Likewise.
65889         * sysdeps/i386/fpu/libm-test-ulps: Update.
65890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65892         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65893         (pltexit): Likewise.
65894         (La_regs): Likewise.
65895         (La_retval): Likewise.
65896         (int_retval): Likewise.
65897         Update #error for removed macros to refer only to definitions in
65898         tst-audit.h.
65899         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
65900         macro.
65901         (pltexit): Likewise.
65902         (La_regs): Likewise.
65903         (La_retval): Likewise.
65904         (int_retval): Likewise.
65905         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
65906         macro.
65907         (pltexit): Likewise.
65908         (La_regs): Likewise.
65909         (La_retval): Likewise.
65910         (int_retval): Likewise.
65911         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
65912         macro.
65913         (pltexit): Likewise.
65914         (La_regs): Likewise.
65915         (La_retval): Likewise.
65916         (int_retval): Likewise.
65917         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
65918         macro.
65919         (pltexit): Likewise.
65920         (La_regs): Likewise.
65921         (La_retval): Likewise.
65922         (int_retval): Likewise.
65923         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
65924         macro.
65925         (pltexit): Likewise.
65926         (La_regs): Likewise.
65927         (La_retval): Likewise.
65928         (int_retval): Likewise.
65929         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
65930         macro.
65931         (pltexit): Likewise.
65932         (La_regs): Likewise.
65933         (La_retval): Likewise.
65934         (int_retval): Likewise.
65935         * sysdeps/generic/tst-audit.h: Update comment to refer only to
65936         macro definitions in tst-audit.h.
65937         * sysdeps/i386/tst-audit.h: New file.
65938         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
65939         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
65940         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
65941         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
65942         * sysdeps/sh/tst-audit.h: Likewise.
65943         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
65944         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
65945         * sysdeps/x86_64/tst-audit.h: Likewise.
65947 2012-07-26  Andreas Jaeger  <aj@suse.de>
65949         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
65950         ptrace.
65952         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
65953         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
65954         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
65955         PTRACE_O_MASK.
65956         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
65957         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
65958         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
65960         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
65961         value.
65963         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
65964         _sigsys.
65965         (si_call_addr, si_syscall, si_arch): Define new macro.
65966         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
65967         _sigsys.
65968         (si_call_addr, si_syscall, si_arch): Define new marcro.
65969         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
65970         _sigsys.
65971         (si_call_addr, si_syscall, si_arch): Define new macro.
65972         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
65973         _sigsys.
65974         (si_call_addr, si_syscall, si_arch): Define new macro.
65976 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65978         [BZ #13717]
65979         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65980         Change to 2.4.21 where previously 2.4.1.
65981         * sysdeps/unix/sysv/linux/configure: Regenerated.
65982         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
65983         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
65984         Linux kernel version.
65985         (__ASSUME_STD_AUXV): Remove.
65986         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
65987         kernel version.
65988         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
65989         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
65990         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
65991         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
65992         (__ASSUME_NETLINK_SUPPORT): Likewise.
65993         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
65994         (__no_netlink_support): Remove conditional definition.
65995         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
65996         Remove.
65997         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65998         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
65999         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
66000         (if_nameindex_ioctl): Remove.
66001         (if_nameindex_netlink): Do not handle __no_netlink_support.
66002         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66003         code.
66004         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
66005         Remove conditional code.
66006         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66007         code.
66008         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
66009         unconditional.
66010         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66011         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
66012         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
66013         Remove.
66014         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
66015         [!__ASSUME_STD_AUXV]: Remove conditional code.
66016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
66017         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
66018         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
66019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
66020         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
66021         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66022         code.
66023         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
66025         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
66026         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66027         conditional code.
66028         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
66030         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66031         code.
66032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
66033         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66034         conditional code.
66035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
66036         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66037         code unconditional.
66038         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66039         conditional code.
66040         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66041         unconditional.
66042         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66043         conditional code.
66044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66045         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66046         unconditional.
66047         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66048         conditional code.
66049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
66050         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66051         code unconditional.
66052         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66053         conditional code.
66054         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66055         unconditional.
66056         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66057         conditional code.
66058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
66059         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66060         code unconditional.
66061         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66062         conditional code.
66063         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66064         unconditional.
66065         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66066         conditional code.
66068 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
66070         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
66071         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
66072         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
66073         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
66074         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
66075         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
66076         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
66077         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
66078         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
66079         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
66080         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
66081         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
66082         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
66083         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
66084         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
66085         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
66086         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
66087         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
66088         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
66089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
66090         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
66091         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
66092         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66094 2012-07-25  Florian Weimer  <fweimer@redhat.com>
66096         * Versions.def: Add GLIBC_2.17.
66097         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
66098         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
66099         Introduce __libc_secure_getenv.
66100         * stdlib/Versions (2.17): Add secure_getenv
66101         (GLIBC_PRIVATE): Add __libc_secure_getenv.
66102         * stdlib/secure-getenv.c: Rename __secure_getenv to
66103         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
66104         symbol __secure_getenv for GLIBC_2.0.
66105         * stdlib/tst-secure-getenv.c: New.
66106         * stdlib/Makefile (tests): Add testcase.
66107         * manual/startup.texi (Environment Access): Document
66108         secure_getenv.
66109         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
66110         __libc_secure_getenv.
66111         * inet/ruserpass.c (ruserpass): Likewise.
66112         * malloc/mtrace.c (mtrace): Likewise.
66113         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
66114         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
66115         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
66116         * sysdeps/posix/tempname.c: Likewise.  Evaluate
66117         HAVE_SECURE_GETENV.
66118         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
66119         __secure_getenv to __libc_secure_getenv.
66120         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
66121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66122         Likewise.
66123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66124         Likewise.
66125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66127         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66133 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66135         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
66136         (struct La_i86_retval): Likewise.
66137         (struct La_x86_64_regs): Likewise.
66138         (struct La_x86_64_retval): Likewise.
66139         (struct La_x32_regs): Likewise.
66140         (struct La_x32_retval): Likewise.
66141         (struct La_ppc32_regs): Likewise.
66142         (struct La_ppc32_retval): Likewise.
66143         (struct La_ppc64_regs): Likewise.
66144         (struct La_ppc64_retval): Likewise.
66145         (struct La_sh_regs): Likewise.
66146         (struct La_sh_retval): Likewise.
66147         (struct La_s390_32_regs): Likewise.
66148         (struct La_s390_32_retval): Likewise.
66149         (struct La_s390_64_regs): Likewise.
66150         (struct La_s390_64_retval): Likewise.
66151         (struct La_sparc32_regs): Likewise.
66152         (struct La_sparc32_retval): Likewise.
66153         (struct La_sparc64_regs): Likewise.
66154         (struct La_sparc64_retval): Likewise.
66155         (struct audit_ifaces): Remove architecture-specific pltenter and
66156         pltexit members.
66157         * sysdeps/i386/ldsodefs.h: New file.
66158         * sysdeps/powerpc/ldsodefs.h: Likewise.
66159         * sysdeps/s390/ldsodefs.h: Likewise.
66160         * sysdeps/sh/ldsodefs.h: Likewise.
66161         * sysdeps/sparc/ldsodefs.h: Likewise.
66162         * sysdeps/x86_64/ldsodefs.h: Likewise.
66164 2012-07-25  Marek Polacek  <polacek@redhat.com>
66166         [BZ #6808]
66167         * math/libm-test.inc (yn_test): Add another test.
66168         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
66169         to ERANGE when the result is +-Inf.
66170         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
66171         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
66172         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
66173         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
66175 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
66177         * conform/data/time.h-data (NULL): Use macro-constant.  Require
66178         equal to 0.
66179         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
66180         clock_t.
66181         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
66183 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
66185         * configure.in <sysdeps resolving>: Correct printing
66186         Implies_before.
66187         * configure: Regenerate.
66189 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
66191         * math/w_ilogb.c: Include <limits.h>.
66192         * math/w_ilogbl.c: Likewise.
66194 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66196         * manual/lang.texi (__va_copy): Document primarily as ISO C99
66197         va_copy.  Document allowing for unavailable va_copy only as
66198         pre-C99 compatibility.
66199         * manual/string.texi (Copying and Concatenation): Use va_copy
66200         instead of __va_copy in concat example.
66202 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
66204         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
66205         (__sendto): Use create_address_port.  Initialize APORT and deallocate
66206         it if not null.
66208         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
66209         with O_NOLINK passed to __file_name_lookup.
66211         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
66212         with O_NOLINK passed to __file_name_lookup.
66214         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
66215         negative N or less than NGIDS.
66217         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
66218         type to string_t.  Set ERANGE as errno and return it if NAME is not big
66219         enough.  Use memcpy instead of strncpy.
66221 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66223         * elf/Makefile (check-data): Remove.
66224         (localplt.data): New vpath directive.
66225         ($(objpfx)check-localplt.out): Use localplt.data from vpath
66226         instead of $(check-data).
66227         * scripts/data/localplt-generic.data: Move to ...
66228         * sysdeps/generic/localplt.data: ... here.
66229         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
66230         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
66231         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
66232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
66233         ... here.
66234         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
66235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
66236         ... here.
66237         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
66238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
66239         ... here.
66240         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
66241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
66242         ... here.
66243         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
66244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
66245         ... here.
66246         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
66247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
66248         ... here.
66250 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66252         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
66253         PPC32 and PPC64 files.
66254         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
66255         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
66257 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66259         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
66260         __makecontext_ret to ...
66261         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
66262         ... here and call exit if uc_link is NULL.  New file.
66263         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
66264         __makecontext_ret.S.
66265         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
66266         __makecontext_ret to ...
66267         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
66268         ... here and call exit if uc_link is NULL.  New file.
66269         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
66270         __makecontext_ret.S.
66272 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66274         * elf/elf.h (R_390_IRELATIVE): New definition.
66275         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
66276         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
66277         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
66278         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66279         (elf_machine_lazy_rel): Likewise.
66280         * sysdeps/s390/dl-irel.h: New file.
66281         * sysdeps/s390/s390-64/memcpy.S: New asm code.
66282         * sysdeps/s390/s390-64/memset.S: New asm code.
66283         * sysdeps/s390/s390-64/memcmp.S: New asm code.
66284         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
66285         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
66286         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
66287         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
66288         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
66289         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
66290         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
66291         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
66292         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
66293         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
66294         * sysdeps/s390/s390-32/memcpy.S: New asm code.
66295         * sysdeps/s390/s390-32/memset.S: New asm code.
66296         * sysdeps/s390/s390-32/memcmp.S: New asm code.
66298 2012-07-17  Marek Polacek  <polacek@redhat.com>
66300         [BZ #14349]
66301         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
66302         * sysdeps/s390/s390-64/configure.in: Likewise.
66303         * sysdeps/sparc/configure.in: Likewise.
66304         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
66305         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
66306         * sysdeps/i386/configure.in: Likewise.
66307         * sysdeps/x86_64/configure.in: Likewise.
66308         * sysdeps/sh/configure.in: Likewise.
66309         * sysdeps/s390/s390-32/configure: Regenerated.
66310         * sysdeps/s390/s390-64/configure: Likewise.
66311         * sysdeps/x86_64/configure: Likewise.
66312         * sysdeps/sh/configure: Likewise.
66313         * sysdeps/powerpc/powerpc64/configure: Likewise.
66314         * sysdeps/powerpc/powerpc32/configure: Likewise.
66315         * sysdeps/sparc/configure: Likwise.
66316         * sysdeps/i386/configure: Likewise.
66318         * elf/dl-open.c: Comment fixes.
66320 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
66322         * Makefile [CXX] (check-data): Remove.
66323         [CXX] (c++-types.data): New vpath directive.
66324         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
66325         vpath.  Do not allow for C++ type data being missing.
66326         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
66327         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
66328         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
66329         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
66330         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
66331         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
66332         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
66333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
66334         ... here.
66335         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
66336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
66337         ... here.
66338         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
66339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
66340         ... here.
66341         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
66342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
66343         ... here.
66344         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
66345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
66346         ... here.
66347         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
66348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
66349         ... here.
66350         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
66351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
66352         ... here.
66353         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
66354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
66356         * elf/tls-macros.h (TLS_LE): Move architecture-specific
66357         definitions to architecture-specific files.
66358         (TLS_IE): Likewise.
66359         (TLS_LD): Likewise.
66360         (TLS_GD): Likewise.
66361         * sysdeps/i386/tls-macros.h: New file.
66362         * sysdeps/powerpc/tls-macros.h: Likewise.
66363         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
66364         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66365         * sysdeps/sh/tls-macros.h: Likewise.
66366         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
66367         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
66368         * sysdeps/x86_64/tls-macros.h: Likewise.
66370 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66372         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
66373         zero value for regular exit case.
66375         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
66376         (__start_context): Preserve zero value for regular exit case.
66378 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66379             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66381         * manual/setjmp.texi (setcontext): Clarify normal process
66382         termination when uc_link is the null pointer.
66383         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
66384         exit call.
66386 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
66388         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
66389         preprocessor.  Test for each exception mask separately.
66391 2012-07-16  Andreas Jaeger  <aj@suse.de>
66393         * po/ru.po: Update from translation team.
66395 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
66397         * conform/data/string.h-data (NULL): Use macro-constant.  Require
66398         equal to 0.
66399         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66400         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66401         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66402         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66403         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66405 2012-07-13  Andreas Jaeger  <aj@suse.de>
66407         * po/fr.po: Update from translation team.
66409 2012-07-12  Marek Polacek  <polacek@redhat.com>
66411         [BZ #14173]
66412         * math/libm-test.inc (yn_test): Add test for BZ #14173.
66413         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66414         loop condition.
66416 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
66418         [BZ #13717]
66419         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66420         Change to 2.4.1 where previously 2.4.0.
66421         * sysdeps/unix/sysv/linux/configure: Regenerated.
66422         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
66423         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
66424         version.
66425         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
66426         (__ASSUME_AT_CLKTCK): Remove.
66427         (__ASSUME_AT_PAGESIZE): Likewise.
66428         (__ASSUME_AT_XID): Likewise.
66429         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
66430         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
66431         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
66432         unconditionally.
66433         (HAVE_AUX_PAGESIZE): Likewise.
66434         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
66435         [__ASSUME_AT_CLKTCK]: Make code unconditional.
66436         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
66438 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
66440         [BZ #14307]
66441         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
66442         the temporary buffer used to invoke __gethostbyname2_r,
66443         __gethostbyaddr_r and gethostbyname4_r to make room for struct
66444         host_data / struct gaih_addrtuple.
66445         * resolv/nss_dns/dns-host.c (global scope): Move definition of
66446         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
66447         header file nss/nsswitch.h.
66448         * nss/nsswitch.h (global scope): Add definition of implementation
66449         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
66450         resolv/nss_dns/dns-host.c).
66452 2012-07-11  Andreas Jaeger  <aj@suse.de>
66454         * po/fr.po: Update from translation team.
66456         * po/sv.po: Update from translation team
66457         * po/fr.po: Another update from translation team.
66459 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66461         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
66462         for subnormals or multiply small sinh result by itself.
66463         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66466 2012-07-11  David S. Miller  <davem@davemloft.net>
66468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66470 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
66472         [BZ #14347]
66473         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
66474         (INTERNAL_MARK): Shift it here.
66476 2012-07-10  Marek Polacek  <polacek@redhat.com>
66478         [BZ #14151]
66479         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
66480         libc_cv_asm_global_directive with .globl.
66481         * configure: Regenerated.
66482         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
66483         with .globl.
66484         * sysdeps/i386/configure: Regenerated.
66485         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
66486         with .globl.
66487         * sysdeps/x86_64/configure: Regenerated.
66488         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
66489         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
66490         * elf/tst-unique2mod2.c: Likewise.
66491         * elf/tst-unique2mod1.c: Likewise.
66492         * elf/tst-unique1mod2.c: Likewise.
66493         * elf/tst-unique1mod1.c: Likewise.
66494         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66495         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66496         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66497         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66498         * sysdeps/mach/sysdep.h: Likewise.
66499         * sysdeps/i386/sysdep.h: Likewise.
66500         * sysdeps/i386/i386-mcount.S: Likewise.
66501         * sysdeps/x86_64/_mcount.S: Likewise.
66502         * sysdeps/x86_64/sysdep.h: Likewise.
66503         * sysdeps/sh/_mcount.S: Likewise.
66504         * sysdeps/sh/sysdep.h: Likewise.
66505         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
66506         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
66507         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
66508         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66509         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
66510         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
66511         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
66512         * locale/localeinfo.h: Likewise.
66513         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
66514         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
66516 2012-07-09  Roland McGrath  <roland@hack.frob.com>
66518         [BZ #14336]
66519         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
66520         system".
66521         * manual/message.texi (The Uniforum approach): Likewise.
66522         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
66523         (glibc iconv Implementation): Likewise.
66525 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
66527         [BZ #14337]
66528         * math/s_clog.c (__clog): Avoid scaling a value down where that
66529         could result in underflow.
66530         * math/s_clog10.c (__clog10): Likewise.
66531         * math/s_clog10f.c (__clog10f): Likewise.
66532         * math/s_clog10l.c (__clog10l): Likewise.
66533         * math/s_clogf.c (__clogf): Likewise.
66534         * math/s_clogl.c (__clogl): Likewise.
66535         * math/libm-test.inc (clog_test): Add more tests.
66536         (clog10_test): Likewise.
66537         * sysdeps/i386/fpu/libm-test-ulps: Update.
66538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66540 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66542         [BZ #14283]
66543         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
66544         by 7 not 8 to examine high bit of fractional part.
66546         [BZ #14042]
66547         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
66548         for call to __mcount_internal.
66549         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
66550         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
66551         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
66553 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
66555         [BZ #14154]
66556         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
66557         approximation for values within 0x1p-13f of an odd multiple of
66558         pi/4.
66559         * math/libm-test.inc (tan_test): Do not allow spurious underflow
66560         exception.  Add more tests.
66561         * sysdeps/i386/fpu/libm-test-ulps: Update.
66563         [BZ #6778]
66564         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
66565         inputs and return -1 for them.  Do not check for +Inf in case not
66566         reachable for +Inf.
66567         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
66568         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
66569         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66570         and return -1 for them.  Do not check for +Inf in case not
66571         reachable for +Inf.
66572         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
66573         define.
66574         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66575         and return -1 for them.  Do not check for +Inf in case not
66576         reachable for +Inf.
66577         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
66578         spurious underflow.
66579         * sysdeps/i386/fpu/libm-test-ulps: Update.
66580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66582 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
66584         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
66586 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
66588         [BZ #14157]
66589         [BZ #14331]
66590         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
66591         could result in spurious underflow.  Scale down values above
66592         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
66593         * math/s_csqrtf.c (__csqrtf): Likewise.
66594         * math/s_csqrtl.c (__csqrtl): Likewise.
66595         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
66596         spurious underflow.
66597         * sysdeps/i386/fpu/libm-test-ulps: Update.
66598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66600 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
66602         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
66603         xopen-msg.sed.
66604         * catgets/xopen-msg.awk: New file.
66605         * catgets/xopen-msg.sed: Removed.
66607         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
66608         po2text.sed.
66609         * intl/po2test.awk: New file.
66610         * intl/po2test.sed: Removed.
66612 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
66614         [BZ #14328]
66615         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
66616         or multiply small sinh result by itself.
66617         * math/s_ctanf.c (__ctanf): Likewise.
66618         * math/s_ctanh.c (__ctanh): Likewise.
66619         * math/s_ctanhf.c (__ctanhf): Likewise.
66620         * math/s_ctanhl.c (__ctanhl): Likewise.
66621         * math/s_ctanl.c (__ctanl): Likewise.
66622         * math/libm-test.inc (ctan_test_tonearest): New function.
66623         (ctan_test_towardzero): Likewise.
66624         (ctan_test_downward): Likewise.
66625         (ctan_test_upward): Likewise.
66626         (ctanh_test_tonearest): Likewise.
66627         (ctanh_test_towardzero): Likewise.
66628         (ctanh_test_downward): Likewise.
66629         (ctanh_test_upward): Likewise.
66630         (main): Call these new functions.
66631         * sysdeps/i386/fpu/libm-test-ulps: Update.
66632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66634 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
66636         * .gitignore: Delete /ports entry.
66638 2012-07-03  Andreas Jaeger  <aj@suse.de>
66640         * po/bg.po: Update from translation team.
66641         * po/cs.po: Likewise.
66642         * po/de.po: Likewise.
66643         * po/hr.po: Likewise.
66644         * po/nl.pl: Likewise.
66645         * po/pl.po: Likewise.
66646         * po/vi.po: Likewise.
66648 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
66650         * Makeconfig [!+link] (+link-before-libc): New variable.
66651         [!+link] (+link-after-libc): Likewise.
66652         [!+link] (+link-tests): Likewise.
66653         [!+link] (+link): Define in terms of $(+link-before-libc) and
66654         $(+link-after-libc).
66655         [!+link-static] (+link-static-before-libc): New variable.
66656         [!+link-static] (+link-static-after-libc): Likewise.
66657         [!+link-static] (+link-static-tests): Likewise.
66658         [!+link-static] (+link-static): Define in terms of
66659         $(+link-static-before-libc) and $(+link-static-after-libc).
66660         [build-shared] (link-libc-before-gnulib): New variable.
66661         [build-shared] (link-libc-tests): Likewise.
66662         [build-shared] (link-libc): Define in terms of
66663         $(link-libc-before-gnulib).
66664         [!build-shared] (link-libc-tests): New variable.
66665         (link-libc-static-tests): New variable.
66666         [!gnulib] (gnulib-arch): New variable.
66667         [!gnulib] (gnulib-tests): Likewise.
66668         [!gnulib] (static-gnulib-arch): Likewise.
66669         [!gnulib] (static-gnulib-tests): Likewise.
66670         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
66671         Define with "=" instead of ":=".
66672         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
66673         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
66674         * Rules (binaries-all-notests): New variable.
66675         (binaries-all-tests): Likewise.
66676         (binaries-static-notests): Likewise.
66677         (binaries-static-tests): Likewise.
66678         (binaries-all): Define using $(binaries-all-notests) and
66679         $(binaries-all-tests).
66680         (binaries-static): Define using $(binaries-static-notests) and
66681         $(binaries-static-tests).
66682         (binaries-shared-tests): New variable.
66683         (binaries-shared-notests): Likewise.
66684         (binaries-shared): Remove variable.
66685         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
66686         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
66687         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
66688         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
66689         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
66690         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
66691         * elf/Makefile (sln-modules): New variable.
66692         (extra-objs): Add $(sln-modules:=.o).
66693         (ldconfig-modules): Add static-stubs.
66694         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
66695         * elf/static-stubs.c: New file.
66697         [BZ #14283]
66698         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
66699         by 7 not 8 to examine high bit of fractional part.  Use volatile
66700         variables when splitting into final array of floats if
66701         __FLT_EVAL_METHOD__ != 0.
66702         * math/libm-test.inc (cos_test): Add another test.
66703         (sin_test): Likewise.
66704         * sysdeps/i386/fpu/libm-test-ulps: Update.
66706         [BZ #14273]
66707         * math/libm-test.inc (cosh_test): Add more tests.
66709         * version.h (RELEASE): Set to "development".
66710         (VERSION): Set to "2.16.90".
66712 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
66714         * NEWS: Update copyright. Remove last-updated date.
66715         Mention math library bug fixes and timezone data changes.
66716         * README: Mention GNU/Hurd, x32, and HPPA support status.
66718 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
66720         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
66722 2012-06-27  Andreas Jaeger  <aj@suse.de>
66724         * manual/contrib.texi (Contributors): Add Samuel Thibault.
66726 2012-06-25  Andreas Jaeger  <aj@suse.de>
66728         * sysdeps/s390/fpu/libm-test-ulps: Update.
66730 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
66731             Thomas Schwinge  <thomas@codesourcery.com>
66733         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
66734         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
66735         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
66736         fanotify_mark.
66738 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
66740         * sysdeps/mach/start.c: Remove file.
66741         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
66742         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
66743         * sysdeps/sh/init-first.c: Likewise.
66745         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
66746         registers for frame unwinding purposes, add CFI directives.
66747         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66748         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
66749         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
66750         Likewise.
66752         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
66753         __fortify_fail returning.
66754         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66756         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
66757         sysdeps/sh/____longjmp_chk.S.
66758         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
66759         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
66760         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
66761         (gen-as-const-headers): Append sigaltstack-offsets.sym.
66763         * sysdeps/sh/abort-instr.h: New file.
66764         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
66765         process in case exit returns.
66767         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66768         initialize the GOT register before use.
66770         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66771         calculation of ARGC > 4.
66773         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66774         meaningful names to some local labels.
66776 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66777             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66779         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66780         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66781         (__arch_compare_and_exchange_val_16_acq): Likewise.
66782         (__arch_compare_and_exchange_val_32_acq): Likewise.
66783         (atomic_exchange_and_add): Fix gUSA sequence.
66784         (atomic_add): Likewise.
66785         (atomic_add_negative): Likewise.
66786         (atomic_add_zero): Likewise.
66787         (atomic_bit_test_set): Likewise.
66789 2012-06-22  Andreas Schwab  <schwab@redhat.com>
66791         [BZ #13579]
66792         * include/link.h (struct link_map): Add l_free_initfini.
66793         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66794         l_initfini.
66795         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66796         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66797         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66798         set.
66800 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
66802         * configure.in: Use AC_LANG_SOURCE.
66803         * configure: Regenerate.
66805 2012-06-22  Roland McGrath  <roland@hack.frob.com>
66807         * configure.in (libc_cv_localstatedir): New substituted variable.
66808         * configure: Regenerated.
66809         * config.make.in (localstatedir): New variable, substituted from
66810         libc_cv_localstatedir.
66811         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66812         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66813         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66814         * sysdeps/gnu/configure: Regenerated.
66816 2012-06-21  Jeff Law  <law@redhat.com>
66818         [BZ #14277]
66819         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66820         free.  Simplify list management for _LIBC case.
66822 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
66824         [BZ #14273]
66825         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66826         Clear sign bit of 64-bit integer value before comparing against
66827         overflow value.
66829         * sysdeps/mach/configure: Regenerated.
66831 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
66833         [BZ #14278]
66834         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66836 2012-06-21  Jeff Law  <law@redhat.com>
66838         [BZ #13882]
66839         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
66840         uint16_t for elements in the "seen" array to avoid char overflows.
66841         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66842         * elf/dl-open.c (dl_open_worker): Likewise.
66844 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
66846         * scripts/list-sources.sh: Scan PORTS for translations.
66847         * po/libc.pot: Regenerated.
66849 2012-06-21  Andreas Jaeger  <aj@suse.de>
66851         [BZ #12194]
66852         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
66853         warning.
66854         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
66855         * bits/byteswap-16.h (__bswap_16): Likewise.
66856         * bits/byteswap.h (__bswap_constant_16): Likewise.
66858 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
66860         [BZ #14117]
66861         * sysdeps/i386/fpu_control.h: Removed.
66862         * sysdeps/x86_64/fpu_control.h: Moved to ...
66863         * sysdeps/x86/fpu_control.h: Here.
66865         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66866         (_FPU_SETCW): Likewise.
66868 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66870         [BZ #14117]
66871         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66872         * sysdeps/x86/fpu/bits/mathinline.h: This.
66873         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66875         [BZ #14050]
66876         [BZ #14117]
66877         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66878         functions if __x86_64__ is defined.
66880 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
66882         * string/endian.h: Add !__ASSEMBLER__ condition for including
66883         conversion interfaces.
66885 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
66887         [BZ #14241]
66888         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66889         of ABS(x) in calculating zero to negative powers other than odd
66890         integers.
66891         * math/libm-test.inc (pow_test): Add more tests.
66893 2012-06-15  Andreas Jaeger  <aj@suse.de>
66895         * manual/contrib.texi (Contributors): Update entry of Liubov
66896         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66897         Machado Filho.
66899 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
66901         * string/string.h: Add __wur to GNU version of strerror_r.
66903 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
66905         [BZ #14229]
66906         * string/Makefile (tests): Add tst-strtok_r.
66907         * string/tst-strtok_r.c: New file.
66908         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
66909         RAX_LP/RDX_LP on SAVE_PTR.
66911 2012-06-14  Roland McGrath  <roland@hack.frob.com>
66913         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
66915 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
66917         * libm_test.inc (csqrt_test): Allow more spurious underflow
66918         exceptions.
66919         (j0_test): Likewise.
66920         (j1_test): Likewise.
66921         (y0_test): Likewise.
66922         (y1_test): Likewise.
66924 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
66926         * po/Makefile (libc.pot): Use UTF-8 charset.
66928 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
66930         [BZ #14210]
66931         Suppress sign-conversion warning from FD_SET.
66932         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
66933         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
66934         not unsigned long int.
66935         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
66937 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
66939         [BZ #14050]
66940         [BZ #14117]
66941         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
66942         __extern_always_inline instead of __extern_inline.
66943         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
66944         (__signbit): Likewise.
66945         (__signbitl): Support C++ namespace.
66946         (lrintf): New inline function.
66947         (lrint): Likewise.
66948         (llrintf): Likewise.
66949         (llrint): Likewise.
66950         (fmaxf): Likewise.
66951         (fmax): Likewise.
66952         (fminf): Likewise.
66953         (fmin): Likewise.
66954         (rint): Likewise.
66955         (rintf): Likewise.
66956         (ceil): Likewise.
66957         (ceilf): Likewise.
66958         (floor): Likewise.
66959         (floorf): Likewise.
66960         (nearbyint): Likewise.
66961         (nearbyintf): Likewise.
66963 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
66965         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
66966         non-default versions.
66968 2012-06-11  Roland McGrath  <roland@hack.frob.com>
66970         [BZ #14218]
66971         * manual/argp.texi (Argp): Reword argp_parse description slightly.
66973 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
66975         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
66976         (FE_UPWARD, FE_DOWNWARD): Don't define.
66977         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
66978         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66980         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
66981         reading it.
66982         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66983         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66985 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66987         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66988         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
66989         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
66990         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
66992 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
66994         [BZ #14117]
66995         * sysdeps/i386/fpu/bits/fenv.h: Removed.
66996         * sysdeps/i386/fpu/Implies: New file.
66997         * sysdeps/x86_64/fpu/Implies: Likewise.
66998         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
66999         * sysdeps/x86/fpu/bits/fenv.h: This.
67001         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
67002         __SSE_MATH__.
67004 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67006         [BZ #14134]
67007         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
67008         character 0xffff that matches the last element of the
67009         conversion table.
67011 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67013         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
67014         fmodl commit.
67016 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67018         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
67019         values higher than 25.6283.
67021 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67023         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
67024         subnormal exponent extraction and add some __builtin_expect.
67025         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
67026         Fix for subnormal mantissa calculation.
67028 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
67030         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
67031         cpu2 is -1 and errno is not ENOSYS.
67033 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
67035         [BZ #14117]
67036         * sysdeps/i386/i486/bits/string.h: Renamed to ...
67037         * sysdeps/x86/bits/string.h: This.
67038         * sysdeps/x86_64/bits/string.h: Removed.
67040         * sysdeps/i386/i486/bits/string.h: Define inline functions only
67041         if not compiling for x86-64, but compiling for >= i486.
67043         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
67044         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
67046         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
67047         New macro from Linux kernel 3.4.0.
67048         (FP_XSTATE_MAGIC2): Likewise.
67049         (FP_XSTATE_MAGIC2_SIZE): Likewise.
67050         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
67051         (struct _fpx_sw_bytes): New struct.
67052         (struct _xsave_hdr): Likewise.
67053         (struct _ymmh_state): Likewise.
67054         (struct _xstate): Likewise.
67056         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
67057         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
67058         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
67059         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
67060         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
67061         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
67063         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
67064         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
67065         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
67066         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
67067         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
67068         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
67070 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67072         [BZ #13743]
67073         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
67074         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
67075         (sysdep_headers): Include sys/platform/ppc.h.
67076         * sysdeps/powerpc/test-gettimebase.c: Test for
67077         __ppc_get_timebase() to catch future ISA opcode/insn changes.
67078         * manual/Makefile (appendices): Include platform.texi.
67079         * manual/contrib.texi (Contributors): Update @node pointers.
67080         * manual/maint.texi (Maintenance): Likewise.
67081         (Platform): New node.
67082         * manual/platform.texi: New file.  Document the new features.
67084 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67085             Jakub Jelinek  <jakub@redhat.com>
67087         [BZ #14188]
67088         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
67089         where __builtin_expect is unavailable.
67091 2012-06-03  David S. Miller  <davem@davemloft.net>
67093         * stdlib/longlong.h: Updated from GCC.
67095 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
67097         [BZ #14042]
67098         * sysdeps/powerpc/powerpc32/mcount.c: New file.
67099         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
67100         __mcount_internal.
67101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67102         (GLIBC_2.16): Likewise.
67104 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67106         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
67108 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
67111         (default-abi): New variable.
67112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
67113         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
67114         variable.
67115         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
67116         Likewise.
67117         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
67118         Likewise.
67119         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
67120         Likewise.
67122         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
67123         definition.  Document in comment.
67125 2012-06-01  David S. Miller  <davem@davemloft.net>
67127         * stdlib/longlong.h: Updated from GCC.
67129 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67131         [BZ #14117]
67132         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
67133         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
67134         sys/debugreg.h sys/io.h here.
67135         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
67136         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
67137         sys/io.h.
67138         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
67139         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
67140         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
67141         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
67142         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
67143         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
67145         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
67146         Define only if __x86_64__ is defined.
67148 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67150         [BZ #14048]
67151         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
67152         Use int64_t for variable i.
67153         * math/libm-test.inc (fmod_test): Add more tests.
67155         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
67156         z computation is not scheduled after fetestexcept.
67157         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
67158         Use math_force_eval instead of asm to ensure calculation scheduled
67159         before exception test.
67160         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
67161         Ensure a1 + u.d computation is not scheduled after fetestexcept.
67163 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
67165         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
67166         computation is not scheduled after fetestexcept.
67168 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67170         [BZ #14117]
67171         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
67172         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
67174 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67176         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
67177         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67179 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67181         [BZ #14117]
67182         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
67183         <bits/wordsize.h>.
67184         (__WCHAR_MIN): Support __WORDSIZE == 64.
67185         (__WCHAR_MAX): Likewise.
67187         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
67188         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
67190         [BZ #14183]
67191         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
67192         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
67194         [BZ #14117]
67195         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
67196         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
67198         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
67199         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
67201         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
67202         Defined to 1 if __x86_64__ isn't defined.
67203         (_STAT_VER_LINUX_OLD): New.
67204         (st_atime): Remove duplicate.
67205         (st_mtime): Likewise.
67206         (st_ctime): Likewise.
67208 2012-05-31  David S. Miller  <davem@davemloft.net>
67210         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
67211         entries.
67213 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
67215         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
67216         gen-libm-test.pl.
67218         [BZ #14132]
67219         * elf/dl-reloc.c: Include <_itoa.h>.
67220         (_dl_reloc_bad_type): Remove use of INTUSE.
67221         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
67222         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
67223         * stdio-common/psiginfo.c (psiginfo): Likewise.
67224         * stdio-common/psignal.c (psignal): Likewise.
67225         * string/strsignal.c (strsignal): Likewise.
67226         * include/signal.h (_sys_siglist): Declare hidden proto.
67227         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
67228         INTVARDEF with libc_hidden_data_def.
67229         * stdio-common/itoa-udigits.c: Likewise.
67230         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
67231         (_itoa_lower_digits_internal): Remove declaration.
67232         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
67233         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
67234         (_sys_sigabbrev_internal): Remove aliases.
67235         (_sys_siglist): Define hidden alias.
67237 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
67239         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67240         bits/sysctl.h.
67242 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67244         [BZ #14117]
67245         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
67246         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
67248         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
67249         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
67250         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
67251         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
67252         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
67253         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
67255         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
67256         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
67257         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
67259         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
67260         with __addr.
67261         (insw): Likewise.
67262         (insl): Likewise.
67263         (outsb): Likewise.
67264         (outsw): Likewise.
67265         (outsl): Likewise.
67267         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
67268         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
67269         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
67271         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
67272         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
67273         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
67274         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
67275         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
67276         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
67278         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
67279         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
67281         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
67282         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
67284         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
67285         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
67286         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
67288         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
67289         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
67290         to ...
67291         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
67293         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
67294         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
67295         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
67297         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
67298         for x86-64.
67299         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
67301 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
67303         * math/math.h (M_El): Use two more decimal places.
67304         (M_LOG2El): Likewise.
67305         (M_LOG10El): Likewise.
67306         (M_LN2l): Likewise.
67307         (M_LN10l): Likewise.
67308         (M_PIl): Likewise.
67309         (M_PI_2l): Likewise.
67310         (M_PI_4l): Likewise.
67311         (M_1_PIl): Likewise.
67312         (M_2_PIl): Likewise.
67313         (M_2_SQRTPIl): Likewise.
67314         (M_SQRT2l): Likewise.
67315         (M_SQRT1_2l): Likewise.
67317 2012-05-31  David S. Miller  <davem@davemloft.net>
67319         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
67320         values between float registers.
67321         * sysdeps/sparc/sparc64/memset.S: Likewise.
67322         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67324 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
67326         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
67327         -D_FORTIFY_SOURCE=1.
67328         (CPPFLAGS-tst-longjmp_chk.c): Define.
67329         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67330         (CPPFLAGS-tst-longjmp_chk2.c): Define.
67331         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67332         CFLAGS-tst-wchar-h.c.
67334 2012-05-31  Marek Polacek  <polacek@redhat.com>
67336         [BZ #14132]
67337         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
67338         __endmntent_internal): Remove declaration.
67339         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
67340         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67341         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
67343 2012-05-30  David S. Miller  <davem@davemloft.net>
67345         * sysdeps/sparc/sparc32/soft-fp/q_util.c
67346         (___Q_simulate_exceptions): Use real FP ops rather than writing
67347         into the %fsr.
67348         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
67349         Likewise.
67351 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67353         [BZ #14117]
67354         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
67355         * sysdeps/x86/bits/xtitypes.h: This.
67357         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
67358         * sysdeps/x86/bits/wordsize.h: This.
67360         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
67361         * sysdeps/x86/bits/huge_vall.h: This.
67363         * sysdeps/i386/bits/select.h: Removed.
67364         * sysdeps/x86_64/bits/select.h: Renamed to ...
67365         * sysdeps/x86/bits/select.h: This.
67367         * sysdeps/i386/bits/setjmp.h: Removed.
67368         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
67369         * sysdeps/x86/bits/setjmp.h: This.
67371         * sysdeps/i386/bits/mathdef.h: Removed.
67372         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
67373         * sysdeps/x86/bits/mathdef.h: This.
67375 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
67377         [BZ #14132]
67378         * include/sys/socket.h (__connect_internal)
67379         (__libc_sa_len_internal): Remove declaration.
67380         (__connect, __libc_sa_len): Declare hidden_proto.
67381         (SA_LEN): Remove use of INTUSE.
67382         * socket/connect.c: Add libc_hidden_def.
67383         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
67384         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
67385         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
67386         alias.
67387         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
67388         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67389         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
67390         of adding _internal alias.
67392 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67394         [BZ #14117]
67395         * sysdeps/i386/bits/link.h: Removed.
67396         * sysdeps/i386/bits/linkmap.h: Likewise.
67397         * sysdeps/x86_64/bits/link.h: Renamed to ...
67398         * sysdeps/x86/bits/link.h: This.
67399         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67400         * sysdeps/x86/bits/linkmap.h: This.
67402         * sysdeps/i386/bits/endian.h: Removed.
67403         * sysdeps/x86_64/bits/endian.h: Renamed to ...
67404         * sysdeps/x86/bits/endian.h: This.
67406         * sysdeps/i386/bits/byteswap.h: Removed.
67407         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67408         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67409         * sysdeps/x86/bits/byteswap.h: This.
67410         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67411         * sysdeps/x86/bits/byteswap-16.h: This.
67412         * sysdeps/i386/Implies: Add x86.
67413         * sysdeps/x86_64/Implies: Likewise.
67415 2012-05-30  David S. Miller  <davem@davemloft.net>
67417         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
67418         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
67419         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
67420         (FP_TRAPPING_EXCEPTIONS): Define.
67421         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
67422         (FP_TRAPPING_EXCEPTIONS): Define.
67423         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
67424         subnormals only when inexact has been signalled or underflow
67425         exceptions are enabled.
67426         (_FP_PACK_CANONICAL): Likewise.
67428 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67430         [BZ #14183]
67431         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
67432         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
67434 2012-05-30  Richard Henderson  <rth@twiddle.net>
67436         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
67437         with #ifndef NOT_IN_libc.
67439         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
67440         marked to avoid plt entry.
67442 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67444         [BZ #14112]
67445         * Makeconfig (default-abi): New macro.
67446         (abi-includes): Likewise.
67447         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
67448         $(abi-$(default-abi)-lib-soname) for soname if defined.
67449         ($(common-objpfx)gnu/lib-names.stmp): Generate from
67450         abi-variants.
67451         * Makefile (installed-stubs): Likewise.
67452         * include/stubs-biarch.h: Removed.
67453         * scripts/lib-names.awk: Only handle one library at a time.
67454         * scripts/soversions.awk: Remove WORDSIZE support.
67455         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
67456         entries.
67457         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
67458         Removed.
67459         (syscall-list-default-condition): Likewise.
67460         (syscall-list-default-condition): Likewise.
67461         (syscall-list-includes): Likewise.
67462         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
67463         syscall-list-* with abi-*.  Handle undefined abi-variants.
67464         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67465         * sysdeps/unix/sysv/linux/i386/Implies: New file.
67466         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
67467         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
67468         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
67469         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
67470         Removed.
67471         (syscall-list-32-options): Likewise.
67472         (syscall-list-32-condition): Likewise.
67473         (syscall-list-64-options): Likewise.
67474         (syscall-list-64-condition): Likewise.
67475         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
67476         macro.
67477         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
67478         Renamed to ...
67479         (abi-*): This.
67480         (abi-64-ld-soname): New macro.
67481         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
67482         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
67483         Renamed to ...
67484         (abi-*): This.
67485         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
67486         * sysdeps/x86_64/x32/shlib-versions: Likewise.
67488 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
67490         * sysdeps/unix/sysv/linux/kernel-features.h
67491         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
67492         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
67493         include <kernel-features.h>.
67494         [!__NR_ftruncate64]: Remove conditional code.
67495         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67496         [__NR_ftruncate64]: Make code unconditional.
67497         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67498         * sysdeps/unix/sysv/linux/truncate64.c: Do not
67499         include <kernel-features.h>.
67500         [!__NR_ftruncate64]: Remove conditional code.
67501         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67502         [__NR_ftruncate64]: Make code unconditional.
67503         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
67505         include <kernel-features.h>.
67506         [!__NR_ftruncate64]: Remove conditional code.
67507         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67508         [__NR_ftruncate64]: Make code unconditional.
67509         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67511         include <kernel-features.h>.
67512         [!__NR_ftruncate64]: Remove conditional code.
67513         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67514         [__NR_ftruncate64]: Make code unconditional.
67515         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67517         * configure.in (libc_cv_fpie): Weaken to a compile test using
67518         LIBC_TRY_CC_OPTION.
67519         * configure: Regenerated.
67521 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
67524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
67525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
67526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67527         Refreshed.
67528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
67529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
67530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
67531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
67532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
67533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67534         Refreshed.
67536 2012-05-27  David S. Miller  <davem@davemloft.net>
67538         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
67539         (___Q_zero): New.
67540         (__Q_simulate_exceptions): Return void.  Change to simulate
67541         exceptions by writing into the %fsr.
67542         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
67543         (__Qp_handle_exceptions): Likewise.
67544         (numbers): Delete.
67545         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
67546         __Qp_handle_exceptions.
67547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
67548         __Qp_handle_exceptions.
67549         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67550         as unused and give dummy FP_RND_NEAREST initializer.
67551         (FP_INHIBIT_RESULTS): Define.
67552         (___Q_simulate_exceptions): Update declaration.
67553         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
67554         formatting.
67555         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67556         as unused and give dummy FP_RND_NEAREST initializer.
67557         (__Qp_handle_exceptions): Update declaration.
67558         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
67559         formatting.
67561 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
67563         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
67564         the temporary FPU control word.
67565         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67566         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
67567         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
67568         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67569         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67570         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
67571         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
67572         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67573         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
67574         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
67575         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67577 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67579         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
67580         fields.
67582 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
67584         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
67585         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
67586         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67587         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
67588         Likewise.
67589         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
67590         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
67591         Likewise.
67593 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
67595         * po/h.po: Update from translation team.
67597 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
67599         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
67601         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
67602         handling of denormals.
67603         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67604         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
67605         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67606         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67607         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67608         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
67609         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
67610         Likewise.
67612 2012-05-26  Marek Polacek  <polacek@redhat.com>
67614         [BZ #14152]
67615         * math/libm-test.inc (fma_test): Don't always expect underflow
67616         exception.
67618 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67620         [BZ #12416]
67621         * elf/tst-execstack.c: Include stackinfo.h.
67622         (do_test): Adjust test case to ensure that pthread_getattr_np
67623         behaviour remains the same after marking stack executable.
67625 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67627         * sysdeps/unix/sysv/linux/kernel-features.h
67628         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
67629         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
67630         kernel-features.h.
67631         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67632         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67633         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
67634         kernel-features.h.
67635         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67636         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67638 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
67640         * configure.in: Define the default includes to being none.
67641         * configure: Regenerated.
67643 2012-05-25  Roland McGrath  <roland@hack.frob.com>
67645         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
67646         * sysdeps/x86_64/setjmp.S: Likewise.
67647         * sysdeps/i386/bsd-setjmp.S: Likewise.
67648         * sysdeps/i386/bsd-_setjmp.S: Likewise.
67649         * sysdeps/i386/setjmp.S: Likewise.
67650         * sysdeps/i386/__longjmp.S: Likewise.
67651         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67652         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
67654         * include/stap-probe.h: New file.
67655         * configure.in: Handle --enable-systemtap.
67656         * configure: Regenerated.
67657         * config.h.in (USE_STAP_PROBE): New #undef.
67658         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
67659         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
67660         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
67662 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67664         [BZ #13717]
67665         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67666         to 2.4.0 where earlier.
67667         * sysdeps/unix/sysv/linux/configure: Regenerated.
67668         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67669         <kernel-features.h>.
67670         [__ASSUME_32BITUIDS]: Make code unconditional.
67671         [!__ASSUME_32BITUIDS]: Remove conditional code.
67672         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
67673         <kernel-features.h>.
67674         [__ASSUME_32BITUIDS]: Make code unconditional.
67675         [!__ASSUME_32BITUIDS]: Remove conditional code.
67676         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
67677         [__ASSUME_32BITUIDS]: Make code unconditional.
67678         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
67679         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
67680         <kernel-features.h>.
67681         [__ASSUME_32BITUIDS]: Make code unconditional.
67682         [!__ASSUME_32BITUIDS]: Remove conditional code.
67683         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
67684         <kernel-features.h>.
67685         [__ASSUME_32BITUIDS]: Make code unconditional.
67686         [!__ASSUME_32BITUIDS]: Remove conditional code.
67687         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
67688         <kernel-features.h>.
67689         [__ASSUME_32BITUIDS]: Make code unconditional.
67690         [!__ASSUME_32BITUIDS]: Remove conditional code.
67691         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
67692         <kernel-features.h>.
67693         [__ASSUME_32BITUIDS]: Make code unconditional.
67694         [!__ASSUME_32BITUIDS]: Remove conditional code.
67695         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67696         <kernel-features.h>.
67697         [__ASSUME_32BITUIDS]: Make code unconditional.
67698         [!__ASSUME_32BITUIDS]: Remove conditional code.
67699         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67700         <kernel-features.h>.
67701         [__ASSUME_32BITUIDS]: Make code unconditional.
67702         [!__ASSUME_32BITUIDS]: Remove conditional code.
67703         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
67704         <kernel-features.h>.
67705         [__ASSUME_32BITUIDS]: Make code unconditional.
67706         [!__ASSUME_32BITUIDS]: Remove conditional code.
67707         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67708         <kernel-features.h>.
67709         [__ASSUME_32BITUIDS]: Make code unconditional.
67710         [!__ASSUME_32BITUIDS]: Remove conditional code.
67711         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67712         <kernel-features.h>.
67713         [__ASSUME_32BITUIDS]: Make code unconditional.
67714         [!__ASSUME_32BITUIDS]: Remove conditional code.
67715         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
67716         <kernel-features.h>.
67717         [__ASSUME_32BITUIDS]: Make code unconditional.
67718         [!__ASSUME_32BITUIDS]: Remove conditional code.
67719         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
67720         <kernel-features.h>.
67721         [__NR_setresgid] (__setresgid): Do not declare.
67722         [__ASSUME_32BITUIDS]: Make code unconditional.
67723         [!__ASSUME_32BITUIDS]: Remove conditional code.
67724         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
67725         <kernel-features.h>.
67726         [__NR_setresuid] (__setresuid): Do not declare.
67727         [__ASSUME_32BITUIDS]: Make code unconditional.
67728         [!__ASSUME_32BITUIDS]: Remove conditional code.
67729         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
67730         <kernel-features.h>.
67731         [__ASSUME_32BITUIDS]: Make code unconditional.
67732         [!__ASSUME_32BITUIDS]: Remove conditional code.
67733         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
67734         <kernel-features.h>.
67735         [__ASSUME_32BITUIDS]: Make code unconditional.
67736         [!__ASSUME_32BITUIDS]: Remove conditional code.
67737         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
67738         <kernel-features.h>.
67739         [__ASSUME_32BITUIDS]: Make code unconditional.
67740         [!__ASSUME_32BITUIDS]: Remove conditional code.
67741         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
67742         <kernel-features.h>.
67743         [__ASSUME_32BITUIDS]: Make code unconditional.
67744         [!__ASSUME_32BITUIDS]: Remove conditional code.
67745         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
67746         <kernel-features.h>.
67747         [__ASSUME_32BITUIDS]: Make code unconditional.
67748         [!__ASSUME_32BITUIDS]: Remove conditional code.
67749         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
67750         <kernel-features.h>.
67751         [__ASSUME_32BITUIDS]: Make code unconditional.
67752         [!__ASSUME_32BITUIDS]: Remove conditional code.
67753         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
67754         <kernel-features.h>.
67755         [__ASSUME_32BITUIDS]: Make code unconditional.
67756         [!__ASSUME_32BITUIDS]: Remove conditional code.
67757         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
67758         <kernel-features.h>.
67759         [__ASSUME_32BITUIDS]: Make code unconditional.
67760         [!__ASSUME_32BITUIDS]: Remove conditional code.
67761         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
67762         <kernel-features.h>.
67763         [__ASSUME_32BITUIDS]: Make code unconditional.
67764         [!__ASSUME_32BITUIDS]: Remove conditional code.
67765         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67766         <kernel-features.h>.
67767         [__ASSUME_32BITUIDS]: Make code unconditional.
67768         [!__ASSUME_32BITUIDS]: Remove conditional code.
67769         * sysdeps/unix/sysv/linux/kernel-features.h
67770         (__ASSUME_SETRESUID_SYSCALL): Remove.
67771         (__ASSUME_SETRESGID_SYSCALL): Likewise.
67772         (__ASSUME_32BITUIDS): Likewise.
67773         (__ASSUME_LDT_WORKS): Likewise.
67774         (__ASSUME_O_DIRECTORY): Likewise.
67775         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67776         architecture but not kernel version.
67777         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67778         (__ASSUME_MMAP2_SYSCALL): Likewise.
67779         (__ASSUME_STAT64_SYSCALL): Likewise.
67780         (__ASSUME_IPC64): Likewise.
67781         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67782         <kernel-features.h>.
67783         [__ASSUME_32BITUIDS]: Make code unconditional.
67784         [!__ASSUME_32BITUIDS]: Remove conditional code.
67785         * sysdeps/unix/sysv/linux/opendir.c: Do not include
67786         <kernel-features.h>.
67787         [__ASSUME_O_DIRECTORY]: Make code unconditional.
67788         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67789         132096]: Remove conditional code.
67790         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67791         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67792         <kernel-features.h>.
67793         [__ASSUME_32BITUIDS]: Make code unconditional.
67794         [!__ASSUME_32BITUIDS]: Remove conditional code.
67795         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67796         <kernel-features.h>.
67797         [__ASSUME_32BITUIDS]: Make code unconditional.
67798         [!__ASSUME_32BITUIDS]: Remove conditional code.
67799         * sysdeps/unix/sysv/linux/setegid.c: Do not include
67800         <kernel-features.h>.
67801         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67802         unconditional.
67803         (__setresgid): Do not declare.
67804         [__ASSUME_32BITUIDS]: Make code unconditional.
67805         [!__ASSUME_32BITUIDS]: Remove conditional code.
67806         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67807         <kernel-features.h>.
67808         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67809         unconditional.
67810         (__setresuid): Do not declare.
67811         [__ASSUME_32BITUIDS]: Make code unconditional.
67812         [!__ASSUME_32BITUIDS]: Remove conditional code.
67813         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67814         <kernel-features.h>.
67815         [__ASSUME_32BITUIDS]: Make code unconditional.
67816         [!__ASSUME_32BITUIDS]: Remove conditional code.
67817         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67818         <kernel-features.h>.
67819         [__ASSUME_32BITUIDS]: Make code unconditional.
67820         [!__ASSUME_32BITUIDS]: Remove conditional code.
67822 2012-05-25  Richard Henderson  <rth@twiddle.net>
67824         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67825         dl_hwcap to ifunc resolver.
67826         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67827         elf_ifunc_invoke.
67828         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67829         dl_hwcap to ifunc resolver.
67830         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67832 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67834         [BZ #14153]
67835         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67836         for |x| <= 2**-26, not 2**-57.
67837         * math/libm-test.inc (acos_test): Do not allow spurious underflow
67838         exception.
67840 2012-05-24  Jeff Law  <law@redhat.com>
67842         * stdio-common/Makefile (tests): Add bug25.
67843         * stdio-common/bug25.c: New test.
67845 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67847         [BZ #13576]
67848         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
67849         multiple of MALLOC_ALIGNMENT in size.
67850         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
67852 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67854         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
67855         Require >= 256.
67856         (FILENAME_MAX): Use macro-int-constant.
67857         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
67858         (_IOFBF): Use macro-int-constant.
67859         (_IOLBF): Likewise.
67860         (_IONBF): Likewise.
67861         (SEEK_CUR): Likewise.
67862         (SEEK_END): Likewise.
67863         (SEEK_SET): Likewise.
67864         (TMP_MAX): Likewise.
67865         (EOF): Use macro-int-constant.  Require < 0.
67866         (NULL): Use macro-constant.  Require == 0.
67867         (stdin): Require type to be FILE *.
67868         (stdout): Likewise.
67869         (stderr): Likewise.
67870         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67871         macro-int-constant.
67872         (EXIT_SUCCESS): Likewise.
67873         (NULL): Use macro-constant.  Require == 0.
67874         (RAND_MAX): Use macro-int-constant.
67875         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67876         [C99-based standards] (strtof): Require function.
67877         [C99-based standards] (strtold): Likewise.
67878         [C99-based standards] (strtoll): Likewise.
67879         [C99-based standards] (strtoull): Likewise.
67880         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67881         [ISO || ISO99 || ISO11] (limits.h): Likewise.
67882         [ISO || ISO99 || ISO11] (math.h): Likewise.
67883         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67884         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67885         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67887 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
67889         [BZ #14132]
67890         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67891         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67892         * intl/dgettext.c (DCGETTEXT): Likewise.
67893         * intl/gettext.c (DCGETTEXT): Likewise.
67894         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67895         * posix/regex_internal.h (gettext): Likewise.
67896         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67897         Remove declaration.
67898         * include/argz.h (__argz_count_internal)
67899         (__argz_stringify_internal): Remove declaration.
67900         (__argz_count, __argz_stringify): Declare hidden proto.
67901         * intl/dcgettext.c: Remove use of INTDEF.
67902         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
67903         * string/argz-stringify.c: Likewise.
67904         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67905         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67906         Declare hidden proto.
67907         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67908         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67909         Declare hidden proto.
67910         * include/stdio.h (__asprintf_internal): Don't declare.
67911         (__asprintf): Don't define as macro.  Declare hidden proto.
67912         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
67913         (__fsetlocking): Declare hidden proto.
67914         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
67915         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
67916         hidden proto.
67917         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
67918         (_IO_setlinebuf): Remove use of INTUSE.
67919         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
67920         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
67921         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
67922         Remove declaration.
67923         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
67924         (_IO_do_flush): Remove use of INTUSE.
67925         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
67926         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
67927         (_IO_adjust_column, _IO_least_wmarker)
67928         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
67929         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
67930         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
67931         (_IO_default_doallocate, _IO_wdefault_doallocate)
67932         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
67933         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
67934         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
67935         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
67936         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
67937         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
67938         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
67939         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
67940         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
67941         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
67942         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
67943         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
67944         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
67945         proto.
67946         (_IO_flush_all_internal, _IO_adjust_column_internal)
67947         (_IO_default_uflow_internal, _IO_default_finish_internal)
67948         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
67949         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
67950         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
67951         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
67952         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
67953         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
67954         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
67955         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
67956         (_IO_file_close_internal, _IO_file_close_it_internal)
67957         (_IO_file_underflow_internal, _IO_file_overflow_internal)
67958         (_IO_file_init_internal, _IO_file_attach_internal)
67959         (_IO_file_fopen_internal, _IO_file_read_internal)
67960         (_IO_file_sync_internal, _IO_file_seek_internal)
67961         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
67962         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
67963         (_IO_str_underflow_internal, _IO_str_overflow_internal)
67964         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
67965         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
67966         (_IO_list_all_internal, _IO_link_in_internal)
67967         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
67968         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
67969         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
67970         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
67971         (_IO_do_write_internal, _IO_padn_internal)
67972         (_IO_getline_info_internal, _IO_getline_internal)
67973         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
67974         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
67975         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
67976         (_IO_vfscanf_internal, _IO_vfprintf_internal)
67977         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
67978         (_IO_init_internal, _IO_un_link_internal): Don't declare.
67979         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
67980         with libc_hidden_ver, remove use of INTUSE.
67981         * libio/genops.c: Likewise.
67982         * libio/freopen.c: Likewise.
67983         * libio/freopen64.c: Likewise.
67984         * libio/iofclose.c: Likewise.
67985         * libio/iofdopen.c: Likewise.
67986         * libio/iofflush.c: Likewise.
67987         * libio/iofflush_u.c: Likewise.
67988         * libio/iofgets.c: Likewise.
67989         * libio/iofgets_u.c: Likewise.
67990         * libio/iofopen.c: Likewise.
67991         * libio/iofopncook.c: Likewise.
67992         * libio/iofread.c: Likewise.
67993         * libio/iofread_u.c: Likewise.
67994         * libio/ioftell.c: Likewise.
67995         * libio/iofwrite.c: Likewise.
67996         * libio/iogetline.c: Likewise.
67997         * libio/iogets.c: Likewise.
67998         * libio/iogetwline.c: Likewise.
67999         * libio/iopadn.c: Likewise.
68000         * libio/iopopen.c: Likewise.
68001         * libio/ioseekoff.c: Likewise.
68002         * libio/ioseekpos.c: Likewise.
68003         * libio/iosetbuffer.c: Likewise.
68004         * libio/iosetvbuf.c: Likewise.
68005         * libio/ioungetc.c: Likewise.
68006         * libio/ioungetwc.c: Likewise.
68007         * libio/iovdprintf.c: Likewise.
68008         * libio/iovsprintf.c: Likewise.
68009         * libio/iovsscanf.c: Likewise.
68010         * libio/memstream.c: Likewise.
68011         * libio/obprintf.c: Likewise.
68012         * libio/oldfileops.c: Likewise.
68013         * libio/oldiofclose.c: Likewise.
68014         * libio/oldiofdopen.c: Likewise.
68015         * libio/oldiofopen.c: Likewise.
68016         * libio/oldiopopen.c: Likewise.
68017         * libio/oldstdfiles.c: Likewise.
68018         * libio/putc.c: Likewise.
68019         * libio/setbuf.c: Likewise.
68020         * libio/setlinebuf.c: Likewise.
68021         * libio/stdfiles.c: Likewise.
68022         * libio/strops.c: Likewise.
68023         * libio/vasprintf.c: Likewise.
68024         * libio/vscanf.c: Likewise.
68025         * libio/vsnprintf.c: Likewise.
68026         * libio/vswprintf.c: Likewise.
68027         * libio/wfiledoalloc.c: Likewise.
68028         * libio/wfileops.c: Likewise.
68029         * libio/wgenops.c: Likewise.
68030         * libio/wmemstream.c: Likewise.
68031         * libio/wstrops.c: Likewise.
68032         * libio/__fpurge.c: Likewise.
68033         * libio/__fsetlocking.c: Likewise.
68034         * assert/assert.c: Likewise.
68035         * debug/fgets_chk.c: Likewise.
68036         * debug/fgets_u_chk.c: Likewise.
68037         * debug/fread_chk.c: Likewise.
68038         * debug/fread_u_chk.c: Likewise.
68039         * debug/gets_chk.c: Likewise.
68040         * debug/obprintf_chk.c: Likewise.
68041         * debug/vasprintf_chk.c: Likewise.
68042         * debug/vdprintf_chk.c: Likewise.
68043         * debug/vsnprintf_chk.c: Likewise.
68044         * debug/vsprintf_chk.c: Likewise.
68045         * malloc/mtrace.c: Likewise.
68046         * misc/error.c: Likewise.
68047         * misc/syslog.c: Likewise.
68048         * stdio-common/asprintf.c: Likewise.
68049         * stdio-common/fxprintf.c: Likewise.
68050         * stdio-common/getw.c: Likewise.
68051         * stdio-common/isoc99_fscanf.c: Likewise.
68052         * stdio-common/isoc99_scanf.c: Likewise.
68053         * stdio-common/isoc99_vfscanf.c: Likewise.
68054         * stdio-common/isoc99_vscanf.c: Likewise.
68055         * stdio-common/isoc99_vsscanf.c: Likewise.
68056         * stdio-common/printf-prs.c: Likewise.
68057         * stdio-common/printf_fp.c: Likewise.
68058         * stdio-common/printf_fphex.c: Likewise.
68059         * stdio-common/printf_size.c: Likewise.
68060         * stdio-common/putw.c: Likewise.
68061         * stdio-common/scanf.c: Likewise.
68062         * stdio-common/sprintf.c: Likewise.
68063         * stdio-common/tmpfile.c: Likewise.
68064         * stdio-common/vfprintf.c: Likewise.
68065         * stdio-common/vfscanf.c: Likewise.
68066         * stdlib/strfmon_l.c: Likewise.
68067         * sunrpc/openchild.c: Likewise.
68068         * sunrpc/xdr_stdio.c: Likewise.
68069         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
68070         * sysdeps/mach/hurd/tmpfile.c: Likewise.
68072 2012-05-24  Roland McGrath  <roland@hack.frob.com>
68074         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68076         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
68077         in the third column, to generate for the shared library an IFUNC
68078         that uses _dl_vdso_vsym.
68079         * Makerules (COMPILE.c, compile-stdin.c): New variables.
68080         * Makeconfig (object-suffixes-noshared): New variable.
68082         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
68083         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
68084         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
68085         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
68087         [BZ #14132]
68088         * include/sys/time.h (__gettimeofday): Remove macro.
68089         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
68090         * time/gettimeofday.c (__gettimeofday): Remove #undef.
68091         Remove INTDEF.
68092         (__gettimeofday): Add libc_hidden_def.
68093         (gettimeofday): Add libc_hidden_weak.
68094         * sysdeps/mach/gettimeofday.c: Likewise.
68095         * sysdeps/posix/gettimeofday.c: Likewise.
68096         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
68097         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
68098         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
68099         (__gettimeofday_internal): Remove strong_alias.
68100         (__gettimeofday): Add libc_hidden_def.
68101         (gettimeofday): Add libc_hidden_weak.
68102         * sysdeps/unix/syscalls.list (gettimeofday):
68103         Remove __gettimeofday_internal alias.
68105 2012-05-24  Daniel Jacobowitz  <drow@false.org>
68106             H.J. Lu  <hongjiu.lu@intel.com>
68108         [BZ #12495]
68109         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
68110         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
68111         (largebin_index_32_big): New.
68112         (largebin_index): Use it for 16-byte alignment.
68113         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
68114         correction with front_misalign.
68116 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
68119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
68120         Likewise.
68121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
68122         Likewise.
68123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68124         Likewise.
68125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
68126         Likewise.
68127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
68128         Likewise.
68129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
68130         Likewise.
68131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
68132         Likewise.
68133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
68134         Likewise.
68135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
68136         Likewise.
68137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
68138         Likewise.
68139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
68140         Likewise.
68141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
68142         Likewise.
68144         * scripts/data/c++-types-x32-linux-gnu.data: New file.
68145         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
68147 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68149         [BZ #10846]
68150         [BZ #14036]
68151         * math/libm-test.inc (exp_test): Add test from bug 14036.
68152         (pow_test): Add test from bug 10846.
68154         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
68155         and other flags.
68156         (special_function): Do not include flags in test name.
68157         (parse_args): Likewise.
68158         * sysdeps/i386/fpu/libm-test-ulps: Update.
68159         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68160         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
68161         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
68162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68164         * math/gen-libm-test.pl (%beautify): Add entries for underflow
68165         exceptions.
68166         * math/libm-test.inc ("Philosophy"): Update comment about
68167         exception testing.
68168         (UNDERFLOW_EXCEPTION): New macro.
68169         (UNDERFLOW_EXCEPTION_OK): Likewise.
68170         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
68171         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
68172         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
68173         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
68174         (INVALID_EXCEPTION_OK): Update value.
68175         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68176         (OVERFLOW_EXCEPTION_OK): Likewise.
68177         (IGNORE_ZERO_INF_SIGN): Likewise.
68178         (test_exceptions): Handle underflow exceptions.
68179         (acos_test): Update for underflow exception expectations.
68180         (cexp_test): Likewise.
68181         (clog_test): Likewise.
68182         (clog10_test): Likewise.
68183         (csqrt_test): Likewise.
68184         (ctan_test): Likewise.
68185         (ctanh_test): Likewise.
68186         (exp_test): Likewise.
68187         (exp10_test): Likewise.
68188         (exp2_test): Likewise.
68189         (expm1_test): Likewise.
68190         (fma_test): Likewise.
68191         (j0_test): Likewise.
68192         (jn_test): Likewise.
68193         (nexttoward_test): Likewise.
68194         (pow_test): Likewise.
68195         (scalbn_test): Likewise.
68196         (scalbln_test): Likewise.
68197         (tan_test): Likewise.
68198         (y1_test): Likewise.
68199         * sysdeps/i386/fpu/libm-test-ulps: Update.
68200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68202 2012-05-23  David S. Miller  <davem@davemloft.net>
68204         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68205         (__libc_sigaction): Remove unused local variables.
68207 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68209         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
68211 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
68213         mktime: avoid signed integer overflow
68214         * time/mktime.c (__mktime_internal): Do not mishandle the case
68215         where diff == INT_MIN.
68217         mktime: simplify computation of average
68218         * time/mktime.c (ranged_convert): Use new time_t_avg function
68219         instead of rolling our own (probably-slower) code.
68221         mktime: do not assume signed right shift propagates sign bit
68222         * time/mktime.c (isdst_differ): New static function.
68223         (__mktime_internal): No need to normalize tm_isdst now.
68224         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
68225         tm_isdst values.
68227         mktime: merge another wrapv change from gnulib
68228         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
68229         from some compilers.
68231         mktime: remove incorrect attempt at unusual arithmetics
68232         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
68233         The code didn't really work on such machines anyway.
68234         (TYPE_MINIMUM): Assume two's complement.
68235         (twos_complement_arithmetic): Verify that long_int and time_t
68236         are two's complement (or unsigned, in the latter case).
68238         mktime: check signed shifts on long_int and time_t, too
68239         * time/mktime.c (SHR): Check that shifts work as desired
68240         on the types long_int and time_t too, as SHR is used on
68241         such types.
68243         mktime: do not assume 'long' is wide enough
68244         * time/mktime.c (verify): Move decl up.
68245         (long_int): New type.
68246         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
68247         to remove assumption in the code that 'long' is wide enough to
68248         store year values.  This assumption is not true on x32 and on
68249         some non-glibc platforms.
68251         mktime: merge wrapv change from gnulib
68252         * time/mktime.c (WRAPV): New macro.
68253         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
68254         (guess_time_tm, __mktime_internal): Do not assume that signed
68255         integer overflow wraps around; modern compilers generate code
68256         where this assumption is no longer valid.
68258 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68260         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68261         Replace "jmp L(pseudo_end)" with "ret".
68262         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
68263         Likewise.
68265 2012-05-23  Andreas Jaeger  <aj@suse.de>
68267         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
68268         * sysdeps/unix/sysv/linux/poll.c: Remove file.
68270 2012-05-23  Andreas Jaeger  <aj@suse.de>
68271             Maximilian Attems  <max@stro.at>
68273         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
68274         New macros.
68276 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68278         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
68279         code so that pseudo_end is just ret and the stack pointer is
68280         correct also for static library in error case.
68282 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
68284         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
68285         move to syscalls.list.
68286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
68287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
68288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
68291         * manual/install.texi (Running make install): Do not mention Linux
68292         kernel version for which pt_chown is not needed.
68293         (Linux): Do not mention problems with nscd with 2.0 kernels.
68294         * INSTALL: Regenerated.
68296 2012-05-23  Andreas Jaeger  <aj@suse.de>
68298         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
68299         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
68300         macro.
68301         * sysdeps/unix/sysv/linux/s390/bits/mman.h
68302         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68303         * sysdeps/unix/sysv/linux/sh/bits/mman.h
68304         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68305         * sysdeps/unix/sysv/linux/i386/bits/mman.h
68306         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68307         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
68308         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68309         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68310         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68311         * sysdeps/unix/sysv/linux/bits/in.h
68312         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
68314 2012-05-22  Roland McGrath  <roland@hack.frob.com>
68316         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
68317         (PREPARE_VERSION): Just use assert instead, it will be elided
68318         under [NDEBUG] anyway.
68320 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68322         * sysdeps/unix/sysv/linux/Makefile: Include
68323         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
68324         (sysdep_routines): Remove sysctl.
68325         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
68326         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
68327         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
68328         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
68329         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
68331 2012-05-22  Andreas Jaeger  <aj@suse.de>
68333         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
68334         that pseudo_end is just ret and the stack pointer is correct also
68335         for static library in error case.
68337 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
68339         [BZ #14122]
68340         * nss/nsswitch.c (defconfig_entries): New variable.
68341         (__nss_database_lookup): Don't leak defconfig entries.
68342         (nss_parse_service_list): Don't leak on error paths.
68343         (free_database_entries): New function.
68344         (free_defconfig): New function.
68345         (free_mem): Move common code to free_database_entries.
68347 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68349         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
68350         Add arch_prctl.
68351         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
68353         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
68354         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
68355         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
68356         New macro.
68357         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
68358         (INTERNAL_SYSCALL_TYPES): Likewise.
68359         (LOAD_ARGS_TYPES_[1-6]): Likewise.
68360         (LOAD_REGS_TYPES_[1-6]): Likewise.
68361         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
68362         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
68364 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68366         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
68367         copysignl for GLIBC_2_0.
68368         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
68369         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
68370         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
68371         logbl for GLIBC_2_0.
68372         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
68373         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
68375 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68377         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
68378         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68380         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68381         Use "neg %eax".
68383         * time/mktime.c: Update copyright years.
68385 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
68387         mktime: merge comment-quoting-style change from gnulib
68388         * time/mktime.c: Quote 'like this' in comments.
68389         The GNU coding standards suggest that we no longer quote `like this',
68390         as "`" and "'" are typically rendered asymmetrically nowadays.
68391         The typical gnulib style is to quote 'like this' when quoting
68392         code, and "like this" when quoting English.
68394         * time/mktime.c (compile-command): Add "-I.".
68396         mktime: merge mktime-internal.h change from gnulib
68397         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68399         mktime: merge time_r change from gnulib
68400         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68402         mktime: merge DEBUG change from gnulib
68403         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68404         case system <time.h> has a #define.
68406         mktime: merge <sys/types.h> change from gnulib
68407         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68408         since <time.t> is now guaranteed to define time_t.
68410         mktime: merge HAVE_CONFIG_H change from gnulib
68411         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68413 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68416         Use "neg %eax".
68418         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
68419         __rlim_t cast.
68420         (struct rusage): Use anonymous union to pad each field to
68421         __syscall_slong_t.
68423 2012-05-21  David S. Miller  <davem@davemloft.net>
68425         * Makefules (o-iterator): Remove .s cases.
68426         (compile-command.s): Delete.
68427         (COMPILE.s): Delete.
68428         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
68430 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
68432         * configure.in (libc_cv_predef_stack_protector): Only consider
68433         "foobar" and "__stack_chk_fail" lines in libc_undefs.
68434         * configure: Regenerated.
68436 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68438         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68439         New macro.  Use R*LP on int and pointer.
68440         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
68441         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
68442         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
68443         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
68445         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
68446         [__WORDSIZE_TIME64_COMPAT32] instead of
68447         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68448         (struct utmp): Likewise.
68449         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
68450         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
68451         Renamed to ...
68452         (__WORDSIZE_TIME64_COMPAT32): This.
68453         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
68454         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
68455         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
68456         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
68457         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
68458         (__WORDSIZE_TIME64_COMPAT32): New macro.
68460 2012-05-21  Andreas Jaeger  <aj@suse.de>
68462         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
68463         only if [SHARED]. Add prototype for __wcschr_ia32.
68465 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68467         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
68468         of %rbp unmolested in the jmp_buf while mangling the low bits.
68469         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
68470         unmolested high bits of %rbp while demangling the low bits.
68471         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68473 2012-05-21  Andreas Jaeger  <aj@suse.de>
68475         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
68476         * sunrpc/svc_simple.c: Use it for registerrpc.
68477         * sunrpc/xcrypt.c: Use it for passwd2des.
68479         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
68481 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68483         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
68484         Don't define if [__SYSCALL_WORDSIZE != 32].
68485         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
68486         New macro.
68488 2012-05-21  Bruno Haible  <bruno@clisp.org>
68489             Andreas Jaeger  <aj@suse.de>
68491         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
68492         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
68493         inptr and inend for must_buffer_ch.
68494         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
68495         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
68496         * stdio-common/Makefile (tests): Remove bug15.
68497         (bug15-ENV): Remove macro.
68498         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
68499         anymore.
68501 2012-05-19  Andreas Jaeger  <aj@suse.de>
68502             Roland McGrath  <roland@hack.frob.com>
68504         * manual/contrib.texi: Completely rewritten. It contains now an
68505         alphabetical list of contributors and their contributions.
68507 2012-05-21  Richard Henderson  <rth@twiddle.net>
68509         * misc/getauxval.c (__getauxval): Use unsigned long int.
68510         * misc/sys/auxv.h: Include <sys/cdefs.h>.
68511         (getauxval): Use unsigned long int.
68513 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68515         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68517 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68519         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
68520         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
68521         __alignof__ (long double).
68523 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68527 2012-05-20  Richard Henderson  <rth@twiddle.net>
68529         * misc/getauxval.c: New file.
68530         * misc/sys/auxv.h: New file.
68531         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68532         (routines): Add getauxval.
68533         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
68534         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
68535         * elf/dl-sysdep.c (_dl_auxv): Remove.
68536         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
68537         * elf/dl-support.c (_dl_auxv): New variable.
68538         (_dl_aux_init): Initialize it.
68539         * manual/startup.texi (Auxiliary Vector): New node.
68540         * sysdeps/generic/bits/hwcap.h: New file.
68541         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
68542         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
68543         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
68544         * sysdeps/sparc/sysdep.h: ... here.  Include it.
68545         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
68546         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
68547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68548         Update.
68549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
68550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
68551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
68552         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
68553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
68556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
68558 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68562 2012-05-19  David S. Miller  <davem@davemloft.net>
68564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68566 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68568         [BZ #14123]
68569         * math/s_ccosh.c: Include <float.h>
68570         (__ccosh): Avoid internal overflow calculating sinh and cosh
68571         values before multiplying by sin and cos values.
68572         * math/s_ccoshf.c: Likewise.
68573         * math/s_ccoshl.c: Likewise.
68574         * math/s_csin.c: Likewise.
68575         * math/s_csinf.c: Likewise.
68576         * math/s_csinl.c: Likewise.
68577         * math/s_csinh.c: Likewise.
68578         * math/s_csinhf.c: Likewise.
68579         * math/s_csinhl.c: Likewise.
68580         * math/libm-test.inc (ccos_test): Add more tests.
68581         (ccosh_test): Likewise.
68582         (csin_test): Likewise.
68583         (csinh_test): Likewise.
68584         * sysdeps/i386/fpu/libm-test-ulps: Update.
68585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68587 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
68589         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
68590         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
68592         * sysdeps/x86_64/x32/_itoa.h: Add comment.
68594 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68596         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
68597         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
68598         * sysdeps/powerpc/soft-fp/Versions: Likewise.
68599         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
68600         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
68601         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
68602         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
68603         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
68604         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
68605         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
68606         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
68607         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
68608         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
68609         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
68610         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
68611         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
68612         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
68613         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
68614         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
68615         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
68616         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
68617         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
68618         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
68619         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
68620         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
68621         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
68622         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
68623         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
68624         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
68625         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
68626         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
68628 2012-05-18  Andreas Jaeger  <aj@suse.de>
68630         * csu/.gitignore: Delete.
68632 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68634         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
68635         (timex): Use __syscall_slong_t.
68637 2012-05-18  Andreas Jaeger  <aj@suse.de>
68638             Carlos O'Donell  <carlos_odonell@mentor.com>
68640         * manual/install.texi (Configuring and compiling): Update
68641         description about files modified in the source directory.
68642         * INSTALL: Regenerated.
68644 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68646         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
68647         value.  Use "or" to set return value to -1.
68648         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
68649         negate return value.
68651 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68653         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
68654         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
68655         failure if the compiler has Graphite support disabled.
68656         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
68657         Likewise.
68658         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
68659         (CFLAGS-memmove.c): Likewise.
68660         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
68661         Likewise.
68663 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68665         * sysdeps/x86_64/x32/_itoa.h: New file.
68667         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
68668         getdents system call only if kernel and user dirents have the
68669         same d_ino and d_off.
68671         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68672         LLONG_MAX != LONG_MAX.
68673         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68674         (_fitoa_word): Likewise.
68676         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
68677         years.
68678         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
68679         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
68680         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
68682         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
68683         include <bits/wordsize.h>.  Check __x86_64__ instead of
68684         __WORDSIZE.
68685         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
68686         if __x86_64__ is defined.  Use anonymous union on fpstate.
68688         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
68689         anonymous union.
68691 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
68693         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
68694         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
68695         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
68696         Refer to _rtld_local_ro instead of _rtld_global_ro.
68697         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
68698         Likewise.
68699         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
68700         Likewise.
68701         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
68702         Likewise.
68703         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
68704         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
68705         of _rtld_global, and rtld_progname instead of _dl_argv[0].
68707         [BZ #10882]
68708         * sysdeps/powerpc/powerpc32/dl-machine.c
68709         (__elf_machine_runtime_setup) [PROF]: Don't reference
68710         _dl_prof_resolve.
68712 2012-05-18  Andreas Jaeger  <aj@suse.de>
68714         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
68715         function only available for GCCs before 3.4 since GCC 3.4
68716         introduced a builtin.
68717         (lrint): Likewise.
68718         (llrintf): Likewise.
68719         (llrint): Likewise.
68720         (fmaxf): Likewise.
68721         (fmax): Likewise.
68722         (fminf): Likewise.
68723         (fmin): Likewise.
68724         (rint): Likewise.
68725         (rintf): Likewise.
68726         (nearbyint): Likewise.
68727         (nearbyintf): Likewise.
68728         (ceil): Likewise.
68729         (ceilf): Likewise.
68730         (floor): Likewise.
68731         (floorf): Likewise.
68733 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68735         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
68736         on both fields and cast pointer to __syscall_ulong_t.
68738         * bits/types.h (__fsword_t): New type.
68739         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
68740         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
68741         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68742         (__FSWORD_T_TYPE): Likewise.
68743         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68744         (__FSWORD_T_TYPE): Likewise.
68745         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68746         (__FSWORD_T_TYPE): Likewise.
68747         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
68748         (__FSWORD_T_TYPE): Likewise.
68749         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
68750         __SWORD_TYPE with __fsword_t.
68751         (statfs64): Likewise.
68753 2012-05-17  David S. Miller  <davem@davemloft.net>
68755         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
68757 2012-05-17  Andreas Jaeger  <aj@suse.de>
68759         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
68760         warning.
68762 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68764         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68766 2012-05-17  Andreas Jaeger  <aj@suse.de>
68768         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68769         when it is used.
68771 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68773         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68775 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68777         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68778         * sysdeps/x86_64/tst-mallocalign1.c: New file.
68780 2012-05-17  Andreas Jaeger  <aj@suse.de>
68781             Carlos O'Donell  <carlos_odonell@mentor.com>
68783         [BZ #14059]
68784         * sysdeps/x86_64/multiarch/init-arch.h
68785         (bit_YMM_Usable): Rename to...
68786         (bit_AVX_Usable): ... this.
68787         (bit_FMA4_Usable): New macro.
68788         (bit_XMM_state): New macro.
68789         (bit_YMM_state): New macro.
68790         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68791         [__ASSEMBLER__] (index_AVX_Usable): ... this.
68792         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68793         (CPUID_OSXSAVE): New macro.
68794         (CPUID_AVX): New macro.
68795         (CPUID_FMA4): New macro.
68796         (index_YMM_Usable): Rename to...
68797         (index_AVX_Usable): ... this.
68798         (HAS_AVX): Use HAS_ARCH_FEATURE.
68799         (HAS_FMA4): Likewise.
68800         (HAS_YMM_USABLE): Remove.
68801         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68802         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68803         are present.
68804         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68805         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68806         * sysdeps/x86_64/multiarch/Makefile: Likewise.
68807         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68808         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68810 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68812         * math/libm-test.c: Support platforms without multiple rounding modes.
68813         * math/bug-nextafter.c: Support platforms without FP exceptions.
68814         * math/bug-nexttoward.c: Likewise.
68815         * math/test-fenv.c: Likewise.
68816         * math/test-misc.c: Likewise.
68817         * stdlib/bug-getcontext.c: Likewise.
68819 2012-05-17  Andreas Jaeger  <aj@suse.de>
68821         * manual/examples/search.c (critter_cmp): Change signature to
68822         avoid warnings.
68823         * manual/string.texi (Collation Functions): Likewise.
68825 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68827         * bits/types.h: Fold copyright years.
68828         * bits/typesizes.h: Likewise.
68829         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68830         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68831         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68832         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68833         * time/time.h: Likewise.
68835 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
68837         [BZ #208]
68838         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
68839         in instead of returning them.  Return void.
68840         (__libc_mallinfo): Accumulate over all arenas.
68841         (__malloc_stats): Adjust for change in int_mallinfo interface.
68843 2012-05-16  Roland McGrath  <roland@hack.frob.com>
68845         [BZ #10375]
68846         * configure.in (NM): Add AC_CHECK_TOOL for it.
68847         (libc_extra_cflags): New substituted variable.
68848         Check for -fstack-protector being used implicitly.
68849         * configure: Regenerated.
68850         * config.make.in (config-extra-cflags): New variable,
68851         gets @libc_extra_cflags@.
68852         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
68854         [BZ #10375]
68855         * configure.in: Check for _FORTIFY_SOURCE being predefined.
68856         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
68857         * configure: Regenerated.
68858         * config.make.in (CPPUNDEFS): New substituted variable.
68859         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
68860         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
68861         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
68863 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68865         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68866         (mq_attr): Use __syscall_slong_t.
68868 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68870         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68871         Check __x86_64__ instead of __WORDSIZE.
68872         (_STAT_VER_LINUX): Likewise.
68873         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68874         __syscall_ulong_t and __syscall_slong_t.
68875         (stat64): Likewise.
68877 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68879         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68881 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68883         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68885 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68887         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68888         __syscall_ulong_t.
68890         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68891         include <bits/wordsize.h>.  Check __x86_64__ instead of
68892         __WORDSIZE.
68893         (greg_t): Use "__extension__ long long int" if __x86_64__ is
68894         defined.
68895         (mcontext_t): Replace "unsigned long" with "unsigned long long".
68897         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
68898         include <bits/wordsize.h>.  Check __x86_64__ instead of
68899         __WORDSIZE.
68900         (user_regs_struct): Use "__extension__ unsigned long long"
68901         instead of "unsigned long" if __x86_64__ is defined.
68902         (user): Likewise.  Pad after pointer field if __ILP32__ is
68903         defined.
68905 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
68907         * configure.in (makeinfo): Require version 4.5 or later.  Allow
68908         versions 5 to 9.
68909         * configure: Regenerated.
68910         * manual/install.texi (texinfo): Increase version requirement to
68911         4.5 or later.
68912         * INSTALL: Regenerated.
68914         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
68916 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68918         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
68920         * sysdeps/x86_64/x32/ffs.c: New file.
68922         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
68923         __syscall_ulong_t.
68924         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
68925         defined.  Use __syscall_ulong_t.
68926         (shminfo): Use __syscall_ulong_t.
68927         (shm_info): Likewise.
68929         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
68930         __syscall_ulong_t.
68932         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
68933         <bits/wordsize.h>.
68934         (msgqnum_t): Use __syscall_ulong_t.
68935         (msglen_t): Likewise.
68936         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
68937         __syscall_ulong_t.
68939         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
68940         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68942         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
68944         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
68945         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
68947         * sysvipc/sys/msg.h (msgbuf): Replace long int with
68948         __syscall_slong_t.
68950         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
68951         include <bits/wordsize.h>.  Check __x86_64__ instead of
68952         __WORDSIZE.
68954         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
68955         "unsigned long long int" if __x86_64__ is defined.
68956         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
68958         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
68959         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68960         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
68962         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
68963         <stdint.h>.
68964         (GET_PC): Cast to uintptr_t first.
68965         (GET_FRAME): Likewise.
68966         (GET_STACK): Likewise.
68968         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
68969         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
68970         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
68971         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
68972         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
68973         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
68974         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
68975         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
68976         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
68977         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
68978         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
68979         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
68980         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68981         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
68982         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
68983         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
68984         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
68985         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
68986         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
68987         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
68988         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
68989         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
68990         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
68991         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
68992         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
68993         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
68994         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
68995         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
68996         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
68998 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
69000         * Makerules (+depfiles): Also collect depfiles from .oS in
69001         $(extra-objs).
69002         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
69003         .oS, $(libnldbl-routines)).
69005         * Makerules (native-compile-mkdep-flags): Define.
69006         * sunrpc/Makefile (extra-objs): Add $(addprefix
69007         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
69008         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
69009         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
69010         calling $(make-target-directory).
69012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69014         * bits/types.h (__snseconds_t): Removed.
69015         * time/time.h (struct timespec): Replace __snseconds_t with
69016         __syscall_slong_t.
69017         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
69018         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
69019         Likewise.
69020         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69021         (__SNSECONDS_T_TYPE): Likewise.
69022         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69023         (__SNSECONDS_T_TYPE): Likewise.
69024         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69025         (__SNSECONDS_T_TYPE): Likewise.
69027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69029         * sysdeps/mach/hurd/bits/typesizes.h
69030         (__SYSCALL_SLONG_TYPE): New macro.
69031         (__SYSCALL_ULONG_TYPE): Likewise.
69033 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69035         * bits/types.h (__syscall_slong_t): New type.
69036         (__syscall_ulong_t): Likewise.
69038         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
69039         (__SYSCALL_ULONG_TYPE): Likewise.
69040         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69041         (__SYSCALL_SLONG_TYPE): Likewise.
69042         (__SYSCALL_ULONG_TYPE): Likewise.
69043         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69044         (__SYSCALL_SLONG_TYPE): Likewise.
69045         (__SYSCALL_ULONG_TYPE): Likewise.
69046         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69047         (__SYSCALL_SLONG_TYPE): Likewise.
69048         (__SYSCALL_ULONG_TYPE): Likewise.
69050 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69052         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
69053         Add sigaltstack-offsets.sym.
69054         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
69055         <sigaltstack-offsets.h>.
69056         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
69057         longjmp_msg pointer.
69058         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
69059         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
69060         signal stack.
69061         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
69063 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69065         * elf/stackguard-macros.h: Remove file.
69066         * sysdeps/generic/stackguard-macros.h: New file.
69067         * sysdeps/i386/stackguard-macros.h: Likewise.
69068         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
69069         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
69070         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
69071         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
69072         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
69073         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
69074         * sysdeps/x86_64/stackguard-macros.h: Likewise.
69075         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
69076         <elf/stackguard-macros.h>.
69078         [BZ #14109]
69079         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
69080         __aligned__ in attribute.
69081         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
69082         (gregset_t): Likewise.
69084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69086         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
69087         * sysdeps/x86_64/64/Implies-after: Here.  New file.
69088         * sysdeps/x86_64/x32/Implies-after: New file.
69090 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69092         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
69093         and access return value for _dl_profile_fixup.  Use R10_LP to
69094         load frame size.
69096 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69098         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
69100 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69102         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
69103         * sysdeps/x86_64/x32/sysdep.h: New file.
69105 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69107         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
69108         * sysdeps/x86_64/setjmp.S: Likewise.
69110 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69112         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
69113         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
69114         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
69115         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
69116         remove unused global constant.
69118 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
69120         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
69121         include of <not-cancel.h>.
69123 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69125         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
69127 2012-05-15  Jeff Law  <law@redhat.com>
69128             Andreas Jaeger  <aj@suse.de>
69130         [BZ #13594]
69131         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
69132         out from...
69133         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
69134         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
69135         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
69136         code changing __hst_map_handle.map.
69138 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69140         * configure.in (sysnames): Look for Implies-before and Implies-after
69141         files.
69142         * configure: Regenerated.
69144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69146         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
69147         8-byte data alignment with LP_SIZE alignment.
69149 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69151         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
69152         into R10_LP.
69154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69156         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
69158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69160         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
69161         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
69162         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
69163         Likewise.
69164         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69166 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69168         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
69169         (stackinfo_sub_sp): Likewise.
69171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69173         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
69174         RAX_LP.
69176 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69178         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
69179         into R*_LP.
69181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69183         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
69184         sizes into R*_LP.
69186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69188         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
69190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69192         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
69193         into R11_LP and load __x86_64_shared_cache_size_half into
69194         R8_LP.
69196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69198         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
69199         R8_LP.
69201 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69203         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
69204         logb for POWER7.
69205         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
69206         logbf for POWER7.
69207         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
69208         logbl for POWER7.
69209         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
69210         powerpc32/power7/fpu/s_logb.c via #include.
69211         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
69212         powerpc32/power7/fpu/s_logbf.c via #include.
69213         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
69214         powerpc32/power7/fpu/s_logbl.c via #include.
69216 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69218         * README.libm: Remove file.
69220 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69222         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
69223         count for x32.  Use R*_LP and omit operand-size suffix.
69225 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69227         * shlib-versions: Move x86_64-.*-linux.* entries to ...
69228         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
69229         * sysdeps/x86_64/x32/shlib-versions: New file.
69231 2012-05-14  Roland McGrath  <roland@hack.frob.com>
69233         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
69234         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
69235         Use _dl_fatal_printf instead.
69237 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69239         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
69240         set if not set by the user.  Do not allow for being unset.
69241         * sysdeps/unix/sysv/linux/configure: Regenerated.
69243 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69245         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
69246         the `q' suffix from lea and replace .quad with ASM_ADDR.
69248 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69250         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
69251         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
69252         instead of $17.
69253         (PTR_DEMANGLE): Likewise.
69255 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69257         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
69258         (LP_OP): Likewise.
69259         (ASM_ADDR): Likewise.
69260         (RAX_LP): Likewise.
69261         (RBP_LP): Likewise.
69262         (RBX_LP): Likewise.
69263         (RCX_LP): Likewise.
69264         (RDI_LP): Likewise.
69265         (RSI_LP): Likewise.
69266         (RSP_LP): Likewise.
69267         (R8_LP): Likewise.
69268         (R9_LP): Likewise.
69269         (R10_LP): Likewise.
69270         (R10_LP): Likewise.
69271         (R11_LP): Likewise.
69272         (R12_LP): Likewise.
69273         (R13_LP): Likewise.
69274         (R14_LP): Likewise.
69275         (R15_LP): Likewise.
69277 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69279         * sysdeps/x86_64/x32/dl-machine.h: New file.
69281 2012-05-14  Andreas Jaeger  <aj@suse.de>
69283         * manual/Makefile (subdir): Remove export of subdir.
69284         (all): Remove target.
69285         (.PHONY): Remove all from list.
69286         (mkinstalldirs): Remove.
69287         (.PHONY): Remove installdirs from list.
69288         ($(inst_infodir)/libc.info): Use make-target-directory.
69289         (installdirs): Remove.
69290         (subdir_%): Remove.
69291         (glibc-targets): Remove.
69292         (lib): Remove.
69293         (stubs): Remove.
69294         ($(objpfx)stubs ../po/manual.pot): Remove.
69295         ($(objpfx)stamp%): Remove.
69296         (make-target-directory): Remove.
69297         (subdir_install): Remove.
69298         (routines): Remove.
69299         (aux): Remove.
69300         (sources): Remove.
69301         (objects): Remove.
69302         (headers): Remove.
69304         [BZ #13750]
69305         * manual/.gitignore: Remove, it's not needed anymore.
69306         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
69307         all files in it.
69308         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
69309         directory.
69310         (texis): Renamed to $(objpfx)texis.
69311         (texis-path): New, contains path to generated files.
69312         (chapters.%): Use texis-path for complete path, add extra argument
69313         libc-texinfo.sh.
69314         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
69315         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69316         (summary,texi, stamp-summary): Use complete path of
69317         files. Generate files in build dir.
69318         (dir-add.texi): Build in build dir.
69319         (libm-err.texi,stamp-libm-err): Likewise.
69320         (version.texi, stamp-version): Likewise.
69321         (.%c.texi): Likewise.
69322         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69323         (mostlyclean): Remove target.
69324         (realclean): Remove target.
69325         (generated): Add new variable with contents from mostlyclean and
69326         realclean, remove entries duplicated in common-mostlyclean, add
69327         stamp-libm-err and stamp-version.
69328         (generated-dirs): Add libc directory.
69329         ($(inst_infodir)/libc.info): Install files from build dir.
69331         * manual/install.texi (Configuring and compiling): Adjust since
69332         the info files are not part of the tar ball anymore.
69334 2012-05-14  Andreas Jaeger  <aj@suse.de>
69336         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
69337         variable.
69339 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69341         [BZ #13717]
69342         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69343         to 2.2.0 where earlier.
69344         * sysdeps/unix/sysv/linux/configure: Regenerated.
69345         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
69346         Remove conditional code.
69347         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
69348         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69349         Remove conditional code.
69350         [!__NR_lchown]: Likewise.
69351         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69352         [__NR_lchown]: Likewise.
69353         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
69354         comment referencing __ASSUME_LCHOWN_SYSCALL.
69355         * sysdeps/unix/sysv/linux/i386/sigaction.c
69356         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69357         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69358         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
69359         Remove conditional code.
69360         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
69361         (__protocol_available): Remove #if 0 code.
69362         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
69363         conditional code.
69364         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
69365         * sysdeps/unix/sysv/linux/kernel-features.h
69366         (__ASSUME_GETCWD_SYSCALL): Don't define.
69367         (__ASSUME_REALTIME_SIGNALS): Likewise.
69368         (__ASSUME_PREAD_SYSCALL): Likewise.
69369         (__ASSUME_PWRITE_SYSCALL): Likewise.
69370         (__ASSUME_POLL_SYSCALL): Likewise.
69371         (__ASSUME_LCHOWN_SYSCALL): Likewise.
69372         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
69373         non-SPARC.
69374         (__ASSUME_SIOCGIFNAME): Don't define.
69375         (__ASSUME_MSG_NOSIGNAL): Likewise.
69376         (__ASSUME_SENDFILE): Define unconditionally.
69377         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
69378         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
69379         conditional code.
69380         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
69381         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
69382         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69383         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69384         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
69385         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69386         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
69388         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69389         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
69391         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69392         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69394         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69395         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69397         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69398         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69400         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69401         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69403         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69404         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69406         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69407         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69409         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69410         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69411         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69412         Remove conditional code.
69413         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69414         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69415         Remove conditional code.
69416         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69417         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
69418         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
69419         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69420         Remove conditional code.
69421         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69422         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
69423         Remove conditional code.
69424         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69425         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
69426         Remove conditional code.
69427         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69428         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69429         Remove conditional code.
69430         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69431         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69432         Remove conditional code.
69433         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69434         * sysdeps/unix/sysv/linux/sh/pwrite64.c
69435         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69436         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69437         * sysdeps/unix/sysv/linux/sigaction.c
69438         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69439         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69440         * sysdeps/unix/sysv/linux/sigpending.c
69441         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69442         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69443         * sysdeps/unix/sysv/linux/sigprocmask.c
69444         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69445         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69446         * sysdeps/unix/sysv/linux/sigsuspend.c
69447         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69448         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69449         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69450         (__libc_missing_rt_sigs): Remove.
69451         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
69452         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
69453         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
69454         Remove conditional code.
69455         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
69456         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
69457         return 1.
69458         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
69459         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
69460         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
69461         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
69463 2012-05-14  Andreas Jaeger  <aj@suse.de>
69465         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
69466         it's not used in glibc.
69467         (__coshm1): Likewise.
69468         (__acosh1p): Likewise.
69469         (__sgn): Likewise.
69471         * manual/string.texi (Copying and Concatenation): Add missing
69472         variable in concat example.
69473         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
69475 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69477         [BZ #14103]
69478         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
69479         __builtin_clzl with __builtin_clzll.
69481 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69483         [BZ #14104]
69484         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
69485         libc_freeres_ptr.
69487 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69489         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
69490         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
69491         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
69492         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
69494 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
69496         * NEWS: Update ia64 info.
69498 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
69500         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
69501         used as bcopy.
69503 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
69505         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
69506         * sysdeps/unix/syscalls.list (dup3): Likewise.
69507         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
69508         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
69510 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69512         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
69513         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
69515 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69517         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
69518         thread pointer.
69519         (TLS_IE): Use mov/add instead of movq/addq to load thread
69520         pointer.
69521         (TLS_GD_PREFIX): New.
69522         (TLS_GD): Use it.
69524 2012-05-11  David S. Miller  <davem@davemloft.net>
69526         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
69527         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
69528         (_FPU_SETCW): Likewise.
69530 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69532         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
69533         is 32-byte aligned.
69535 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
69537         [BZ #11837]
69538         * iconvdata/gb18030.c: Update tables.
69539         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
69540         characters specially.
69541         (BODY for TO_LOOP): Add encoding of missing ranges.
69543 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
69545         [BZ #13673]
69546         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
69547         * sysdeps/mach/hurd/dup3.c: Likewise.
69548         * sysdeps/mach/hurd/readlinkat.c: Likewise.
69549         * sysdeps/powerpc/memmove.c:: Likewise.
69551 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69553         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
69554         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
69556 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69558         * elf/elf.h (R_X86_64_RELATIVE64): New.
69559         (R_X86_64_NUM): Updated.
69560         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69561         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
69562         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
69563         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
69564         tst-quad1pie tst-quad2pie
69565         (modules-names): Add tst-quadmod1 tst-quadmod2.
69566         ($(objpfx)tst-quad1): New dependency.
69567         ($(objpfx)tst-quad2): Likewise.
69568         ($(objpfx)tst-quad1pie): Likewise.
69569         ($(objpfx)tst-quad2pie): Likewise.
69570         * sysdeps/x86_64/tst-quad1.c: New file.
69571         * sysdeps/x86_64/tst-quad1pie.c: New file.
69572         * sysdeps/x86_64/tst-quad2.c: Likewise.
69573         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
69574         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
69575         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
69576         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
69577         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
69579 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69581         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
69582         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69583         * streams/stropts.h (t_scalar_t): Define type.
69585         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
69586         (_PATH_PRESERVE): Set to "/var/lib".
69587         (_PATH_RWHODIR): Set to "/var/spool/rwho".
69589         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
69590         instead of int.
69592         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
69593         if __dir_mkfile succeeded.
69595         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
69596         checking for _hurd_dtablesize.  Unlock it right after having
69597         finished _hurd_dtable allocation.
69599 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69601         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
69602         * sysdeps/mach/hurd/configure: Regenerated.
69603         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
69604         special-casing to...
69605         * sysdeps/gnu/configure.in: ... this new file.
69606         * sysdeps/unix/sysv/linux/configure: Regenerated.
69607         * sysdeps/gnu/configure: New generated file.
69609         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
69610         for Linux: use nsec instead of usec, as well as:
69611         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
69612         members of type struct timespec.
69613         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
69614         New macros.
69615         (struct stat64): Likewise.
69616         (_STATBUF_ST_NSEC): New macro.
69617         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
69619         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69620         __strtoul_internal rather than strtoul.
69622 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69624         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
69625         and reject them.
69627 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69629         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
69630         which preserves existing values.
69631         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
69633 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69635         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
69636         TIMEOUT values.  Return EINVAL for NFDS values either negative or
69637         greater than FD_SETSIZE.
69639 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69641         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
69642         allocated, call __vm_protect to finish enabling the existing space, and
69643         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
69644         allocate the remainder.
69646 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69648         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
69649         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
69651 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69653         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
69654         sysdeps/mach/hurd/readlink.c.
69656         * posix/tst-sysconf.c (posix_options): Only use
69657         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
69658         _POSIX_SYNCHRONIZED_IO when they are defined
69659         * sysdeps/mach/hurd/bits/posix_opt.h:
69660         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
69661         (_XOPEN_REALTIME): Undefine macro.
69662         (_XOPEN_REALTIME_THREADS): Undefine macro.
69663         (_XOPEN_SHM): Undefine macro.
69664         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
69665         macro to -1.
69666         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
69667         macro to -1.
69668         (_POSIX_ASYNC_IO): Undefine macro.
69669         (_POSIX_PRIORITIZED_IO): Undefine macro.
69670         (_POSIX_SPIN_LOCKS): Define macro to -1.
69672         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
69673         SA_NODEFER, SA_RESETHAND.
69674         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
69675         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
69676         F_DUPFD_CLOEXEC.
69678 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69680         * elf/Makefile (pldd-modules): Define unconditionally.
69682 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69684         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
69686 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69688         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
69689         Return ENOENT when name is empty.
69690         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
69692 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69694         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
69696         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
69698 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69700         Fix mlock in all cases except non-readable pages.
69701         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
69702         instead of VM_PROT_ALL as parameter to __vm_wire function.
69704         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
69705         (__mkdir): When path is `/', just fail with EEXIST.
69706         * sysdeps/mach/hurd/mkdirat.c: Likewise.
69708 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69710         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
69711         <sys/uio.h> (for writev).
69712         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
69713         and <sys/param.h> (for MIN).
69715 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69717         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
69718         REQUESTED_TIME.  Properly set the remaining time and return EINTR
69719         if interrupted.
69721 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69723         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
69724         Depend on against $(link-rpcuserlibs).
69726 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69728         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
69729         (__libc_stack_end): Do not use attribute_relro.
69730         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
69731         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
69732         to libthread-provided value.
69733         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
69734         attribute_relro.
69736 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69738         [BZ #3748]
69739         * bits/libc-lock.h (__libc_once_get): New macro.
69740         * sysdeps/mach/bits/libc-lock.h: Likewise.
69741         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
69742         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
69743         instead of using implementation details.
69745         * libio/fileops.c: Unconditionally include <kernel-features.h>.
69746         * libio/freopen.c: Likewise.
69747         * libio/freopen64.c: Likewise.
69748         * misc/syslog.c: Likewise.
69749         * nscd/connections.c: Likewise.
69750         * nscd/netgroupcache.c: Likewise.
69751         * sysdeps/posix/getcwd.c: Likewise.
69753 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69755         * math/w_ilogbf.c: Add #include <limits.h>.
69757 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69759         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
69760         path instead of returning without unlocking.
69762         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
69763         immediate-write ioctls.
69764         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69766 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69768         * sysdeps/mach/hurd/i386/init-first.c (init): Use
69769         __builtin_frame_address instead of making assumptions about the
69770         location of the return address relative to DATA.  Force early load of
69771         the return address.
69772         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69773         __builtin_frame_address.
69775         dup3 for GNU Hurd.
69776         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69777         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
69778         implement dup3 and do some further code clean-ups.
69779         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69780         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69782 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69784         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69786         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69787         HURD_CRITICAL_END around holding _hurd_dtable_lock.
69788         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69789         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69790         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69791         d->port.lock.
69793         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69794         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
69795         when handler == SIG_ERR, not when handler != SIG_ERR.
69797 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69799         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69800         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69801         definitions.
69803         accept4 for GNU Hurd.
69804         * include/sys/socket.h (__libc_accept4): New prototype.
69805         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
69806         to implement __libc_accept4.
69807         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69808         __libc_accept4.
69809         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69811         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69812         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69813         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69814         signal-defines.sym.
69816 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69818         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69820 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69822         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69823         assertion on O_CLOEXEC flag.
69824         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69825         * hurd/intern-fd.c: Likewise.
69826         * hurd/port2fd.c: Likewise.
69828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69830         [BZ #3906]
69831         * bits/in.h (IPV6_PKTINFO): Define new macro.
69832         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69834 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69836         [BZ #13954]
69837         [BZ #13955]
69838         [BZ #13956]
69839         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
69840         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69841         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
69842         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69843         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69844         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69845         * math/libm-test.inc (logb_test) : Additional logb tests.
69847 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
69848             Andreas Jaeger  <aj@suse.de>
69850         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
69851         * configure: Regenerated.
69852         * config.h.in (LINK_OBSOLETE_RPC): New macro.
69853         * config.make.in (link-obsolete-rpc): New substituted variable.
69854         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
69855         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
69856         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69857         (shared-only-routines): Don't set it under [link-obsolete-rpc],
69858         so that libc.a contains the symbols.
69859         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69860         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
69861         * sunrpc/auth_none.c: Likewise.
69862         * sunrpc/auth_unix.c: Likewise.
69863         * sunrpc/authdes_prot.c: Likewise.
69864         * sunrpc/authuxprot.c: Likewise.
69865         * sunrpc/clnt_gen.c: Likewise.
69866         * sunrpc/clnt_perr.c: Likewise.
69867         * sunrpc/clnt_raw.c: Likewise.
69868         * sunrpc/clnt_simp.c: Likewise.
69869         * sunrpc/clnt_tcp.c: Likewise.
69870         * sunrpc/clnt_udp.c: Likewise.
69871         * sunrpc/clnt_unix.c: Likewise.
69872         * sunrpc/des_crypt.c: Likewise.
69873         * sunrpc/des_soft.c: Likewise.
69874         * sunrpc/get_myaddr.c: Likewise.
69875         * sunrpc/key_call.c: Likewise.
69876         * sunrpc/key_prot.c: Likewise.
69877         * sunrpc/netname.c: Likewise.
69878         * sunrpc/pm_getmaps.c: Likewise.
69879         * sunrpc/pm_getport.c: Likewise.
69880         * sunrpc/pmap_clnt.c: Likewise.
69881         * sunrpc/pmap_prot.c: Likewise.
69882         * sunrpc/pmap_prot2.c: Likewise.
69883         * sunrpc/pmap_rmt.c: Likewise.
69884         * sunrpc/publickey.c: Likewise.
69885         * sunrpc/rpc_cmsg.c: Likewise.
69886         * sunrpc/rpc_common.c: Likewise.
69887         * sunrpc/rpc_dtable.c: Likewise.
69888         * sunrpc/rpc_prot.c: Likewise.
69889         * sunrpc/rpc_thread.c: Likewise.
69890         * sunrpc/rtime.c: Likewise.
69891         * sunrpc/svc.c: Likewise.
69892         * sunrpc/svc_auth.c: Likewise.
69893         * sunrpc/svc_raw.c: Likewise.
69894         * sunrpc/svc_run.c: Likewise.
69895         * sunrpc/svc_tcp.c: Likewise.
69896         * sunrpc/svc_udp.c: Likewise.
69897         * sunrpc/svc_unix.c: Likewise.
69898         * sunrpc/svcauth_des.c: Likewise.
69899         * sunrpc/xcrypt.c: Likewise.
69900         * sunrpc/xdr.c: Likewise.
69901         * sunrpc/xdr_array.c: Likewise.
69902         * sunrpc/xdr_float.c: Likewise.
69903         * sunrpc/xdr_intXX_t.c: Likewise.
69904         * sunrpc/xdr_mem.c: Likewise.
69905         * sunrpc/xdr_rec.c: Likewise.
69906         * sunrpc/xdr_ref.c: Likewise.
69907         * sunrpc/xdr_sizeof.c: Likewise.
69908         * sunrpc/xdr_stdio.c: Likewise.
69910 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69912         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
69913         change.  Update copyright years.
69915 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69917         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
69919 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
69920             Joseph Myers  <joseph@codesourcery.com>
69921             Paul Pluzhnikov  <ppluzhnikov@google.com>
69923         [BZ #14012]
69924         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
69925         requiring rpcgen.
69926         [cross-compiling] (extra-libs): Likewise.
69927         [cross-compiling] (extra-libs-others): Likewise.
69928         [cross-compiling] (librpcsvc-routines): Likewise.
69929         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
69930         [cross-compiling] (omit-deps): Likewise.
69931         (sunrpc-CPPFLAGS): New variable.
69932         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
69933         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
69934         (cross-rpcgen-objs): New variable.
69935         (extra-objs): Append $(cross-rpcgen-objs).
69936         ($(cross-rpcgen-objs)): New rule.
69937         ($(objpfx)cross-rpcgen): Likewise.
69938         (rpcgen-cmd): Define to use $(built-program-file).  Expand
69939         comment.
69940         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
69941         ($(objpfx)x%.stmp): Likewise.
69942         * sunrpc/proto.h [IS_IN_build] (_): Define.
69943         [IS_IN_build] (_libc_intl_domainname): Likewise.
69945 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69947         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
69948         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
69949         and R_X86_64_TPOFF64.
69951 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69953         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
69954         sysdeps/unix/sysv/syscalls.list.
69955         (stime): Likewise.
69956         (utime): Likewise.
69957         * sysdeps/unix/sysv/syscalls.list: Remove file.
69959 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
69961         [BZ #3440]
69962         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
69963         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
69964         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
69965         (__LC_IDENTIFICATION): Make these macros useful in #if
69966         expressions, as required by C99.
69968 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
69970         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
69971         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
69972         after this.
69974 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
69976         * stdlib/longlong.h: Updated from GCC.
69978 2012-05-09  Andreas Jaeger  <aj@suse.de>
69980         * nscd/nscd.c (run_modes): Make named enum, reorder so that
69981         default is first entry.
69982         (run_mode): Set type.
69983         (main): Remove informal message about syslog.
69984         (options): Fix typo.
69986         [BZ #14053]
69987         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
69988         to asm.
69989         (lrint): Likewise.
69990         (llrintf): Likewise.
69991         (llrint): Likewise.
69992         (rint): Likewise.
69993         (rintf): Likewise.
69994         (nearbyint): Likewise.
69995         (nearbyintf): Likewise.
69997 2012-05-09  Andreas Jaeger  <aj@suse.de>
69998             Pedro Alves  <palves@redhat.com>
70000         * nscd/nscd.c (run_mode): Use enum.
70001         (main): Cleanup coding style issue.
70003 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
70004             Andreas Jaeger  <aj@suse.de>
70006         * nscd/nscd.c (go_background): Replaced with...
70007         (run_mode): ... this.
70008         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
70009         (options): Add -F --foreground.
70010         (main): Implement it.
70011         (parse_opt): Parse it.
70013 2012-05-09  Andreas Jaeger  <aj@suse.de>
70015         [BZ #14083]
70016         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
70017         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
70018         -Wconversion warning.
70019         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
70020         Likewise.
70022 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
70024         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
70025         == 0.
70026         (LC_ALL): Use macro-int-constant.
70027         (LC_COLLATE): Likewise.
70028         (LC_CTYPE): Likewise.
70029         (LC_MESSAGES): Likewise.
70030         (LC_MONETARY): Likewise.
70031         (LC_NUMERIC): Likewise.
70032         (LC_TIME): Likewise.
70033         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
70034         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70035         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70036         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
70037         Specify type.
70038         [C99-based standards] (float_t): Expect type.
70039         [C99-based standards] (double_t): Expect type.
70040         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
70041         type.
70042         [C99-based standards] (HUGE_VALL): Likewise.
70043         [C99-based standards] (INFINITY): Likewise.
70044         [C99-based standards] (NAN): Likewise.
70045         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
70046         [C99-based standards] (FP_NAN): Likewise.
70047         [C99-based standards] (FP_NORMAL): Likewise.
70048         [C99-based standards] (FP_SUBNORMAL): Likewise.
70049         [C99-based standards] (FP_ZERO): Likewise.
70050         [C99-based standards] (FP_FAST_FMA): Use
70051         optional-macro-int-constant.  Specify type.  Require == 1.
70052         [C99-based standards] (FP_FAST_FMAF): Likewise.
70053         [C99-based standards] (FP_FAST_FMAL): Likewise.
70054         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
70055         [C99-based standards] (FP_ILOGBNAN): Likewise.
70056         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
70057         Specify type.
70058         [C99-based standards] (MATH_ERREXCEPT): Likewise.
70059         [C99-based standards] (math_errhandling): Specify type.
70060         [ISO99 || ISO11] (signgam): Do not allow.
70061         [non-C99-based standards] (copysignf): Do not allow.
70062         [non-C99-based standards] (exp2f): Likewise.
70063         [non-C99-based standards] (log2f): Likewise.
70064         [non-C99-based standards] (modff): Allow.
70065         [non-C99-based standards] (erff): Do not allow.
70066         [non-C99-based standards] (erfcf): Likewise.
70067         [non-C99-based standards] (gammaf): Likewise.
70068         [non-C99-based standards] (hypotf): Likewise.
70069         [non-C99-based standards] (j0f): Likewise.
70070         [non-C99-based standards] (j1f): Likewise.
70071         [non-C99-based standards] (jnf): Likewise.
70072         [non-C99-based standards] (lgammaf): Likewise.
70073         [non-C99-based standards] (tgammaf): Likewise.
70074         [non-C99-based standards] (y0f): Likewise.
70075         [non-C99-based standards] (y1f): Likewise.
70076         [non-C99-based standards] (ynf): Likewise.
70077         [non-C99-based standards] (isnanf): Likewise.
70078         [non-C99-based standards] (acoshf): Likewise.
70079         [non-C99-based standards] (asinhf): Likewise.
70080         [non-C99-based standards] (atanhf): Likewise.
70081         [non-C99-based standards] (cbrtf): Likewise.
70082         [non-C99-based standards] (expm1f): Likewise.
70083         [non-C99-based standards] (ilogbf): Likewise.
70084         [non-C99-based standards] (log1pf): Likewise.
70085         [non-C99-based standards] (logbf): Likewise.
70086         [non-C99-based standards] (nextafterf): Likewise.
70087         [non-C99-based standards] (remainderf): Likewise.
70088         [non-C99-based standards] (rintf): Likewise.
70089         [non-C99-based standards] (scalbf): Likewise.
70090         [non-C99-based standards] (copysignl): Likewise.
70091         [non-C99-based standards] (exp2l): Likewise.
70092         [non-C99-based standards] (log2l): Likewise.
70093         [non-C99-based standards] (modfl): Allow.
70094         [non-C99-based standards] (erfl): Do not allow.
70095         [non-C99-based standards] (erfcl): Likewise.
70096         [non-C99-based standards] (gammal): Likewise.
70097         [non-C99-based standards] (hypotl): Likewise.
70098         [non-C99-based standards] (j0l): Likewise.
70099         [non-C99-based standards] (j1l): Likewise.
70100         [non-C99-based standards] (jnl): Likewise.
70101         [non-C99-based standards] (lgammal): Likewise.
70102         [non-C99-based standards] (tgammal): Likewise.
70103         [non-C99-based standards] (y0l): Likewise.
70104         [non-C99-based standards] (y1l): Likewise.
70105         [non-C99-based standards] (ynl): Likewise.
70106         [non-C99-based standards] (isnanl): Likewise.
70107         [non-C99-based standards] (acoshl): Likewise.
70108         [non-C99-based standards] (asinhl): Likewise.
70109         [non-C99-based standards] (atanhl): Likewise.
70110         [non-C99-based standards] (cbrtl): Likewise.
70111         [non-C99-based standards] (expm1l): Likewise.
70112         [non-C99-based standards] (ilogbl): Likewise.
70113         [non-C99-based standards] (log1pl): Likewise.
70114         [non-C99-based standards] (logbl): Likewise.
70115         [non-C99-based standards] (nextafterl): Likewise.
70116         [non-C99-based standards] (remainderl): Likewise.
70117         [non-C99-based standards] (rintl): Likewise.
70118         [non-C99-based standards] (scalbl): Likewise.
70119         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70120         [non-C99-based standards] (FP_*): Do not allow.
70121         [C99-based standards] (FP_*): Change to
70122         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70123         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70124         allow.
70125         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
70126         (SIG_ERR): Likewise.
70127         [X/Open-based standards] (SIG_HOLD): Likewise.
70128         (SIG_IGN): Likewise.
70129         (SIGABRT): Use macro-int-constant.  Specify type.  Require
70130         positive value.
70131         (SIGFPE): Likewise.
70132         (SIGILL): Likewise.
70133         (SIGINT): Likewise.
70134         (SIGSEGV): Likewise.
70135         (SIGTER): Likewise.
70136         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
70137         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
70138         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
70139         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
70140         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
70141         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
70142         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
70143         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
70144         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
70145         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
70146         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
70147         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
70148         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
70149         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
70150         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
70151         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
70152         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
70153         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
70154         [X/Open-based standards] (SIGTRAP): Likewise.
70155         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
70156         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
70157         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
70158         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
70159         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70160         allow.
70162 2012-05-08  Ian Wienand  <ianw@vmware.com>
70164         [BZ #14080]
70165         * time/tzset.c (__tzset_parse_tz): Update default rules for
70166         daylight time changes in the Energy Policy Act of 2005.
70168 2012-05-09  Andreas Jaeger  <aj@suse.de>
70170         [BZ #13983]
70171         * elf/ldconfig.c (parse_conf): Change string to make clear that
70172         ldconfig only issued a warning if ld.so.conf does not exist.
70174 2012-05-08  David S. Miller  <davem@davemloft.net>
70176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
70177         movxtod instead of popping the value on the stack.
70179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70181 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
70183         * config.h.in: Add HAVE_ARM_PCS_VFP.
70185 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
70187         [BZ #13979]
70188         * include/features.h: Warn if user requests __FORTIFY_SOURCE
70189         checking but the checks are disabled for any reason.
70191 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
70193         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
70194         and ELF64_R_TYPE with ELFW(R_TYPE).
70196 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
70198         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
70199         (ulimit): Likewise.
70201         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
70202         (settimeofday): Likewise.
70204 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
70206         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
70207         a struct th_u2 inside the union, and move tu_block/tu_code into
70208         a new th_u3 union of tu_block/tu_code inside of that.  Move
70209         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
70210         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
70211         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
70212         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
70213         (th_stuff): Change to th_u1.tu_stuff.
70214         (th_data): Define.
70215         (th_msg): Change to th_u1.th_u2.tu_data.
70217 2012-05-07  David S. Miller  <davem@davemloft.net>
70219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70221         [BZ #14074]
70222         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
70223         (SETUP_PIC_REG): Use it.
70224         (SETUP_PIC_REG_LEAF): Use it.
70226 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
70228         [BZ #13885]
70229         [BZ #13923]
70230         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70231         USE_AS_EXPM1L.
70232         (EXPL_FINITE): Likewise.
70233         (FLDLOG): Likewise.
70234         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70235         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70236         e_expl.S.
70237         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70238         USE_AS_EXPM1L.
70239         (EXPL_FINITE): Likewise.
70240         (FLDLOG): Likewise.
70241         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70242         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70243         e_expl.S.
70244         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
70245         test of -max_value argument for long double.
70246         * sysdeps/i386/fpu/libm-test-ulps: Update.
70247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70249 2012-05-06  David S. Miller  <davem@davemloft.net>
70251         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
70252         quad soft-float symbols whose references which are compiler
70253         generated.
70254         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70256 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
70258         [BZ #13884]
70259         [BZ #13914]
70260         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70261         USE_AS_EXP10L.
70262         (EXPL_FINITE): Likewise.
70263         (FLDLOG): Likewise.
70264         (c0): Likewise.
70265         (c1): Likewise.
70266         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70267         Adjust comments for base varying.
70268         (__expl_finite): Change alias to EXPL_FINITE.
70269         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
70270         e_expl.S.
70271         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
70272         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
70273         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
70274         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
70275         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70276         USE_AS_EXP10L.
70277         (EXPL_FINITE): Likewise.
70278         (FLDLOG): Likewise.
70279         (c0): Likewise.
70280         (c1): Likewise.
70281         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70282         Adjust comments for base varying.
70283         (__expl_finite): Change alias to EXPL_FINITE.
70284         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
70285         tests for bugs.
70286         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70288         [BZ #14064]
70289         * math/libm-test.inc (check_float_internal): Correct ulp
70290         calculation for subnormal expected results.
70292 2012-05-06  Andreas Jaeger  <aj@suse.de>
70294         * Makeconfig (+math-flags): New, set to -frounding-math.
70295         (+cflags): Add +math-flags so that all of glibc gets compiled with
70296         it.
70298         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
70300 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
70302         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
70303         Disable one test.
70305         [BZ #13787]
70306         [BZ #13922]
70307         [BZ #14036]
70308         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
70309         (__ieee754_expl): Allow for and saturate large arguments.
70310         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
70311         (u_threshold): Likewise.
70312         (__exp): Call __ieee754_exp before checking for overflow and
70313         underflow.
70314         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
70315         (u_threshold): Likewise.
70316         (__expf): Call __ieee754_expf before checking for overflow and
70317         underflow.
70318         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
70319         (u_threshold): Likewise.
70320         (__expl): Call __ieee754_expl before checking for overflow and
70321         underflow.
70322         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
70323         (__ieee754_expl): Allow for and saturate large arguments.
70324         * math/libm-test.inc (exp_test): Add another test.  Do not allow
70325         missing overflow exception on overflow.
70326         (expm1_test): Do not allow missing overflow exception on overflow.
70328         * sysdeps/i386/fpu/e_expl.c: Move to ...
70329         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
70330         rather than using inline asm.
70331         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
70332         * sysdeps/x86_64/fpu/e_expl.S: Copy from
70333         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
70335         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
70336         (nice): Likewise.
70337         (poll): Likewise.
70338         (signal): Likewise.
70339         (time): Likewise.
70340         (times): Likewise.
70342 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70344         * sysdeps/unix/syscalls.list (adjtime): Add entry from
70345         sysdeps/unix/common/syscalls.list.
70346         (fchmod): Likewise.
70347         (fchown): Likewise.
70348         (ftruncate): Likewise.
70349         (getrusage): Likewise.
70350         (gettimeofday): Likewise.
70351         (setpgid): Likewise.
70352         (setregid): Likewise.
70353         (setreuid): Likewise.
70354         (sigaction): Likewise.
70355         (truncate): Likewise.
70356         (vhangup): Likewise.
70357         * sysdeps/unix/common/syscalls.list: Remove file.
70358         * sysdeps/unix/bsd/Implies: Don't include unix/common.
70359         * sysdeps/unix/sysv/linux/Implies: Likewise.
70361 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
70363         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
70364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
70365         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
70366         Moved to ...
70367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
70368         Here.
70369         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
70370         to ...
70371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70372         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
70373         to ...
70374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
70375         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
70376         to ...
70377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
70378         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
70379         to ...
70380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
70381         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
70382         to ...
70383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
70384         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
70385         to ...
70386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
70387         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
70388         to ...
70389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
70390         Here.
70391         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
70392         to ...
70393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70394         Here.
70395         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70396         to ...
70397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70398         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70399         Moved to ...
70400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70401         Here.
70402         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70403         to ...
70404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70406 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70408         * sysdeps/unix/common/bits/dirent.h: Remove file.
70409         * sysdeps/unix/common/bits/fcntl.h: Likewise.
70411         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70412         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70413         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70414         * sysdeps/unix/bsd/isatty.c: Likewise.
70415         * sysdeps/unix/bsd/tcdrain.c: Likewise.
70416         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70417         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
70419 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70421         [BZ #13563]
70422         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
70423         long double comparison inaccuracies.
70424         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70427 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
70429         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
70430         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70432 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70434         [BZ #14049]
70435         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
70436         nonzero digits before rounding a hex value.
70437         * stdlib/tst-strtod.c (tests): Add another test.
70439 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70441         * sysdeps/s390/fpu/libm-test-ulps: Update.
70443 2012-05-03  Andreas Jaeger  <aj@suse.de>
70445         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
70446         does not get optimized out.
70447         (malloc_opt_barrier): New.
70449 2012-05-03  Andreas Jaeger  <aj@suse.de>
70450             Roland McGrath  <roland@hack.frob.com>
70452         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
70453         intermediate file deletion.
70454         (generated): Add .symlist files.
70456 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
70458         [BZ #13775]
70459         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70460         Redirect under this condition.
70461         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70462         [__USE_GNU] (__dprintf_chk): Not under this condition.
70463         [__USE_GNU] (__vdprintf_chk): Likewise.
70464         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
70465         under this condition.
70466         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70467         [__USE_XOPEN2K8] (dprintf): Define under this condition.
70468         [__USE_XOPEN2K8] (vdprintf): Likewise.
70469         [__USE_GNU] (__dprintf_chk): Not under this condition.
70470         [__USE_GNU] (__vdprintf_chk): Likewise.
70471         [__USE_GNU] (dprintf): Likewise.
70472         [__USE_GNU] (vdprintf): Likewise.
70474 2012-05-03  Roland McGrath  <roland@hack.frob.com>
70476         * elf/Makefile (common-generated): Set this instead of generated for
70477         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
70478         $(all-built-dso)-derived lists.
70480 2012-05-03  Andreas Jaeger  <aj@suse.de>
70482         * sysdeps/i386/fpu/libm-test-ulps: Update.
70484         * FAQ: Removed.
70485         * FAQ.in: Likewise.
70486         * scripts/gen-FAQ.pl: Likewise.
70487         * manual/install.texi (Installation): Point to online location of
70488         FAQ.
70489         * Makefile (files-for-dist): Remove FAQ.
70490         (FAQ): Remove.
70492 2012-05-02  Allan McRae  <allan@archlinux.org>
70494         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
70495         (LDFLAGS-reldepmod5.so): Likewise.
70496         (LDFLAGS-reldep6mod1.so): Likewise.
70497         (LDFLAGS-reldep6mod4.so): Likewise.
70498         (LDFLAGS-reldep8mod3.so): Likewise.
70499         (LDFLAGS-unload4mod1.so): Likewise.
70500         (LDFLAGS-unload4mod2.so): Likewise.
70501         (LDFLAGS-tst-initorder): Likewise.
70502         (LDFLAGS-tst-initordera2.so): Likewise.
70503         (LDFLAGS-tst-initordera3.so): Likewise.
70504         (LDFLAGS-tst-initordera4.so): Likewise.
70505         (LDFLAGS-tst-initorderb2.so): Likewise.
70506         (LDFLAGS-noload): Likewise.
70507         (LDFLAGS-next): Likewise.
70508         (LDFLAGS-order2mod1.so): Likewise.
70509         (LDFLAGS-order2mod2.so): Likewise.
70510         (LDFLAGS-tst-initorder2): Likewise.
70511         (LDFLAGS-tst-initorder2a.so): Likewise.
70512         (LDFLAGS-tst-initorder2b.so): Likewise.
70513         (LDFLAGS-tst-initorder2c.so): Likewise.
70514         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
70516 2012-05-02  David S. Miller  <davem@davemloft.net>
70518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70520 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
70522         [BZ #14055]
70523         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
70525 2012-05-02  Andreas Jaeger  <aj@suse.de>
70527         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
70528         since we manipulate rounding mode.
70529         (CPPFLAGS-test-idouble.c): Likewise.
70530         (CPPFLAGS-test-ifloat.c): Likewise.
70531         (CFLAGS-test-ldouble.c): Likewise.
70532         (CFLAGS-test-double.c): Likewise.
70533         (CFLAGS-test-float.c): Likewise.
70534         (CFLAGS-test-misc.c): Likewise.
70535         (CFLAGS-test-test-fenv.c): Likewise.
70537 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70539         [BZ #2550]
70540         [BZ #2570]
70541         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
70542         comparisons to determine direction to adjust input.
70544 2012-05-01  Roland McGrath  <roland@hack.frob.com>
70546         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
70547         output to the target.
70549         * scripts/localplt.awk: New file.
70550         * elf/Makefile ($(objpfx)check-localplt): Target removed.
70551         (check-localplt-CFLAGS): Variable removed.
70552         ($(all-built-dso:=.jmprel)): New static pattern rule.
70553         (generated): Add those targets.
70554         (localplt-built-dso): New variable.
70555         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
70557         * elf/check-localplt.c: File removed.
70559         * scripts/check-execstack.awk: New file.
70560         * elf/Makefile ($(objpfx)check-execstack): Target removed.
70561         (check-execstack-CFLAGS): Variable removed.
70562         ($(objpfx)check-execstack.h): Target removed.
70563         ($(objpfx)execstack-default): New target.
70564         (generated): Add that instead of check-execstack.h.
70565         ($(all-built-dso:=.phdr)): New static pattern rule.
70566         (generated): Add those targets.
70567         * elf/check-execstack.c: File removed.
70569         * scripts/check-textrel.awk: New file.
70570         * elf/Makefile ($(objpfx)check-textrel): Target removed.
70571         (check-textrel-CFLAGS): Variable removed.
70572         (all-built-dso): Use := to define.o
70573         ($(all-built-dso:=.dyn)): New static pattern rule.
70574         (generated): Add those targets.
70575         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
70576         * config.make.in (READELF): New substituted variable.
70577         * elf/check-textrel.c: File removed.
70579 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70581         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70582         allow.
70583         * conform/data/ctype.h-data [C99-based standards] (isblank):
70584         Expect function.
70585         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
70586         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
70587         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70588         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70589         Specify type.  Require positive value.
70590         (EILSEQ): Likewise.
70591         (ERANGE): Likewise.
70592         [ISO || POSIX] (EILSEQ): Do not expect.
70593         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70594         Specify type.  Require positive value.
70595         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
70596         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
70597         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
70598         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
70599         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
70600         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
70601         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
70602         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
70603         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
70604         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
70605         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70606         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
70607         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
70608         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
70609         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
70610         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
70611         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
70612         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
70613         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
70614         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
70615         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
70616         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
70617         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
70618         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
70619         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
70620         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
70621         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
70622         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
70623         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
70624         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
70625         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
70626         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
70627         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
70628         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
70629         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
70630         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
70631         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
70632         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
70633         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
70634         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
70635         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
70636         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
70637         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
70638         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
70639         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
70640         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
70641         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
70642         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
70643         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
70644         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
70645         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
70646         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
70647         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
70648         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
70649         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
70650         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
70651         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
70652         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
70653         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
70654         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
70655         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
70656         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
70657         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
70658         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
70659         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
70660         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
70661         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
70662         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
70663         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
70664         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
70665         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
70666         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
70667         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
70668         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
70669         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
70670         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
70671         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
70672         Require >= 2.
70673         (FLT_ROUNDS): Expect as macro, not constant.
70674         (FLT_MANT_DIG): Use macro-int-constant.
70675         (DBL_MANT_DIG): Likewise.
70676         (LDBL_MANT_DIG): Likewise.
70677         (FLT_DIG): Likewise.
70678         (DBL_DIG): Likewise.
70679         (LDBL_DIG): Likewise.
70680         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
70681         (DBL_MIN_EXP): Likewise.
70682         (LDBL_MIN_EXP): Likewise.
70683         (FLT_MAX_EXP): Use macro-int-constant.
70684         (DBL_MAX_EXP): Likewise.
70685         (LDBL_MAX_EXP): Likewise.
70686         (FLT_MAX_10_EXP): Likewise.
70687         (DBL_MAX_10_EXP): Likewise.
70688         (LDBL_MAX_10_EXP): Likewise.
70689         (FLT_MAX): Use macro-constant.
70690         (DBL_MAX): Likewise.
70691         (LDBL_MAX): Likewise.
70692         (FLT_EPSILON): Use macro-constant.  Give upper bound.
70693         (DBL_EPSILON): Likewise.
70694         (LDBL_EPSILON): Likewise.
70695         (FLT_MIN): Likewise.
70696         (DBL_MIN): Likewise.
70697         (LDBL_MIN): Likewise.
70698         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
70699         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
70700         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
70701         [ISO11] (FLT_HAS_SUBNORM): Likewise.
70702         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
70703         [ISO11] (DBL_DECIMAL_DIG): Likewise.
70704         [ISO11] (FLT_DECIMAL_DIG): Likewise.
70705         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
70706         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
70707         [ISO11] (FLT_TRUE_MIN): Likewise.
70708         [ISO11] (LDBL_TRUE_MIN): Likewise.
70709         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70710         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
70711         (SCHAR_MIN): Use macro-int-constant.  Specify type.
70712         (SCHAR_MAX): Likewise.
70713         (UCHAR_MAX): Likewise.
70714         (CHAR_MIN): Likewise.
70715         (CHAR_MAX): Likewise.
70716         (MB_LEN_MAX): Use macro-int-constant.
70717         (SHRT_MIN): Use macro-int-constant.  Specify type.
70718         (SHRT_MAX): Likewise.
70719         (USHRT_MAX): Likewise.
70720         (INT_MAX): Likewise.
70721         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
70722         bound negative.
70723         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70724         bound with "U".
70725         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70726         bound with "L".
70727         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
70728         bound negative.  Suffix upper bound with "L".
70729         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70730         bound with "UL".
70731         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
70732         Specify type.
70733         [C99-based standards] (LLONG_MAX): Likewise.
70734         [C99-based standards] (ULLONG_MAX): Likewise.
70735         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
70736         == 0.
70737         [ISO11] (max_align_t): Require type.
70738         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70740         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
70741         from $CFLAGS, without defining away __attribute__ calls.
70742         (checknamespace): Use $CFLAGS_namespace.
70744         * conform/conformtest.pl (@keywords): Only include C99 keywords
70745         for standards based on C99 or C11.
70747         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
70748         Disable tests.
70749         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
70750         UNIX98]: Likewise.
70752         * conform/conformtest.pl: Handle "macro-int-constant" and test for
70753         usability of symbols in #if.
70755         * conform/conformtest.pl: If macro or constant types start
70756         "promoted:", expect the symbol to be of the following type
70757         promoted by the integer promotions.
70759         * conform/conformtest.pl: Parse all "constant" and "macro" lines
70760         in one place.  Also handle "macro-constant".
70762         * conform/conformtest.pl: Only accept expected macro values with
70763         "==".  Parse all "macro" lines in one place.
70764         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70766         * conform/conformtest.pl: Handle braced types on "constant" lines
70767         instead of handling "typed-constant".
70768         * conform/data/signal.h-data: Use "constant" instead of
70769         "typed-constant".
70771         * conform/conformtest.pl: Handle "optional-" at start of lines in
70772         one place rather than duplicating several cases.  Handle each
70773         format of "macro" line with initial "optional-".
70775         * conform/conformtest.pl: Only accept expected constant or
70776         optional-constant values with "==".  Parse all "constant" lines in
70777         one place.  Parse all "optional-constant" lines in one place.
70778         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70779         * conform/data/fmtmsg.h-data: Likewise.
70780         * conform/data/netinet/in.h-data: Likewise.
70781         * conform/data/tar.h-data: Likewise.
70782         * conform/data/limits.h-data: Use "==" form on "constant" and
70783         "optional-constant" lines.
70785         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70786         Use -std=c99 for XOPEN2K.
70787         (@knownproblems): Remove.
70788         (newtoken): Don't check %isknown.
70790         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70791         Do not expect macro.
70792         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70793         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70794         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70795         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70796         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70797         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70798         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70799         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70800         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70801         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70802         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70803         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70804         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70805         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70806         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70807         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70808         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70809         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70810         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70811         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70812         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70813         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70814         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70815         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70816         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70817         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70818         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70819         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70820         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70821         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70822         [XPG3] (acosh): Likewise.
70823         [XPG3] (asinh): Likewise.
70824         [XPG3] (atanh): Likewise.
70825         [XPG3] (cbrt): Likewise.
70826         [XPG3] (expm1): Likewise.
70827         [XPG3] (ilogb): Likewise.
70828         [XPG3] (log1p): Likewise.
70829         [XPG3] (logb): Likewise.
70830         [XPG3] (nextafter): Likewise.
70831         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70832         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70833         [XPG3] (remainder): Likewise.
70834         [XPG3] (rint): Likewise.
70835         [XPG3 || XPG4 || UNIX98] (round): Likewise.
70836         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
70837         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70838         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
70839         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
70840         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
70841         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70842         [UNIX98 || XOPEN2K] (scalb): Expect.
70843         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
70844         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
70845         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
70846         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
70847         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
70848         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
70849         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
70850         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
70851         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
70852         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
70853         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
70854         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
70855         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
70856         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
70857         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
70858         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
70859         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
70860         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
70861         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
70862         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
70863         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
70864         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70865         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70866         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70867         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70868         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70869         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70870         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70871         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70872         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70873         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70874         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70875         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70876         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70877         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70878         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70879         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70880         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70881         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70882         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70883         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70884         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70885         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70886         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70887         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70888         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70889         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70890         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70891         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70892         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70893         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70894         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70895         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70896         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70897         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
70898         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
70899         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
70900         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
70901         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
70902         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
70903         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
70904         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
70905         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
70906         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
70907         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
70908         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
70909         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
70910         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
70911         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
70912         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
70913         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
70914         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
70915         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
70916         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
70917         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
70918         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
70919         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
70920         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
70921         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
70922         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
70923         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
70924         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
70925         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
70926         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
70927         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
70928         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
70929         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
70930         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
70931         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
70932         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
70933         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
70934         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
70935         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
70936         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
70937         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
70938         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
70939         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
70940         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
70941         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
70942         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
70943         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
70944         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
70945         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
70946         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
70947         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
70948         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
70949         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
70950         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
70951         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
70952         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
70953         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
70954         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
70955         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
70956         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
70957         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
70958         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
70959         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
70960         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
70961         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
70962         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
70963         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
70964         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
70965         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
70966         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
70967         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
70968         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
70969         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
70970         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
70971         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
70972         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
70973         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
70974         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
70975         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
70976         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
70977         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
70978         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
70979         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
70981         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
70982         _XOPEN_SOURCE_EXTENDED for XPG4.
70984         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
70986         * Makeconfig (localtime): Remove variable.
70987         (inst_localtime-file): Likewise.
70989 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
70992         Update.
70993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70994         Update.
70995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
70996         Update.
70997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
70998         Update.
70999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
71000         Update.
71001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
71002         Update.
71003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71004         Update.
71005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
71006         Update.
71007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71008         Update.
71010 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
71012         [BZ #2550]
71013         [BZ #2570]
71014         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
71015         comparisons to determine direction to adjust input.
71016         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
71017         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
71018         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
71019         Likewise.
71020         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
71021         Likewise.
71022         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
71023         Likewise.
71024         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
71025         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
71026         Likewise.
71027         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
71028         Likewise.
71029         * math/libm-test.inc (nexttoward_test): Add more tests.
71031 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71033         [BZ #14040]
71034         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
71035         in version GLIBC_2.1, not GLIBC_2.0.
71036         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
71037         Likewise.
71039 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
71041         [BZ #13942]
71042         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
71043         (1 - x) * (1 + x).
71044         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71045         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
71046         * math/libm-test.inc (acos_test): Add more tests.
71047         (asin_test): Likewise.
71048         * sysdeps/i386/fpu/libm-test-ulps: Update.
71049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71051         [BZ #14034]
71052         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
71053         of square root.
71054         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
71055         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71056         * math/libm-test.inc (acos_test_tonearest): New function.
71057         (acos_test_towardzero): Likewise.
71058         (acos_test_downward): Likewise.
71059         (acos_test_upward): Likewise.
71060         (asin_test_tonearest): Likewise.
71061         (asin_test_towardzero): Likewise.
71062         (asin_test_downward): Likewise.
71063         (asin_test_upward): Likewise.
71064         (main): Call the new functions.
71065         * sysdeps/i386/fpu/libm-test-ulps: Update.
71066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71068         [BZ #13884]
71069         [BZ #13924]
71070         * math/e_exp10.c: Include <float.h>.
71071         (__ieee754_exp10): Handle underflow here rather than multiplying
71072         large negative argument by M_LN10.
71073         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
71074         of __ieee754_expf.
71075         * math/e_exp10l.c: Include <float.h>.
71076         (__ieee754_exp10l): Handle underflow here rather than multiplying
71077         large negative argument by M_LN10l.
71078         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
71079         spurious overflow exception on underflow.
71081 2012-04-29  Marek Polacek  <polacek@redhat.com>
71083         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
71084         (__fortify_function): New macro.
71085         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
71086         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
71087         __extern_always_inline.
71088         * libio/bits/stdio2.h: Likewise.
71089         * libio/bits/stdio.h: Likewise.
71090         * string/string.h: Likewise.
71091         * string/bits/string3.h: Likewise.
71092         * include/stdio.h: Likewise.
71093         * stdlib/bits/stdlib.h: Likewise.
71094         * stdlib/stdlib.h: Likewise.
71095         * rt/bits/mqueue2.h: Likewise.
71096         * rt/mqueue.h: Likewise.
71097         * posix/bits/unistd.h: Likewise.
71098         * posix/unistd.h: Likewise.
71099         * io/bits/poll2.h: Likewise.
71100         * io/bits/fcntl2.h: Likewise.
71101         * io/fcntl.h: Likewise.
71102         * io/sys/poll.h: Likewise.
71103         * misc/bits/syslog.h: Likewise.
71104         * misc/bits/syslog-ldbl.h: Likewise.
71105         * misc/sys/syslog.h: Likewise.
71106         * socket/bits/socket2.h: Likewise.
71107         * socket/sys/socket.h: Likewise.
71108         * debug/tst-chk1.c: Likewise.
71109         * wcsmbs/bits/wchar2.h: Likewise.
71110         * wcsmbs/bits/wchar-ldbl.h: Likewise.
71111         * wcsmbs/wchar.h: Likewise.
71113 2012-04-29  Andreas Jaeger  <aj@suse.de>
71115         * Makerules (tests): Remove enable-check-abi protection.
71116         (check-abi-warn): Remove.
71117         (check-abi-%): Remove check-abi-warn usage.
71119         * configure.in: Remove check-abi configure option.
71120         * configure: Regenerated.
71121         * config.make.in (enable-check-abi): Remove.
71123 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
71125         [BZ #14033]
71126         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
71127         double functions to double *_finite functions.
71129         [BZ #13941]
71130         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
71131         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
71132         LDBL_MIN_EXP.
71133         * stdio-common/Makefile (tests): Add tst-sprintf3.
71134         * stdio-common/tst-sprintf3.c: New file.
71136         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
71137         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
71139 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71141         * conform/conformtest.pl: Remove duplicate typed-constant
71142         handling.
71144 2012-04-28  David S. Miller  <davem@davemloft.net>
71146         * Makerules (%.abilist): Add vpath on sysdep_dirs.
71147         (check-abi-%): Remove AWK script prerequisite and explicit
71148         abilist directory.
71149         (check-abi): Rewrite to just diff the symlist with the abilist.
71150         (config-tls, config-abi-config): Delete, no longer used.
71151         (update-abi-%): Remove AWK script and explicit abilist directory.
71152         (update-abi): Rewrite to simply compare and conditionally copy the
71153         symlist and the sysdep abilist file.  Remove update-abi-config
71154         checks.
71155         * abilist/ld.abilist: Remove.
71156         * abilist/libBrokenLocale.abilist: Remove.
71157         * abilist/libanl.abilist: Remove.
71158         * abilist/libcrypt.abilist: Remove.
71159         * abilist/libdl.abilist: Remove.
71160         * abilist/librt.abilist: Remove.
71161         * abilist/libthread_db.abilist: Remove.
71162         * abilist/libutil.abilist: Remove.
71163         * scripts/extract-abilist.awk: Remove.
71164         * scripts/merge-abilist.awk: Remove.
71165         * sysdeps/generic/libcidn.abilist: New file.
71166         * sysdeps/generic/libnss_compat.abilist: New file.
71167         * sysdeps/generic/libnss_db.abilist: New file.
71168         * sysdeps/generic/libnss_dns.abilist: New file.
71169         * sysdeps/generic/libnss_files.abilist: New file.
71170         * sysdeps/generic/libnss_hesiod.abilist: New file.
71171         * sysdeps/generic/libnss_nis.abilist: New file.
71172         * sysdeps/generic/libnss_nisplus.abilist: New file.
71173         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
71174         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
71175         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
71176         file.
71177         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
71178         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
71179         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
71180         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
71181         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
71182         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
71183         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
71184         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
71185         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
71186         file.
71187         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
71188         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
71189         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
71190         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
71191         file.
71192         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
71193         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
71194         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
71195         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
71196         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
71197         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
71198         file.
71199         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
71200         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
71201         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
71202         file.
71203         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
71204         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
71205         New file.
71206         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
71207         New file.
71208         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
71209         New file.
71210         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
71211         New file.
71212         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
71213         New file.
71214         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
71215         New file.
71216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
71217         New file.
71218         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
71219         New file.
71220         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
71221         New file.
71222         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
71223         New file.
71224         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
71225         New file.
71226         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
71227         New file.
71228         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
71229         New file.
71230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
71231         file.
71232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
71233         New file.
71234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
71235         New file.
71236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
71237         file.
71238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
71239         New file.
71240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
71241         New file.
71242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
71243         file.
71244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
71245         New file.
71246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71247         New file.
71248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
71249         New file.
71250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
71251         New file.
71252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
71253         New file.
71254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
71255         New file.
71256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
71257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
71258         file.
71259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
71260         New file.
71261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
71262         file.
71263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
71264         file.
71265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
71266         file.
71267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
71268         file.
71269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
71270         file.
71271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71272         New file.
71273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
71274         file.
71275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
71276         file.
71277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
71278         New file.
71279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
71280         file.
71281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
71282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
71283         file.
71284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71285         New file.
71286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
71287         file.
71288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
71289         file.
71290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
71291         file.
71292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
71293         file.
71294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
71295         file.
71296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71297         New file.
71298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
71299         file.
71300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
71301         file.
71302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
71303         New file.
71304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
71305         file.
71306         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71307         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
71308         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
71309         file.
71310         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
71311         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
71312         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
71313         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
71314         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
71315         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
71316         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
71317         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
71318         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
71319         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
71320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
71321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
71322         file.
71323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
71324         New file.
71325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
71326         file.
71327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
71328         file.
71329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
71330         file.
71331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
71332         file.
71333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
71334         file.
71335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
71336         New file.
71337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
71338         New file.
71339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
71340         file.
71341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
71342         New file.
71343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
71344         file.
71345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
71346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
71347         file.
71348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
71349         New file.
71350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
71351         file.
71352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
71353         file.
71354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
71355         file.
71356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
71357         file.
71358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
71359         file.
71360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
71361         New file.
71362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
71363         New file.
71364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
71365         file.
71366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
71367         New file.
71368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
71369         file.
71371 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71373         * conform/conformtest.pl: Fix typo in handling typed-constant from
71374         allow-header.
71376 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71378         * README: Cut down references to pre-2.6 Linux kernels and
71379         Linuxthreads.  Update lists of configurations in libc and ports
71380         and sort alphabetically.  Say "or newer" with Linux kernel version
71381         requirements.
71383         * config.h.in [IS_IN_build]: Allow compiling without optimization.
71385 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71387         [BZ #887]
71388         * math/libm-test.inc (logb_test_downward): New test to expose
71389         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
71390         rounding mode.
71392 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71394         [BZ #14027]
71395         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71396         to be done.
71397         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71398         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71400 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
71402         * sysdeps/unix/i386/brk.S: Remove file.
71403         * sysdeps/unix/i386/dl-brk.S: Likewise.
71404         * sysdeps/unix/i386/pipe.S: Likewise.
71405         * sysdeps/unix/i386/sigreturn.S: Likewise.
71406         * sysdeps/unix/i386/syscall.S: Likewise.
71407         * sysdeps/unix/i386/vfork.S: Likewise.
71408         * sysdeps/unix/i386/wait.S: Likewise.
71410         * sysdeps/unix/common/tcsendbrk.c: Move to ...
71411         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71413         * configure.in (arm*-none*): Do not allow without
71414         --enable-hacker-mode.
71415         (netbsd*): Remove case setting base_os.
71416         (386bsd*): Likewise.
71417         (freebsd*): Likewise.
71418         (bsdi*): Likewise.
71419         (osf*): Likewise.
71420         (sunos*): Likewise.
71421         (ultrix*): Likewise.
71422         (newsos*): Likewise.
71423         (dynix*): Likewise.
71424         (*bsd*): Likewise.
71425         (sysv*): Likewise.
71426         (isc*): Likewise.
71427         (esix*): Likewise.
71428         (sco*): Likewise.
71429         (minix*): Likewise.
71430         (irix4*): Likewise.
71431         (irix6*): Likewise.
71432         (solaris[2-9]*): Likewise.
71433         (none): Likewise.
71434         * configure: Regenerated.
71436 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71438         [BZ #11521]
71439         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
71440         overflow or cancellation in calculating denominator.
71441         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
71442         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
71443         down expression to avoid unexpected rounding in newer GCCs.
71444         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
71446 2012-04-26  David S. Miller  <davem@davemloft.net>
71448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
71449         long-double compat symbols.
71450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
71454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
71456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
71457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
71458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
71459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
71460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
71461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71464 2012-04-25  David S. Miller  <davem@davemloft.net>
71466         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
71467         HWCAP_* values only after the memory barriers have been defined.
71468         (atomic_full_barrier): Define.
71469         (atomic_read_barrier): Define.
71470         (atomic_write_barrier): Define.
71472 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71474         * shlib-versions: Add libgcc_s version information.
71475         * sysdeps/generic/libgcc_s.h: Remove.
71476         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
71477         libgcc_s.h.
71478         * sysdeps/gnu/unwind-resume.c: Likewise.
71479         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
71481 2012-04-25  David S. Miller  <davem@davemloft.net>
71483         * sysdeps/unix/sparc/brk.S: Delete.
71484         * sysdeps/unix/sparc/dl-brk.S: Delete.
71485         * sysdeps/unix/sparc/pipe.S: Delete.
71486         * sysdeps/unix/sparc/sysdep.S: Delete.
71487         * sysdeps/unix/sparc/sysdep.h: Delete.
71488         * sysdeps/unix/sparc/vfork.S: Delete.
71489         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
71490         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
71491         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
71492         (ret_ERRVAL, r0, r1, MOVE): Define.
71493         (JUMPTARGET): Remove.
71494         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
71495         sysdeps/unix/sparc/sysdep.h
71496         (ENTRY, END): Remove.
71497         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71499 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
71501         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
71502         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
71503         -DIS_IN_build.
71505         * timezone/README: Update upstream location and email address for
71506         tzcode and tzdata.
71507         * timezone/zdump.c: Update from tzcode 2012b.
71508         * timezone/zic.c: Likewise.
71510         * configure.in (libc_cv_as_needed): Remove test.
71511         * configure: Regenerated.
71512         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
71513         conditional definition.
71514         [$(have-as-needed) != yes] (no-as-needed): Likewise.
71515         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
71516         * config.make.in (have-as-needed): Remove variable.
71518 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71519             Paul Pluzhnikov  <ppluzhnikov@google.com>
71521         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
71522         strings correctly.
71524 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
71526         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
71527         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
71528         * sysdeps/sh/strlen.S: Likewise.
71530 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71532         * sysdeps/unix/fork.S: Remove file.
71533         * sysdeps/unix/i386/fork.S: Likewise.
71534         * sysdeps/unix/sparc/fork.S: Likewise.
71536         * sysdeps/unix/system.c: Remove file.
71537         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
71539         * sysdeps/unix/getegid.S: Remove file.
71540         * sysdeps/unix/geteuid.S: Likewise.
71542 2012-04-24  Roland McGrath  <roland@hack.frob.com>
71544         * scripts/check-localplt.awk: New file.
71545         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
71546         of diff.
71547         * scripts/data/localplt-generic.data: Add a comment.
71549         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
71550         NODE when __dir_mkfile failed.
71551         * sysdeps/mach/hurd/symlinkat.c: Likewise.
71552         Reported by Ludovic Courtès <ludo@gnu.org>.
71554 2012-04-24  Andreas Jaeger  <aj@suse.de>
71556         * Makerules (common-clean): Also remove gen-as-const-headers
71557         files.
71559 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71561         * Makerules (native-compile): Do not change working directory for
71562         build.  Use $(OUTPUT_OPTION) in command.
71563         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
71565 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71567         [BZ #13886]
71568         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
71569         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
71570         * math/libm-test.inc (floor_test): Add more tests.
71571         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
71573 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71575         * sysdeps/unix/getdents.c: Remove file.
71576         * sysdeps/unix/sysv/getdents.c: Likewise.
71577         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
71579         * sysdeps/unix/syscalls.list (madvise): Add syscall from
71580         sysdeps/unix/mman/syscalls.list.
71581         (mmap): Likewise.
71582         (mprotect): Likewise.
71583         (msync): Likewise.
71584         (munmap): Likewise.
71585         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
71586         * sysdeps/unix/mman/syscalls.list: Remove.
71587         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
71589         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
71590         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
71591         * configure: Regenerated.
71592         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
71593         $(libgcc_s_suffix).
71594         * config.make.in (libgcc_s_suffix): Remove variable.
71596 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
71598         * sysdeps/unix/sysv/gethostname.c: Move to ...
71599         * sysdeps/posix/gethostname.c: ... here.
71601         * sysdeps/unix/execve.S: Remove file.
71603         * sysdeps/unix/_exit.S: Remove file.
71605 2012-04-23  Andreas Jaeger  <aj@suse.de>
71607         [BZ #13739]
71608         * manual/Makefile: Remove make dist support, there's no
71609         need for a stand-alone documentation tar ball.
71610         (TEXI2DVI): Define always, it's not in Makeconfig.
71611         (dist): Removed.
71612         (tar-it): Removed.
71613         (edition): Removed.
71614         (glibc-doc-$(edition).tar): Removed
71615         (%.Z): Removed.
71616         (%.gz): Removed.
71617         (%.uu): Removed.
71618         (ETAGS): Remove, it's in Makeconfig.
71619         (move-if-change): Remove, it's in Makeconfig.
71621 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
71623         [BZ #13970]
71624         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
71625         (strtod, strtof, strtold, strtol, strtoul, strtoq)
71626         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
71627         (strtod_l, strtof_l, strtold_l): Remove __wur.
71628         It is not necessarily an error to ignore strtol's return value.
71629         One can reliably look at the stored endptr to decide whether
71630         the number had valid syntax.
71632 2012-04-21  Andreas Jaeger  <aj@suse.de>
71634         [BZ #13739]
71635         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
71637 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
71639         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
71640         * sysdeps/unix/sysv/Versions: Remove file.
71642 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
71644         [BZ #13927]
71645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71647 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
71649         [BZ #7064]
71650         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
71651         version from __vm86.
71653 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
71655         * sysdeps/unix/common/lxstat.c: Remove file.
71656         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
71658         * sysdeps/unix/sysv/Makefile: Remove file.
71660         * sysdeps/unix/sysv/direct.h: Remove file.
71662         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
71663         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
71664         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
71665         * sysdeps/unix/sysv/bits/signum.h: Likewise.
71666         * sysdeps/unix/sysv/bits/stat.h: Likewise.
71667         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
71668         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
71670         * sysdeps/unix/sysv/setrlimit.c: Remove file.
71672         * sysdeps/unix/xmknod.c: Remove file.
71673         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
71675         * sysdeps/unix/sysv/settimeofday.c: Remove file.
71677         * sysdeps/unix/sysv/i386/time.S: Remove file.
71679         * sysdeps/unix/fxstat.c: Remove file.
71680         * sysdeps/unix/xstat.c: Likewise.
71681         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
71683         * sysdeps/unix/sysv/sigaction.c: Remove file.
71685         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
71686         (sysdep_headers): Remove variable.
71687         [termio.h not in sysdep_headers] (generated): Likewise.
71688         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
71689         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
71690         * sysdeps/unix/sysv/tcdrain.c: Likewise.
71691         * sysdeps/unix/sysv/tcflow.c: Likewise.
71692         * sysdeps/unix/sysv/tcflush.c: Likewise.
71693         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
71694         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
71695         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
71696         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
71697         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
71699         * sysdeps/unix/siglist.c: Remove file.
71701         * sysdeps/unix/getppid.S: Remove file.
71703         * sysdeps/unix/mkdir.c: Remove file.
71704         * sysdeps/unix/rmdir.c: Likewise.
71706 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
71708         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
71709         ERR_MAX value.
71710         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
71711         errlist-compat value.
71713 2012-04-18  David S. Miller  <davem@davemloft.net>
71715         * sysdeps/generic/memcopy.h (reg_char): Delete.
71716         * debug/strcat_chk.c: Use char, not reg_char.
71717         * debug/strcpy_chk.c: Likewise.
71718         * debug/strncat_chk.c: Likewise.
71719         * debug/strncpy_chk.c: Likewise.
71720         * string/memchr.c: Likewise.
71721         * string/memrchr.c: Likewise.
71722         * string/rawmemchr.c: Likewise.
71723         * string/strcat.c: Likewise.
71724         * string/strchr.c: Likewise.
71725         * string/strchrnul.c: Likewise.
71726         * string/strcmp.c: Likewise.
71727         * string/strcpy.c: Likewise.
71728         * string/strncat.c: Likewise.
71729         * string/strncmp.c: Likewise.
71730         * string/strncpy.c: Likewise.
71732 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71734         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
71735         __builtin_memcopy is called when src and dest ranges are known to not
71736         overlap.
71738 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71740         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
71741         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
71742         fwd_align_merge macro call.
71743         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
71744         bwd_align_merge macro call.
71745         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71747 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71749         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
71750         bwd_align_merge macros.
71751         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
71752         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
71753         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71755 2012-04-18  David S. Miller  <davem@davemloft.net>
71757         * sysdeps/sparc/sparc64/memcopy.h: Delete.
71759 2012-04-18  Andreas Jaeger  <aj@suse.de>
71761         [BZ# 6794]
71762         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
71763         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
71764         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71766         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71767         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71768         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71770         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71771         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71772         Adjust for changed ldbl-128 files.
71774         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71775         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71776         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71778 2012-04-17  David S. Miller  <davem@davemloft.net>
71780         * sysdeps/sparc/sparc32/memcopy.h: Delete.
71782 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
71784         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71785         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71786         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71787         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71788         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71789         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71791 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71793         [BZ #6794]
71794         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71795         * math/libm-test.inc: Add ilogb errno and exception tests.
71796         * math/w_ilogb.c: New file: ilogb wrapper.
71797         * math/w_ilogbf.c: New file: ilogbf wrapper.
71798         * math/w_ilogbl.c: New file: ilogbl wrapper.
71799         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71800         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71801         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71802         exception being thrown with 0.0 as argument.
71803         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71804         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71805         exception being thrown with 0.0 as argument.
71806         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71807         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71808         exception being thrown with 0.0 as argument.
71809         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71810         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71811         exception being thrown with 0.0 as argument.
71812         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71813         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71814         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71815         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71816         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71817         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71818         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71819         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71820         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71822 2012-04-17  Petr Baudis  <pasky@ucw.cz>
71824         * include/sys/uio.h: Change __vector to __iovec to avoid clash
71825         with altivec.
71827 2012-04-16  Marek Polacek  <polacek@redhat.com>
71829         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71831 2012-04-16  Marek Polacek  <polacek@redhat.com>
71833         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71834         operands of fdivp instruction.
71836 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71838         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
71839         * elf/tst-auditmod3b.c: Likewise.
71840         * elf/tst-auditmod4b.c: Likewise.
71841         * elf/tst-auditmod5b.c: Likewise.
71842         * elf/tst-auditmod6b.c: Likewise.
71843         * elf/tst-auditmod6c.c: Likewise.
71844         * elf/tst-auditmod7b.c: Likewise.
71845         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
71846         * sysdeps/x86_64/preconfigure.in: Likewise.
71847         * sysdeps/x86_64/preconfigure: Regenerated.
71849 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71851         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
71852         __ILP32__.
71854 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
71856         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71857         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
71859 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
71861         [BZ #13973]
71862         * locale/iso-639.def: Fix gl language name. Spotted by
71863         Yaron Shahrabani.
71865 2012-04-12  Roland McGrath  <roland@hack.frob.com>
71867         [BZ #2074]
71868         * libio/libio.h (__io_write_fn): Update comment.
71870 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71872         [BZ #2074]
71873         * stdio.texi (Hook Functions): The user provided writer function
71874         is not allowed to return -1.
71876 2012-04-11  David S. Miller  <davem@davemloft.net>
71878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71880 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
71882         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71883         Add a leading slash to rtkaio.
71885 2012-04-11  Jim Meyering  <meyering@redhat.com>
71887         [BZ #11959]
71888         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71889         It is not necessarily an error to ignore fwrite's return
71890         value.  One can reliably use ferror to test for errors after
71891         the fact.
71893 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71895         * bits/types.h (__snseconds_t): New type.
71896         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
71898         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
71899         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71900         (__SNSECONDS_T_TYPE): Likewise.
71901         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71902         (__SNSECONDS_T_TYPE): Likewise.
71903         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71904         (__SNSECONDS_T_TYPE): Likewise.
71906 2012-04-10  Andreas Jaeger  <aj@suse.de>
71908         [BZ #2636]
71909         * manual/time.texi (Processor Time): Return type of times is
71910         elapsed real time since an arbitrary point in the past.
71911         (CPU Time): Move CLK_TCK from here...
71912         (Processor Time): ...to here.  Correct description.
71913         * manual/conf.texi (Constants for Sysconf): Correct description of
71914         _SC_CLK_TCK.
71916 2012-04-10  David S. Miller  <davem@davemloft.net>
71918         [BZ #13967]
71919         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
71920         where the is a gap between DT_REL(A) and DT_JMPREL.
71922 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71924         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
71925         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71926         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71928 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71930         * elf/dl-support.c (_dl_inhibit_cache): New variable.
71931         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
71932         (dl_main): Handle --inhibit-cache.
71933         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
71934         _dl_inhibit_cache.
71935         * elf/dl-load.c (_dl_map_object): Use it.
71936         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
71938 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71940         [BZ #13872]
71941         * sysdeps/i386/fpu/e_powl.S (p78): New object.
71942         (__ieee754_powl): Saturate large exponents rather than testing for
71943         overflow of y*log2(x).
71944         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71945         * math/libm-test.inc (pow_test): Do not permit spurious overflow
71946         exceptions.
71948         [BZ #11521]
71949         * math/s_ctan.c: Include <float.h>.
71950         (__ctan): Avoid internal overflow or cancellation in calculating
71951         denominator.
71952         * math/s_ctanf.c: Likewise.
71953         * math/s_ctanl.c: Likewise.
71954         * math/s_ctanh.c: Likewise.
71955         * math/s_ctanhf.c: Likewise.
71956         * math/s_ctanhl.c: Likewise.
71957         * math/libm-test.inc (ctan_test): Add more tests.
71958         (ctanh_test): Likewise.
71959         * sysdeps/i386/fpu/libm-test-ulps: Update.
71960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71962 2012-04-09  Andreas Jaeger  <aj@suse.de>
71964         [BZ #6894]
71965         * manual/filesys.texi (Directory Entries): Mention that d_namlen
71966         is an optional BSD extension.
71968         [BZ #10254]
71969         * manual/stdio.texi (Opening Streams): Document additional fopen
71970         parameters.
71972 2012-04-09  Roland McGrath  <roland@hack.frob.com>
71974         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
71975         %eax without telling the compiler.
71977 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
71979         [BZ # 13963]
71980         * manual/install.texi: Use sourceware.org.
71982 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71984         [BZ #13873]
71985         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
71986         (__ieee754_pow): Generate overflow and underflow using huge*huge
71987         and tiny*tiny rather than just returning constant infinity or zero
71988         for large exponents.
71989         * math/libm-test.inc (pow_test): Require overflow exceptions for
71990         applicable cases of large exponents.
71992         [BZ #706]
71993         * sysdeps/i386/fpu/e_pow.S (p10): New object.
71994         (__ieee754_pow): Use iterative multiplication algorithm only for
71995         integer exponents with absolute value below 1024.  Check for odd
71996         integer exponents when using algorithm for real exponents.
71997         * math/libm-test.inc (pow_test): Add more tests.
71998         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72000 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
72002         [BZ #13705]
72003         * math/libm-test.inc (exp_test): Do not allow overflow exception
72004         on underflow test.
72006 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
72008         [BZ #13705]
72009         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
72010         instead of __kernel_standard_f.
72012 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
72014         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
72015         * sysdeps/x86_64/memset_chk.S: Likewise.
72017 2012-04-08  Andreas Jaeger  <aj@suse.de>
72019         [BZ #10153]
72020         * manual/startup.texi (Environment Access): Describe return value
72021         for putenv and setenv.
72023         [BZ #6895]
72024         * manual/filesys.texi (Directory Entries): Add description for
72025         DT_LNK.
72027         [BZ #6890]
72028         * manual/filesys.texi (Directory Entries): Clarify that it's file
72029         system not operating system in the description of DT_UNKNOWN.
72031         [BZ #6578]
72032         * manual/syslog.texi (closelog): Fix reference, it's openlog.
72034 2012-04-08  Stephen Compall  <s11@member.fsf.org>
72036         [BZ #6649]
72037         * manual/llio.texi (Opening and Closing Files): Add cross
72038         reference to explain mode argument.
72040 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
72042         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
72043         * sysdeps/x86_64/memset_chk.S: Likewise.
72045 2012-04-07  David S. Miller  <davem@davemloft.net>
72047         * elf/elf.h (R_SPARC_WDISP10): Define.
72048         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
72049         R_SPARC_SIZE32.
72050         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
72051         R_SPARC_SIZE64 and R_SPARC_H34.
72053 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
72055         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
72056         conditions and remove no longer applicable assertion.
72058 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72060         * bits/byteswap.h: Include <features.h>.
72061         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72062         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72064 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72066         * bits/byteswap.h (__bswap_16): Removed.
72067         Include <bits/byteswap-16.h> to get __bswap_16.
72068         * sysdeps/i386/bits/byteswap.h: Likewise.
72069         * sysdeps/s390/bits/byteswap.h: Likewise.
72070         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72071         * bits/byteswap-16.h: New file.
72072         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72073         * sysdeps/s390/bits/byteswap-16.h: Likewise.
72074         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
72075         * string/Makefile (headers): Add bits/byteswap-16.h.
72077 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72079         [BZ #13895]
72080         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
72081         extra indirection.
72082         * nss/Makefile (tests-static, tests): Add tst-nss-static.
72083         * nss/tst-nss-static.c: New.
72085 2012-04-06  Robert Millan  <rmh@gnu.org>
72087         [BZ #6486]
72088         * manual/llio.texi (File Position Primitive): lseek
72089         refers to WHENCE when it really means OFFSET.
72091 2012-04-06  Andreas Jaeger  <aj@suse.de>
72093         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
72094         strncmp declarations.
72096         * abilist/libc.abilist: Add __poll and __ppoll.
72098 2012-04-05  David S. Miller  <davem@davemloft.net>
72100         * scripts/check-local-headers.sh: Accept a host triplet in the
72101         path matched by the exclude regexp.
72103         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
72104         definition.
72105         * sysdeps/powerpc/powerpc32/dl-machine.h
72106         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
72107         * sysdeps/s390/s390-32/dl-machine.h
72108         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72109         * sysdeps/sparc/sparc32/dl-machine.h
72110         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72111         * sysdeps/sparc/sparc64/dl-machine.h
72112         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72114         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
72115         lazy binding.
72116         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
72117         undefined symbol errors.
72119         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
72120         DT_NEEDED entries.
72122 2012-04-05  Michael Matz  <matz@suse.de>
72124         [BZ #13592]
72125         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
72127 2012-04-05  Andreas Jaeger  <aj@suse.de>
72129         [BZ #13908]
72130         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
72131         comment.
72133 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72135         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
72136         which ROUND is no valid rounding mode.
72138 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72140         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
72141         read again.
72142         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
72144 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72146         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
72147         an exception using FPU order intentionally.
72149 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72151         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
72152         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
72153         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
72154         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
72156 2012-04-05  Simon Josefsson  <simon@josefsson.org>
72158         [BZ #12340]
72159         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
72160         EINVAL when BUFLEN is too smal.
72162 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
72164         [BZ #13553]
72165         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
72166         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
72168 2012-04-03  Andreas Jaeger  <aj@suse.de>
72170         [BZ #13938]
72171         * manual/setjmp.texi (System V contexts): Fix sentence.
72173         [BZ #13926]
72174         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
72175         New macro for this case.
72176         [!__GNUC__] (__bswap_64): New inline function for this case.
72177         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72178         * bits/byteswap.h: Likewise.
72179         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
72180         ull, guard with __GLIBC_HAVE_LONG_LONG.
72182         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
72183         __GLIBC_HAVE_LONG_LONG.
72185         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
72186         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
72188 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72190         [BZ #13691]
72191         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
72192         inptr and inend, rather than using last_ch.
72194 2012-04-02  David S. Miller  <davem@davemloft.net>
72196         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
72197         * stdio-common/printf-parse.h (read_int): Change return type to
72198         'int', return -1 on INT_MAX overflow.
72199         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
72200         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
72201         overflows INT_MAX.  Check for overflow of in-format-string precision
72202         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
72203         SIZE_MAX not INT_MAX for integer overflow test.
72204         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
72205         skip the construct in the format string but do not record anything.
72206         * stdio-common/bug22.c: Adjust to test both width/prevision
72207         INT_MAX overflow as well as total length INT_MAX overflow.  Check
72208         explicitly for proper errno values.
72210 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
72212         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
72213         CHAR_MAX.
72214         * string/test-strcmp.c [! WIDE]: Likewise.
72215         * time/tst-mktime2.c: Likewise for INT_MAX.
72216         * string/test-string.h: #include <sys/param.h> for MIN.
72218         * csu/init-first.c (__libc_init_first): Call __ctype_init.
72219         * sysdeps/i386/init-first.c (init): Likewise.
72220         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
72221         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
72222         * sysdeps/sh/init-first.c (init): Likewise.
72224 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
72226         * po/ru.po: Update from translation team.
72227         * po/vi.po: Likewise.
72229 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72231         * resolv/nss_dns/dns-host.c: Merge copyright years.
72233 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72235         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72236         Optimize memcpy with prefetch if
72237         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
72238         src, dst pointers have unequal 16 byte alignments.
72240 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72242         [BZ #13928]
72243         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
72244         from a CNAME entry and return the minimum ttl for the query.
72245         (gaih_getanswer_slice): Likewise.
72247 2012-03-30  Jeff Law  <law@redhat.com>
72249         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
72250         due to long keys.
72251         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
72252         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
72254         * resolv/nss_dns/dns-host.c: Update copyright year.
72256 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
72258         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
72259         requests to save a system call.  Fix check that all bytes are sent.
72261         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
72262         comments for sendmmsg.
72264 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72266         [BZ #13691]
72267         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
72268         with only 1 character between 0x0041 and 0x01b0.
72269         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
72270         * wcsmbs/tst-mbsnrtowcs.c: New file.
72272 2012-03-29  David S. Miller  <davem@davemloft.net>
72274         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
72275         small copies by hand.
72277 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72279         [BZ #13761]
72280         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
72281         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
72282         group memberships.
72284 2012-03-28  David S. Miller  <davem@davemloft.net>
72286         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
72287         that branches into memcpy.
72288         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
72289         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
72290         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72291         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
72292         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
72293         bits.
72294         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
72295         implementation too.
72296         * sysdeps/sparc/mempcpy.S: New file.
72298         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
72299         the IFUNC routine in the libc case.
72300         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72302         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
72303         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72304         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
72305         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
72306         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
72307         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
72308         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
72309         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
72311         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
72312         loop to 256 bytes instead of 64 bytes and fix test signedness.
72314         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
72315         * sysdeps/sparc/sparc32/Makefile: rather than here...
72316         * sysdeps/sparc/sparc64/Makefile: and here.
72318 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
72320         * malloc/mallocbug.c: Avoid warnings about unused variables.
72322 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
72324         [BZ #13760]
72325         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
72326         in the right place. Discard and retry query if response is
72327         larger than input buffer size.
72329 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
72331         [BZ #369]
72332         [BZ #2678]
72333         [BZ #3866]
72334         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
72335         x for large integer exponent.
72336         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
72337         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
72338         sign of result as needed afterwards.
72339         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
72340         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
72341         result for underflowing pow the same as for overflow.
72342         (__kernel_standard_l): Handle powl overflow and underflow here
72343         rather than calling __kernel_standard.
72344         * math/libm-test.inc (pow_test): Add more tests.
72346         [BZ #3868]
72347         [BZ #13879]
72348         [BZ #13910]
72349         [BZ #13911]
72350         [BZ #13912]
72351         [BZ #13913]
72352         [BZ #13915]
72353         [BZ #13916]
72354         [BZ #13917]
72355         [BZ #13918]
72356         [BZ #13919]
72357         [BZ #13920]
72358         [BZ #13921]
72359         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
72360         * sysdeps/ieee754/k_standard.c: Include <float.h>.
72361         (__kernel_standard_l): New function.
72362         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
72363         __kernel_standard.
72364         * math/w_acosl.c (__acosl): Likewise.
72365         * math/w_asinl.c (__asinl): Likewise.
72366         * math/w_atan2l.c (__atan2l): Likewise.
72367         * math/w_atanhl.c (__atanhl): Likewise.
72368         * math/w_coshl.c (__coshl): Likewise.
72369         * math/w_exp10l.c (__exp10l): Likewise.
72370         * math/w_exp2l.c (__exp2l): Likewise.
72371         * math/w_fmodl.c (__fmodl): Likewise.
72372         * math/w_hypotl.c (__hypotl): Likewise.
72373         * math/w_j0l.c (__j0l, __y0l): Likewise.
72374         * math/w_j1l.c (__j1l, __y1l): Likewise.
72375         * math/w_jnl.c (__jnl, __ynl): Likewise.
72376         * math/w_lgammal.c (__lgammal): Likewise.
72377         * math/w_log10l.c (__log10l): Likewise.
72378         * math/w_log2l.c (__log2l): Likewise.
72379         * math/w_logl.c (__logl): Likewise.
72380         * math/w_powl.c (__powl): Likewise.
72381         * math/w_remainderl.c (__remainderl): Likewise.
72382         * math/w_scalbl.c (sysv_scalbl): Likewise.
72383         * math/w_sinhl.c (__sinhl): Likewise.
72384         * math/w_sqrtl.c (__sqrtl): Likewise.
72385         * math/w_tgammal.c (__tgammal): Likewise.
72386         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
72387         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
72388         * math/libm-test.inc (acos_test): Add more tests.
72389         (acosh_test): Likewise.
72390         (asin_test): Likewise.
72391         (atanh_test): Likewise.
72392         (exp_test): Likewise.
72393         (exp10_test): Likewise.
72394         (exp2_test): Likewise.
72395         (expm1_test): Likewise.
72396         (lgamma_test): Likewise.
72397         (log_test): Likewise.
72398         (log10_test): Likewise.
72399         (log1p_test): Likewise.
72400         (log2_test): Likewise.
72401         (pow_test): Do not allow some spurious overflow exceptions.
72402         (sqrt_test): Add more tests.
72403         (tgamma_test): Likewise.
72404         (y0_test): Likewise.
72405         (y1_test): Likewise.
72406         (yn_test): Likewise.
72408 2012-03-27  Anton Blanchard  <anton@samba.org>
72410         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72411         MAP_HUGETLB.
72412         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72413         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72414         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72416 2012-03-27  David S. Miller  <davem@davemloft.net>
72418         * conform/Makefile: Run run-conformtest.sh using $(BASH).
72420         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
72421         have-as-vis3 check.
72423 2012-03-27  Andreas Jaeger  <aj@suse.de>
72425         * sysdeps/x86_64/elf/configure.in: Moved to ...
72426         * sysdeps/x86_64/configure.in: ... here.
72427         * sysdeps/x86_64/elf/start.S: Moved to ...
72428         * sysdeps/x86_64/start.S: ... here.
72429         * sysdeps/x86_64/elf/configure: Delete.
72431         * sysdeps/x86_64/configure.in: Merge contents from
72432         sysdeps/i386/configure.in (without i686 check).
72434         * sysdeps/i386/elf/Versions: Merge into ...
72435         * sysdeps/i386/Versions: ... this.
72436         * sysdeps/i386/elf/Versions: Delete file.
72437         * sysdeps/i386/elf/start.S: Moved to ...
72438         * sysdeps/i386/start.S: ...here.
72439         * sysdeps/i386/elf/configure.in: Merge into...
72440         * sysdeps/i386/configure.in: ...here.
72441         * sysdeps/i386/elf/configure.in: Delete file.
72442         * sysdeps/i386/elf/configure: Delete file.
72444         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
72445         * debug/backtracesyms.c: ... here.
72446         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
72447         * debug/backtracesymsfd.c: ... here.
72448         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
72449         * sysdeps/generic/ifunc-sel.h: ... here.
72451         * sysdeps/unix/i386/start.c: Delete file.
72452         * sysdeps/unix/sparc/start.c: Delete file.
72453         * sysdeps/unix/start.c: Delete file.
72455         * sysdeps/sh/elf/configure.in: Moved to ...
72456         * sysdeps/sh/configure.in: ... here.
72457         * sysdeps/sh/elf/start.S: Moved to ...
72458         * sysdeps/sh/start.S: ... here.
72459         * sysdeps/sh/elf/configure: Delete file.
72461         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
72462         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
72463         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
72464         * sysdeps/powerpc/powerpc64/entry.h: ... here.
72465         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
72466         * sysdeps/powerpc/powerpc64/start.S: here.
72467         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
72468         * sysdeps/powerpc/powerpc64/Makefile: ... this.
72469         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
72470         * sysdeps/powerpc/powerpc64/configure.in: ... this.
72471         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
72473         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
72474         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
72475         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
72476         * sysdeps/powerpc/powerpc32/start.S: ... here.
72477         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
72478         * sysdeps/powerpc/powerpc32/configure.in: ... this.
72479         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
72481         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
72482         * sysdeps/powerpc/ifunc-sel.h: ... here.
72483         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
72484         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
72486         * sysdeps/sparc/elf/configure.in: Moved to ...
72487         * sysdeps/sparc/configure.in: ... here.
72488         * sysdeps/sparc/elf/configure: Delete file.
72489         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
72490         * sysdeps/sparc/sparc32/start.S: ... here.
72491         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
72492         * sysdeps/sparc/sparc64/start.S: ... here.
72493         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
72494         * sysdeps/sparc/sparc32/Makefile: ... this.
72495         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
72496         * sysdeps/sparc/sparc64/Makefile: ... this.
72498         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
72499         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
72500         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
72501         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
72502         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
72503         * sysdeps/s390/s390-32/setjmp.S: ... here.
72504         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
72505         * sysdeps/s390/s390-32/configure.in: ... here.
72506         * sysdeps/s390/s390-32/elf/configure: Delete file.
72507         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
72508         * sysdeps/s390/s390-32/start.S: ... here.
72510         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
72511         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
72512         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
72513         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
72514         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
72515         * sysdeps/s390/s390-64/setjmp.S: ... here.
72516         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
72517         * sysdeps/s390/s390-64/configure.in: ... here
72518         * sysdeps/s390/s390-64/elf/configure: Delete file.
72519         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
72520         * sysdeps/s390/s390-64/start.S: ... here.
72521         * sysdeps/s390/s390-64/elf/configure: Delete.
72523         * configure.in: Remove support for elf directories in sysdeps.
72525         * configure: Regenerated.
72526         * sysdeps/i386/configure: Regenerated.
72527         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72528         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72529         * sysdeps/s390/s390-32/configure: Regenerated.
72530         * sysdeps/s390/s390-64/configure: Regenerated.
72531         * sysdeps/sh/configure: Regenerated.
72532         * sysdeps/sparc/configure: Regenerated.
72533         * sysdeps/x86_64/configure: Regenerated.
72535 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
72537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72539         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
72540         denormal result into account.
72542 2012-03-25  Roland McGrath  <roland@hack.frob.com>
72544         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
72545         Reported by Allan McRae <allan@archlinux.org>.
72547 2012-03-23  Jeff Law  <law@redhat.com>
72549         * nss/getnssent.c (__nss_getent): Fix typo.
72551 2012-03-23  David S. Miller  <davem@davemloft.net>
72553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72555 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
72557         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
72558         to pad to uint64_t for each field.
72559         (dl_tls_index): Replace unsigned long with uint64_t.
72561 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
72562         Paul Pluzhnikov  <ppluzhnikov@google.com>
72564         [BZ #6528]
72565         * grp/Makefile (otherlibs): Don't set it.
72566         * inet/Makefile (otherlibs): Likewise.
72567         * login/Makefile (otherlibs): Likewise.
72568         * nscd/Makefile (otherlibs): Likewise.
72569         * posix/Makefile (otherlibs): Likewise.
72570         * pwd/Makefile (otherlibs): Likewise.
72571         * rt/Makefile (otherlibs): Likewise.
72572         * sunrpc/Makefile (otherlibs): Likewise.
72573         * nss/Makefile (otherlibs): Likewise.
72574         Add libnss_files to routines and static-only-routines.
72575         ($(objpfx)getent): Remove rule.
72576         * resolv/Makefile: Add libnss_dns and libresolv to routines and
72577         static-only-routines.
72579 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72581         [BZ #13892]
72582         * math/s_cexp.c: Include <float.h>.
72583         (__cexp): Handle exp result overflowing not necessarily
72584         overflowing both real and imaginary parts of result.
72585         * math/s_cexpf.c: Likewise.
72586         * math/s_cexpl.c: Likewise.
72587         * math/libm-test.inc (cexp_test): Add more tests.
72588         * sysdeps/i386/fpu/libm-test-ulps: Update.
72589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72591 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72593         * include/link.h (ELFW): New macro.
72594         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
72595         Replace ELF64_R_TYPE with ELFW(R_TYPE).
72597 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72599         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
72600         with uint64_t.
72602 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72604         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
72605         declaration.
72606         (struct La_x32_retval): Likewise.
72608 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72610         * sysdeps/x86_64/preconfigure.in: New file.
72611         * sysdeps/x86_64/preconfigure: New generated file.
72613 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72615         [BZ #13824]
72616         * math/e_exp2l.c: Include <float.h>.
72617         (__ieee754_exp2l): Handle overflow and underflow cases
72618         separately.  Only pass fractional part of argument to
72619         __ieee754_expl.
72620         * math/libm-test.inc (exp2_test): Add more tests.
72622         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
72623         negating x to take absolute value.
72624         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
72625         Likewise.
72626         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
72627         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
72628         Likewise.
72629         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
72630         computing low part if x was negated.
72631         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
72633 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72635         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
72636         la_x32_gnu_pltexit.
72637         (pltexit): Cast int_retval to ptrdiff_t.
72638         * elf/tst-auditmod3b.c: Likewise.
72639         * elf/tst-auditmod4b.c: Likewise.
72640         * elf/tst-auditmod5b.c: Likewise.
72641         * elf/tst-auditmod6b.c: Likewise.
72642         * elf/tst-auditmod6c.c: Likewise.
72643         * elf/tst-auditmod7b.c: Likewise.
72645         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
72646         and x32_gnu_pltexit.
72648         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
72649         __ELF_NATIVE_CLASS.
72650         (La_x32_regs): New macro.
72651         (La_x32_retval): Likewise.
72652         (la_x32_gnu_pltenter): New function prototype.
72653         (la_x32_gnu_pltexit): Likewise.
72655 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
72657         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
72658         exponent.
72660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72662         * configure.in (libc_cv_cc_nofma): Check for option to disable
72663         generation of FMA instructions.
72664         * configure: Regenerate.
72665         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
72666         * sysdeps/ieee754/dbl-64/Makefile: New file.
72667         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
72668         Remove brandred-fma4.
72669         (CFLAGS-brandred-fma4.c): Remove.
72670         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
72671         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
72672         define.
72673         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
72674         define.
72676 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72678         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72679         LLONG_MAX != LONG_MAX.
72680         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72681         (_fitoa_word): Likewise.
72682         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
72683         LLONG_MAX != LONG_MAX.
72684         * stdio-common/_itowa.h: Include <_itoa.h>.
72685         (_itowa_word): Use _ITOA_WORD_TYPE on value.
72686         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
72687         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
72688         only if not defined.
72689         (_ITOA_WORD_TYPE): Likewise.
72690         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72691         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
72693 2012-03-21  David S. Miller  <davem@davemloft.net>
72695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72697 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72699         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
72700         of x86_64 when setting libc_cv_slibdir, libdir and
72701         libc_cv_localedir.
72702         * sysdeps/unix/sysv/linux/configure: Regenerated.
72704 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72706         * manual/lang.texi (Old Varargs): Remove section.
72707         (How Variadic): Update menu.
72708         (va_start): Do not mention varargs.h.
72710 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72711             Joseph Myers  <joseph@codesourcery.com>
72713         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
72714         link test.
72715         * configure: Regenerated.
72717 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72719         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
72720         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
72721         conformtest.pl
72723 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72725         * NOTES: Remove.
72726         * Makefile (files-for-dist): Remove NOTES.
72727         (NOTES): Remove rule.
72728         * README: Don't refer to NOTES.
72729         * manual/creature.texi: Don't include macros.texi.
72730         * manual/intro.texi (creature.texi): Remove comment referring to
72731         NOTES.
72733         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
72734         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
72735         * configure: Regenerated.
72736         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
72737         LIBC_TRY_CC_OPTION.
72738         (libc_cv_as_i686): Likewise.
72739         (libc_cv_cc_avx): Likewise.
72740         (libc_cv_cc_sse2avx): Likewise.
72741         (libc_cv_cc_fma4): Likewise.
72742         (libc_cv_cc_novzeroupper): Likewise.
72743         * sysdeps/i386/configure: Regenerated.
72745         [BZ #13883]
72746         * sysdeps/i386/fpu/s_cexp.S: Remove.
72747         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72748         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72749         * math/libm-test.inc (cexp_test): Add more tests.
72750         * sysdeps/i386/fpu/libm-test-ulps: Update.
72751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72753 2012-03-21  Allan McRae  <allan@archlinux.org>
72755         * timezone/Makefile: Do not install iso3166.tab and zone.tab
72757 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72759         [BZ #13871]
72760         * math/w_exp2.c: Do not include <float.h>.
72761         (o_threshold, u_threshold): Remove.
72762         (__exp2): Calculate result before checking finiteness and calling
72763         __kernel_standard.
72764         * math/w_exp2f.c: Likewise.
72765         * math/w_exp2l.c: Likewise.
72766         * math/libm-test.inc (exp2_test): Require overflow exception for
72767         1e6 input.
72769         [BZ #3866]
72770         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72771         range of signed 64-bit integers before using fistpll.  Remove
72772         checks for whether integers fit in mantissa bits.
72773         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72774         the range of signed 32-bit integers before using fistpl.  Remove
72775         checks for whether integers fit in mantissa bits.
72776         * sysdeps/i386/fpu/e_powl.S (p64): New object.
72777         (__ieee754_powl): Test for y outside the range of signed 64-bit
72778         integers before using fistpll.  Reduce 64-bit values to 63-bit
72779         ones as needed.
72780         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72781         divide-by-zero is raised for zero to large negative powers.
72782         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72783         (__ieee754_powl): Test for y outside the range of signed 64-bit
72784         integers before using fistpll.  Reduce 64-bit values to 63-bit
72785         ones as needed.
72786         * math/libm-test.inc (pow_test): Add more tests.
72788 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72790         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72791         <stdio-common/_itoa.h>.
72792         * debug/segfault.c: Likewise.
72793         * elf/dl-cache.c: Likewise.
72794         * elf/dl-minimal.c: Likewise.
72795         * elf/dl-misc.c: Likewise.
72796         * elf/dl-sysdep.c: Likewise.
72797         * elf/dl-version.c: Likewise.
72798         * elf/rtld.c: Likewise.
72799         * hurd/hurdsock.c: Likewise.
72800         * hurd/lookup-retry.c: Likewise.
72801         * malloc/malloc.c: Likewise.
72802         * malloc/mtrace.c: Likewise.
72803         * nscd/nscd_getgr_r.c: Likewise.
72804         * nscd/nscd_getpw_r.c: Likewise.
72805         * nscd/nscd_getserv_r.c: Likewise.
72806         * posix/getopt_init.c: Likewise.
72807         * posix/wordexp.c: Likewise.
72808         * stdio-common/_itoa.c: Likewise.
72809         * stdio-common/printf_fphex.c: Likewise.
72810         * stdio-common/vfprintf.c: Likewise.
72811         * string/_strerror.c: Likewise.
72812         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72813         * sysdeps/i386/i686/hp-timing.h: Likewise.
72814         * sysdeps/mach/_strerror.c: Likewise.
72815         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72816         * sysdeps/mach/hurd/sethostid.c: Likewise.
72817         * sysdeps/mach/hurd/xmknodat.c: Likewise.
72818         * sysdeps/mach/xpg-strerror.c: Likewise.
72819         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72820         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72821         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72822         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72823         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72824         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72825         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72826         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72827         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72828         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72829         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72830         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72831         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72832         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72833         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72834         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72835         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72836         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
72837         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
72838         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
72839         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
72841         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
72843         * stdio-common/_itoa.h: Moved to ...
72844         * sysdeps/generic/_itoa.h: Here.
72846         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
72848         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
72849         instead of "_itoa.h" and "_itowa.h".
72850         * stdio-common/vfprintf.: Likewise.
72852 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72854         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
72855         <bits/wordsize.h>.
72856         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
72857         (__signbit): Likwise.
72858         (llrintf): Likwise.
72859         (llrint): Likwise.
72861 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72863         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
72864         __WORDSIZE != 64.
72866 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
72868         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72869         OVERFLOW_EXCEPTION_OK.
72870         * math/libm-test.inc ("Philosophy"): Update comment about
72871         exception testing.
72872         (OVERFLOW_EXCEPTION): Define.
72873         (OVERFLOW_EXCEPTION_OK): Likewise.
72874         (INVALID_EXCEPTION_OK): Renumber.
72875         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72876         (IGNORE_ZERO_INF_SIGN): Likewise.
72877         (test_exceptions): Handle FE_OVERFLOW.
72878         (exp10_test): Expect overflow exceptions.
72879         (exp2_test): Likewise.
72880         (expm1_test): Likewise.
72881         (nextafter_test): Likewise.
72882         (pow_test): Likewise.
72883         (scalbn_test): Likewise.
72884         (scalbln_test): Likewise.
72886 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72888         * sysdeps/x86_64/bits/atomic.h
72889         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72890         64bit integer.
72891         (atomic_exchange_acq): Likewise.
72892         (__arch_exchange_and_add_body): Likewise.
72893         (__arch_add_body): Likewise.
72894         (atomic_add_negative): Likewise.
72895         (atomic_add_zero): Likewise.
72897 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72899         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
72900         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
72902 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72904         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
72905         Check __x86_64__ instead of __WORDSIZE.
72907 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72909         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
72911 2012-03-19  David S. Miller  <davem@davemloft.net>
72913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72915         * sysdeps/sparc/fpu/fenv_private.h: New file.
72916         * sysdeps/sparc/fpu/math_private.h: Use it.
72917         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
72918         Remove.
72919         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
72920         (libc_feholdexcept_setroundl): Remove.
72921         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
72922         Remove.
72923         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
72924         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
72926 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72928         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
72929         int64_t instead of long int.
72930         (INSERT_WORDS64): Likwise.
72932 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72934         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
72935         _Unwind_GetCFA return to _Unwind_Ptr first.
72937 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
72939         [BZ #13629]
72940         * math/s_clog.c: Include <float.h>.
72941         (__clog): Scale large or subnormal inputs.
72942         * math/s_clogf.c: Likewise.
72943         * math/s_clogl.c: Likewise.
72944         * math/s_clog10.c: Include <float.h>.
72945         (M_LOG10_2): Define.
72946         (__clog10): Scale large or subnormal inputs.
72947         * math/s_clog10f.c: Likewise.
72948         * math/s_clog10l.c: Likewise.
72949         * math/libm-test.inc (clog_test): Add more tests.
72950         (clog10_test): Likewise.
72951         * sysdeps/i386/fpu/libm-test-ulps: Update.
72952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72954         [BZ #11451]
72955         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
72956         x and y.
72957         * math/libm-test.inc (atan2_test): Add another test.
72959         * Makerules (common-objdir-compile): Remove.
72960         * sysdeps/unix/Makefile (config-generated): Do not add
72961         $(unix-generated) to variable.
72962         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
72963         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
72964         Remove rule.
72965         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
72966         Likewise.
72967         [generic bits/local_lim.h] (before-compile): Do not append to
72968         variable.
72969         [generic bits/local_lim.h] (common-generated): Likewise.
72970         [generic sys/param.h] (before-compile): Do not append to variable.
72971         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
72972         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
72973         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
72974         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
72975         include.
72976         [generic sys/param.h] (sys/param.h-includes): Remove variable.
72977         [generic sys/param.h] (sys/param.h-includes): Remove rule.
72978         [generic sys/param.h] ($(addprefix
72979         $(common-objpfx),$(sys/param.h-includes))): Likewise.
72980         [generic sys/param.h] (common-generated): Do not append to
72981         variable.
72982         [generic sys/param.h] (sysdep_headers): Likewise.
72983         [generic bits/errno.h] (before-compile): Do not append to
72984         variable.
72985         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
72986         rule.
72987         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
72988         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
72989         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
72990         [generic bits/errno.h] (common-generated): Do not append to
72991         variable.
72992         [generic bits/ioctls.h] (before-compile): Do not append to
72993         variable.
72994         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
72995         rule.
72996         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
72997         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
72998         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
72999         rule.
73000         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
73001         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
73002         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
73003         [generic bits/ioctls.h] (common-generated): Do not append to
73004         variable.
73005         [generic sys/syscall.h] (syscall.h): Remove variable.
73006         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
73007         rule.
73008         [generic sys/syscall.h] (before-compile): Do not append to
73009         variable.
73010         [generic sys/syscall.h] (common-generated): Likewise.
73011         * sysdeps/unix/errnos-tmpl.c: Remove file.
73012         * sysdeps/unix/errnos.awk: Likewise.
73013         * sysdeps/unix/ioctls-tmpl.c: Likewise.
73014         * sysdeps/unix/ioctls.awk: Likewise.
73015         * sysdeps/unix/mk-local_lim.c: Likewise.
73016         * sysdeps/unix/snarf-ioctls: Likewise.
73018 2012-03-19  Richard Henderson  <rth@twiddle.net>
73020         * sysdeps/i386/fpu/fenv_private.h: New file.
73021         * sysdeps/i386/fpu/math_private.h: Use it.
73022         (math_opt_barrier, math_force_eval): Remove.
73023         (libc_feholdexcept_setround_53bit): Remove.
73024         (libc_feupdateenv_53bit): Remove.
73025         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73026         (math_opt_barrier, math_force_eval): Remove.
73027         (libc_feholdexcept): Remove.
73028         (libc_feholdexcept_setround): Remove.
73029         (libc_fetestexcept, libc_fesetenv): Remove.
73030         (libc_feupdateenv_test): Remove.
73031         (libc_feupdateenv, libc_feholdsetround): Remove.
73032         (libc_feresetround): Remove.
73034         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
73035         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
73037         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
73038         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
73039         (libc_feupdateenv_testl): New.
73040         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
73041         (libc_feupdateenv_testf): New.
73042         (libc_feupdateenv): Use libc_feupdateenv_test.
73043         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
73044         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
73046         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
73047         (libc_feholdsetroundf, libc_feholdsetroundl): New.
73048         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
73049         (libc_feresetround_noex): New.
73050         (libc_feresetround_noexf): New.
73051         (libc_feresetround_noexl): New.
73052         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
73053         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
73054         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
73055         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
73056         SET_RESTORE_ROUND.
73057         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
73058         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
73059         (__cos): Likewise.
73060         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
73061         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
73062         SET_RESTORE_ROUND_NOEX.
73063         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
73064         SET_RESTORE_ROUND_NOEXF.
73065         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
73066         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
73067         (libc_feholdsetroundf): New.
73068         (libc_feresetround, libc_feresetroundf): New.
73070         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
73071         (libc_feholdexcept_setround_53bit): Convert from macro to function.
73072         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
73074         * sysdeps/generic/math_private.h: Include <fenv.h>.
73075         (default_libc_feholdexcept): New.
73076         (default_libc_feholdexcept_setround): New.
73077         (default_libc_fesetenv, default_libc_feupdateenv): New.
73078         (libc_feholdexcept): Only define if undefined.
73079         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
73080         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
73081         (libc_feholdexcept_setroundl): Likewise.
73082         (libc_feholdexcept_setround_53bit): Likewise.
73083         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
73084         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
73085         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
73086         (libc_feupdateenv_53bit): Likewise.
73087         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
73088         (libc_feholdexcept): Convert from macro to inline function.
73089         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
73090         (libc_fesetenv, libc_feupdateenv): Likewise.
73092         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
73093         not previously defined.
73094         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
73095         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
73096         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
73097         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
73098         * sysdeps/ieee754/flt-32/math_private.h: New file.
73099         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
73100         math_private.h below SET_FLOAT_WORD.
73101         (__isnan, __isinf_ns, __finite): Remove.
73102         (__isnanf, __isinf_nsf, __finitef): Remove.
73104 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
73106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73108 2012-03-17  David S. Miller  <davem@davemloft.net>
73110         [BZ #6471]
73111         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
73112         for 2.16.
73114 2012-03-16  David S. Miller  <davem@davemloft.net>
73116         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
73117         warnings.
73119         [BZ #6471]
73120         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
73121         properly.
73122         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
73123         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
73124         sysdep_routines when subdir is sysvipc.
73125         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
73126         __getshmlba helper.
73128         * sysdeps/sparc/fpu/libm-test/ulps: Update.
73130 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73132         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
73133         [__LP64__].
73135 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73137         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
73138         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
73139         (__lround): Renamed to ...
73140         (__llround): This.  Replace long int with long long int.
73141         Define lround functions as aliases of llround functions.
73142         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
73144 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73146         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
73147         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
73148         adresses to uintptr_t.  Replace "long int" and "unsigned long
73149         int" with "greg_t" on va_arg.
73151 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73153         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
73154         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
73156         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
73157         Move e_machine check before EI_CLASS check.  Handle x32
73158         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
73159         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
73160         SKIP_EM_IA_64 and include
73161         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
73163         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
73164         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
73165         (add_system_dir): New macro.
73167         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
73168         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
73170 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73172         [BZ #2551]
73173         [BZ #2552]
73174         [BZ #2553]
73175         [BZ #2554]
73176         [BZ #2562]
73177         [BZ #2563]
73178         [BZ #2565]
73179         [BZ #2566]
73180         [BZ #2576]
73181         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
73182         (y0): Likewise.
73183         * math/w_j0f.c (j0f): Likewise.
73184         (y0f): Likewise.
73185         * math/w_j0l.c (__j0l): Likewise.
73186         (__y0l): Likewise.
73187         * math/w_j1.c (j1): Likewise.
73188         (y1): Likewise.
73189         * math/w_j1f.c (j1f): Likewise.
73190         (y1f): Likewise.
73191         * math/w_j1l.c (__j1l): Likewise.
73192         (__y1l): Likewise.
73193         * math/w_jn.c (jn): Likewise.
73194         (yn): Likewise.
73195         * math/w_jnf.c (jnf): Likewise.
73196         (ynf): Likewise.
73197         * math/w_jnl.c (__jnl): Likewise.
73198         (__ynl): Likewise.
73199         * math/libm-test.inc (j0_test): Add more tests.
73200         (j1_test): Likewise.
73201         (jn_test): Likewise.  Add trailing semicolon to existing test.
73202         (y0_test): Likewise.
73203         (y1_test): Likewise.
73204         * sysdeps/i386/fpu/libm-test-ulps: Update.
73205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73207         [BZ #13851]
73208         [BZ #13854]
73209         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
73210         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
73211         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
73212         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
73213         (__tanl): Set errno for infinite argument.
73214         * sysdeps/i386/fpu/mptan.c: Remove.
73215         * sysdeps/i386/fpu/s_tan.S: Likewise.
73216         * sysdeps/i386/fpu/s_tanl.S: Likewise.
73217         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
73218         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
73219         * math/libm-test.inc (tan_test): Add more tests and enable more
73220         tests for double and long double.
73221         * sysdeps/i386/fpu/libm-test-ulps: Update.
73222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73224 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
73226         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
73227         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
73229 2012-03-16  Roland McGrath  <roland@hack.frob.com>
73231         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
73232         * configure.in: Use it for both main tree and add-ons.
73233         * configure: Regenerated.
73235 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73237         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
73239 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73241         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
73242         in comment.
73244         [BZ #13851]
73245         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
73246         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
73247         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
73248         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
73249         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
73250         infinite argument.
73251         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
73252         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
73253         != 0 for prec == 2.
73254         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
73255         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
73256         * sysdeps/i386/fpu/s_cosl.S: Likewise.
73257         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
73258         * sysdeps/i386/fpu/s_sinl.S: Likewise.
73259         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
73260         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
73261         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
73262         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
73263         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
73264         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
73265         * math/libm-test.inc (cos_test): Add more tests and enable more
73266         tests for long double.
73267         (sin_test): Likewise.
73268         (sincos_test): Likewise.
73269         * sysdeps/i386/fpu/libm-test-ulps: Update.
73270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73272 2012-03-16  David S. Miller  <davem@davemloft.net>
73274         * sysdeps/sparc/fpu/math_private.h: New file.
73276 2012-03-15  David S. Miller  <davem@davemloft.net>
73278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
73279         file.
73280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
73281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
73282         file.
73283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
73284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
73285         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
73286         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
73287         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
73288         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
73289         sysdep routines.
73290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73292         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
73293         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
73295         * sysdeps/sparc/sparc-ifunc.h: New file.
73296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
73297         sparc-ifunc.h
73298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
73299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
73300         Likewise.
73301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
73302         Likewise.
73303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
73304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
73305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
73307         Likewise.
73308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
73310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
73312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
73313         Likewise.
73314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
73315         Likewise.
73316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
73318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
73320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
73321         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
73322         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
73323         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
73324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
73325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
73326         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
73327         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
73328         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
73329         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
73330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
73331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
73332         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
73333         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
73334         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
73335         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
73336         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
73337         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
73338         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
73339         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
73341 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73343         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
73344         scaling.
73345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73347 2012-03-15  Andreas Jaeger  <aj@suse.de>
73349         [BZ #13852]
73350         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
73351         ieee754/flt-32 implementation for sin, cos and sincos.
73352         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
73353         * sysdeps/i386/fpu/s_cosf.S: Likewise.
73354         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
73355         * sysdeps/i386/fpu/s_sinf.S: Likewise.
73356         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
73357         ieee754/flt-32 implementation for tan.
73359         * math/libm-test.inc (cos_test): Enable some large input tests for
73360         float as well
73361         (sin_test): Likewise.
73362         (sincos_test): Likewise.
73363         (tan_test): Add tests for large input.
73365         * sysdeps/i386/fpu/libm-test-ulps: Update.
73367 2012-03-15  Andreas Jaeger  <aj@suse.de>
73369         [BZ #13658]
73370         * math/libm-test.inc (cos_test): Add more test cases.
73371         (sin_test): Likewise.
73372         (sincos_test): Likewise.
73374 2012-03-15  Andreas Jaeger  <aj@suse.de>
73376         [BZ #13837]
73377         * math/libm-test.inc (cos_test): Add a test case for large input
73378         value.
73379         (sin_test): Likewise.
73380         (sincos_test): Likewise.
73382 2012-03-15  Andreas Jaeger  <aj@suse.de>
73383             Joseph Myers  <joseph@codesourcery.com>
73385         [BZ #13658]
73386         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
73387         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
73388         * sysdeps/i386/fpu/branred.c: Likewise.
73389         * sysdeps/i386/fpu/dosincos.c: Likewise.
73390         * sysdeps/i386/fpu/mpa.c: Likewise.
73391         * sysdeps/i386/fpu/s_cos.S: Likewise.
73392         * sysdeps/i386/fpu/s_sin.S: Likewise.
73393         * sysdeps/i386/fpu/s_sincos.S: Likewise.
73394         * sysdeps/i386/fpu/sincos32.c: Likewise.
73396         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73397         Define.
73398         (libc_feupdateenv_53bit): Define.
73399         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73400         Define.
73401         (libc_feupdateenv_53bit): Define.
73403         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73404         53 bit (without extend i386 double precision).
73406         * math/libm-test.inc (sincos_test): Add tests for large input.
73407         (sin): Likewise.
73408         (cos): Likewise.
73410         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73412 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73416 2012-03-15  David S. Miller  <davem@davemloft.net>
73418         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
73419         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
73420         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
73421         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
73422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
73423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
73424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
73425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
73426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
73427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
73428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
73429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
73430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
73431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
73432         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
73433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
73434         file.
73435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
73436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
73437         file.
73438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
73439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
73440         file.
73441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
73442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
73443         file.
73444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
73445         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
73446         fmin/fmax sysdep routines.
73447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73449 2012-03-14  David S. Miller  <davem@davemloft.net>
73451         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
73452         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
73453         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
73454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
73455         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
73456         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
73457         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
73458         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
73459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
73460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
73461         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
73462         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
73463         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
73464         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
73465         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
73466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
73467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
73468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
73469         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
73470         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
73471         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
73472         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
73473         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
73474         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
73475         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
73476         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
73477         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
73478         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
73479         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
73480         routines.
73481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
73482         file.
73483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
73484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
73485         file.
73486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
73487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
73488         file.
73489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
73490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
73491         file.
73492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
73494         file.
73495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
73496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
73497         file.
73498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
73499         file.
73500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
73501         file.
73502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
73503         file.
73504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
73505         New file.
73506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
73507         file.
73508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
73509         file.
73510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
73511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
73512         file.
73513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
73514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
73515         file.
73516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
73517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
73518         file.
73519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
73520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
73521         VIS3 routines.
73523         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
73524         New file.
73526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73528         * sysdeps/sparc/configure.in: New file.
73529         * sysdeps/sparc/configure: Generate.
73530         * configure.in (libc_cv_sparc_as_vis3): Substitute.
73531         * configure: Regenerate.
73532         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
73533         * config.make.in (have-as-vis3): New.
73534         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
73535         available use -Av9d instead of -Av9a.
73536         * sysdeps/sparc/sparc64/Makefile: Likewise.
73537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
73538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
73539         New file.
73540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
73541         file.
73542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
73543         New file.
73544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
73545         file.
73546         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
73547         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
73548         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
73549         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
73550         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
73552         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
73553         fzeros/fnegs to load 0x80000000 into a float register instead of
73554         using the stack.
73555         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
73557 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73559         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73560         bits/syscall.h.
73561         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
73562         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
73563         ($(inst_includedir)/bits/syscall.h): Remove rule.
73564         ($(objpfx)bits/syscall.d): Include instead of
73565         $(objpfx)syscall-list.d.
73566         (generated): Change syscall-list.h and syscall-list.d to
73567         bits/syscall.h and bits/syscall.d.
73569 2012-03-14  Roland McGrath  <roland@hack.frob.com>
73571         [BZ #13846]
73572         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
73574 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73576         [BZ #13841]
73577         * math/s_csqrt.c: Include <float.h>.
73578         (__csqrt): Scale large or subnormal inputs.
73579         * math/s_csqrtf.c: Likewise.
73580         * math/s_csqrtl.c: Likewise.
73581         * math/libm-test.inc (csqrt_test): Add more tests.
73582         * sysdeps/i386/fpu/libm-test-ulps: Update.
73583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73585         [BZ #13840]
73586         * math/libm-test.inc (hypot_test): Add more tests.
73588 2012-03-13  David S. Miller  <davem@davemloft.net>
73590         [BZ #13840]
73591         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
73592         double-precision for the calculation instead of scaling.
73594 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
73596         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
73597         manipulate bits before adding and subtracting TWO52[sx].
73598         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
73599         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
73600         Likewise.
73601         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
73603 2012-03-13  David S. Miller  <davem@davemloft.net>
73605         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
73606         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
73607         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
73608         rtld-global-offsets.h
73609         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73611         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
73612         large parameters.
73614         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
73616         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
73617         'err' in the ifdef scope in which it is actually used.
73619         * nss/nss_db/db-init.c: Include string.h
73621 2012-03-12  David S. Miller  <davem@davemloft.net>
73623         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73624         masking out of the most significant byte of random value used.
73625         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73626         Fix coding style in previous change.
73628         * sysdeps/unix/sysv/linux/kernel-features.h
73629         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
73630         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
73631         expression.
73632         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
73633         later.
73635 2012-03-11  David S. Miller  <davem@davemloft.net>
73637         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73638         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
73639         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
73640         for 'resultvar' otherwise things get truncated on 64-bit.
73642         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73643         Fix masking out of the most significant byte of random value used.
73645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73647 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
73649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73651 2012-03-09  David S. Miller  <davem@davemloft.net>
73653         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
73654         variables with appropriate CPP guards.
73655         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
73656         from the frame pointer, not the stack pointer.  Correct layout
73657         comments.  Fix test on resulting framesize and the management of
73658         the outregs buffer for pltexit.  Preserve floating point return
73659         values across _dl_call_pltexit call.
73660         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
73661         framesize and the management of the outregs buffer for pltexit.
73662         Preserve floating point return values across _dl_call_pltexit
73663         call.
73664         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
73665         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
73666         (la_sparc64_gnu_pltexit): New functions.
73667         (print_exit): Fix format string for return register value.
73669 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
73671         * sunrpc/Makefile (others): Add rpcgen.
73672         ($(objpfx)rpcgen): Remove special build rule and dependency on
73673         libc.
73674         * sunrpc/rpcgen.c: New file.
73676 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
73678         [BZ #13673]
73679         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
73680         * stdio-common/bug-vfprintf-nargs.c: Likewise.
73681         * sysdeps/i386/crti.S: Likewise.
73682         * sysdeps/i386/crtn.S: Likewise.
73683         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
73684         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
73685         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
73686         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
73687         * sysdeps/sh/crti.S: Likewise.
73688         * sysdeps/sh/crtn.S: Likewise.
73689         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73691         [BZ #13673]
73692         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
73693         with URL.
73694         * locale/programs/locfile-kw.gperf: Likewise.
73695         * locale/programs/charmap-kw.h: Regenerated.
73696         * locale/programs/locfile-kw.h: Likewise.
73698         [BZ #13673]
73699         * intl/plural.y: Replace FSF snail mail address with URL.
73700         * intl/plural.c: Regenerated.
73702 2012-03-09  Richard Henderson  <rth@twiddle.net>
73704         * include/math_private.h: Remove file.
73705         * math/math_private.h: Move file ...
73706         * sysdeps/generic/math_private.h: ... here.
73708         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
73709         * sysdeps/powerpc/fpu/math_private.h: Likewise.
73710         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73712         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
73713         and <math_private.h>.
73714         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73715         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73716         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73717         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73718         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73719         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
73720         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73721         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73722         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73723         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73724         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73725         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73726         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73727         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73728         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73729         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73730         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73731         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73732         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73733         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73734         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73735         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73736         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73737         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73738         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73739         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73740         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73741         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73742         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73743         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73744         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73745         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73746         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
73747         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73748         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73749         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73750         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73751         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73752         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73753         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73754         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
73755         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73756         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73757         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
73758         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
73759         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73760         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73761         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
73762         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73763         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73764         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
73765         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73766         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73767         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73768         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73769         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73770         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73771         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73772         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73773         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73774         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73775         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73776         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73777         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73778         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73779         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73780         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73781         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73782         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73783         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73784         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73785         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73786         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73787         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73788         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73789         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73790         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73791         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73792         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73793         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73794         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73795         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73796         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73797         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73798         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73799         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73800         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73801         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73802         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73803         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73804         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73805         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73806         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73807         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73808         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73809         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73810         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73811         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73812         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73813         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73814         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73815         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73816         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73817         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73818         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73819         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73820         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73821         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73822         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73823         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73824         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73825         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73826         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73827         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73828         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73829         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73830         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73831         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73832         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73833         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73834         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73835         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73836         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73837         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
73838         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73839         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73840         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73841         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
73842         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73843         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
73844         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
73845         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73846         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73847         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
73848         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
73849         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73850         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73851         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73852         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
73853         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73854         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73855         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73856         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73857         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
73858         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
73859         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73860         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73861         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73862         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
73863         * sysdeps/ieee754/k_standard.c: Likewise.
73864         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73865         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73866         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73867         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73868         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73869         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73870         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73871         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73872         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73873         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73874         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73875         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73876         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73877         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73878         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73879         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73880         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73881         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73882         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73883         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73884         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73885         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73886         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73887         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73888         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73889         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73890         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73891         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73892         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73893         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73894         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73895         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73896         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73897         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73898         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
73899         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73900         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73901         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
73902         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
73903         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73904         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
73905         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
73906         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
73907         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73908         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
73909         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
73910         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73911         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73912         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73913         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73914         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73915         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
73916         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73917         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
73918         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73919         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73920         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
73921         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
73922         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73923         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73924         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73925         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
73926         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73927         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73928         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73929         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73930         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73931         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73932         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73933         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73934         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73935         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73936         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73937         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73938         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73939         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73940         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
73941         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73942         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73943         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
73944         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
73945         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
73946         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73947         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73948         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
73949         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73950         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73951         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
73952         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73953         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73954         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
73955         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73956         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
73957         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
73958         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73959         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73960         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
73961         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
73962         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
73963         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
73964         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73965         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73966         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73967         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73968         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
73969         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73970         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73971         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
73972         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
73973         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73974         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73975         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73976         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73977         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73978         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73979         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73980         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73981         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73982         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73983         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73984         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73985         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73986         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73987         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73988         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73989         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
73990         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73991         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73992         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73993         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73994         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73995         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73996         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73997         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
73998         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73999         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74000         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
74001         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
74002         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74003         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
74004         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
74005         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74006         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
74007         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
74008         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74009         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74010         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74011         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74012         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74013         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
74014         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74015         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74016         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74017         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74018         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
74019         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
74020         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74021         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74022         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74023         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
74024         * sysdeps/ieee754/s_lib_version.c: Likewise.
74025         * sysdeps/ieee754/s_matherr.c: Likewise.
74026         * sysdeps/ieee754/s_signgam.c: Likewise.
74027         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74028         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74029         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
74030         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
74031         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
74032         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74033         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
74034         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
74035         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
74036         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
74037         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
74038         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
74039         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74040         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74041         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
74042         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
74043         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
74044         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
74045         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
74046         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74047         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74049 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74051         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
74052         * sunrpc/rpc_main.c: Likewise.
74053         * sunrpc/rpc_svcout.c: Likewise.
74055 2012-03-09  David S. Miller  <davem@davemloft.net>
74057         * include/math_private.h: New file.
74059 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74061         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
74062         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
74063         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
74064         from <bits/socket_type.h>.
74065         (enum __socket_type): Don't define here.
74066         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
74067         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74068         bits/socket_type.h.
74070         [BZ #13566]
74071         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
74072         checking __USE_GNU.
74074         * Makerules ($(inst_includedir)/%.h): New rule.
74075         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
74076         (install-others): Remove variable setting.
74077         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
74079 2012-03-08  Richard Henderson  <rth@twiddle.net>
74081         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
74082         from macro to inline function; merge with the
74083         !__LIBC_INTERNAL_MATH_INLINES version.
74084         (__ieee754_sqrtf): Likewise.
74086         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
74087         to inline function.
74088         (__rintf, __floor, __floorf): Likewise.
74090         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
74091         macro to inline function.
74092         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
74094         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
74095         not <math/math_private.h>.
74097 2012-03-08  David S. Miller  <davem@davemloft.net>
74099         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
74100         copyright year.
74101         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
74103 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
74105         * resolv/gai_misc.c (handle_requests): Fix struct timespec
74106         normalization.
74107         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
74108         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
74110 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
74112         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
74113         be defined individually, they must be defined as a block.  Define
74114         S for printing a string instead of hidint the different by using a
74115         macro for adding the 'l'.
74116         * stdio-common/tst-fphex-wide.c: Adjust.
74118 2012-03-07  Marek Polacek  <polacek@redhat.com>
74120         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
74122 2012-03-08  Marek Polacek  <polacek@redhat.com>
74124         [BZ #13806]
74125         * stdio-common/Makefile (tests): Add tst-fphex-wide.
74126         * stdio-common/tst-fphex.c: Define a few macros to make the
74127         test reusable.  Use them.
74128         * stdio-common/tst-fphex-wide.c: New file.
74130 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
74132         [BZ #6911]
74133         * manual/macros.texi (gnusystems): New macro.
74134         (nongnusystems): Likewise.
74135         (gnulinuxhurdsystems): Likewise.
74136         (gnuhurdsystems): Likewise..
74137         (gnulinuxsystems): Likewise.
74138         * manual/charset.texi: Use new macros or @theglibc{} to refer to
74139         variants of the GNU system, not "GNU system".
74140         * manual/conf.texi: Likewise.
74141         * manual/errno.texi: Likewise.  Update example of errno macro
74142         expansion.
74143         * manual/filesys.texi: Likewise.
74144         (getumask): Document as specific to GNU/Hurd.
74145         * manual/install.texi: Likewise.  Reword some references to
74146         GNU/Linux.
74147         * manual/intro.texi: Likewise.
74148         * manual/io.texi: Likewise.
74149         (File Name Portability): Detail which constraints are inapplicable
74150         to all GNU systems and which are only inapplicable to GNU/Hurd.
74151         * manual/job.texi: Likewise.
74152         * manual/llio.texi: Likewise.
74153         (O_NOCTTY): Document as present on GNU/Linux.
74154         * manual/maint.texi: Likewise.
74155         * manual/memory.texi: Likewise.
74156         * manual/pattern.texi: Likewise.
74157         * manual/pipe.texi: Likewise.
74158         * manual/process.texi: Likewise.
74159         * manual/resource.texi: Likewise.
74160         (RUSAGE_CHILDREN): Remove statement about specifying a particular
74161         child on GNU/Hurd.
74162         * manual/setjmp.texi: Likewise.
74163         * manual/signal.texi: Likewise.
74164         * manual/startup.texi: Likewise.
74165         * manual/stdio.texi: Likewise.
74166         * manual/terminal.texi: Likewise.
74167         (ONLCR): Document as POSIX.
74168         (OXTABS): Document availability on GNU/Linux as XTABS.
74169         (ONOEOT): Document availability separately from other bits.
74170         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
74171         * manual/time.texi: Likewise.
74172         * manual/users.texi: Likewise.
74173         * INSTALL: Regenerated.
74174         * sysdeps/gnu/errlist.c: Regenerated.
74176         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
74177         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
74178         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
74179         puts.
74180         * configure: Regenerated.
74182 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
74184         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
74185         default includes instead of AC_HEADER_CHECK.
74186         * sysdeps/i386/configure: Regenerated.
74188         [BZ #10716]
74189         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
74190         * math/s_cacoshf.c (__cacoshf): Likewise.
74191         * math/s_cacoshl.c (__cacoshl): Likewise.
74192         * math/s_casinh.c (__casinh): Set signs of result from argument.
74193         * math/s_casinhf.c (__casinhf): Likewise.
74194         * math/s_casinhl.c (__casinhl): Likewise.
74195         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
74196         (casinh_test): Add more tests.
74197         * sysdeps/i386/fpu/libm-test-ulps: Update.
74198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74200 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
74202         * po/zh_TW.po: Update from translation team.
74204         * login/Makefile (distribute): Remove variable.
74205         * catgets/Makefile: Likewise.
74206         * mach/Makefile: Likewise.
74207         * malloc/Makefile: Likewise.
74208         * misc/Makefile: Likewise.
74209         * iconv/Makefile: Likewise.
74210         * nscd/Makefile: Likewise.
74211         * hurd/Makefile: Likewise.
74212         * manual/Makefile: Likewise.
74213         * locale/Makefile: Likewise.
74214         * intl/Makefile: Likewise.
74215         * conform/Makefile: Likewise.
74216         * nss/Makefile: Likewise.
74217         * time/Makefile: Likewise.
74218         * soft-fp/Makefile: Likewise.
74219         * dirent/Makefile: Likewise.
74220         * gmon/Makefile: Likewise.
74221         * po/Makefile: Likewise.
74222         * rt/Makefile: Likewise.
74223         * socket/Makefile: Likewise.
74224         * math/Makefile: Likewise.
74225         * signal/Makefile: Likewise.
74226         * debug/Makefile: Likewise.
74227         * elf/Makefile: Likewise.
74228         * timezone/Makefile: Likewise.
74229         * stdlib/Makefile: Likewise.
74230         * iconvdata/Makefile: Likewise.
74231         * sunrpc/Makefile: Likewise.
74232         * io/Makefile: Likewise.
74233         * argp/Makefile: Likewise.
74234         * inet/Makefile: Likewise.
74235         * hesiod/Makefile: Likewise.
74236         * grp/Makefile: Likewise.
74237         * csu/Makefile: Likewise.
74238         * wctype/Makefile: Likewise.
74239         * crypt/Makefile: Likewise.
74240         * libio/Makefile: Likewise.
74241         * string/Makefile: Likewise.
74242         * nis/Makefile: Likewise.
74243         * resolv/Makefile: Likewise.
74244         * stdio-common/Makefile: Likewise.
74245         * wcsmbs/Makefile: Likewise.
74246         * dlfcn/Makefile: Likewise.
74247         * posix/Makefile: Likewise.
74249         [BZ #6959]
74250         * timezone/Makefile: Don't install timezone files, just the programs
74251         and scripts.
74253 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
74255         * nss/databases.def: Add missing gshadow entry.
74257         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
74259 2012-03-06  Marek Polacek  <polacek@redhat.com>
74261         [BZ #13726]
74262         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
74263         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
74264         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
74265         * stdio-common/tst-long-dbl-fphex.c: New file.
74267 2012-03-06  David S. Miller  <davem@davemloft.net>
74269         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74270         (set_obp_int): New function.
74271         (get_obp_int): New function.
74272         (__get_clockfreq_via_dev_openprom): Likewise.
74273         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
74274         Avoid unused variable warnings on 'val' and use builtin_expect.
74275         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
74276         __builtin_expect.
74277         (INLINE_CLONE_SYSCALL): Likewise.
74279 2012-03-05  David S. Miller  <davem@davemloft.net>
74281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74283 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
74285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74287         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
74288         only for |x| >= 40.
74289         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74291 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
74293         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
74294         Replace gettimeofday with __vdso_gettimeofday.
74296         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74297         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
74298         __vdso_clock_gettime and __vdso_getcpu.
74300         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
74301         time with __vdso_time.
74303 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74305         * manual/lang.texi (size_t): Note types to which size_t may be
74306         equivalent with the GNU C Library, but do not describe when
74307         differences between them are significant.
74309 2012-03-05  Andreas Jaeger  <aj@suse.de>
74311         * sysdeps/i386/fpu/libm-test-ulps: Update.
74313 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74315         [BZ #3976]
74316         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
74317         (__ieee754_pow): Save and restore rounding mode and use
74318         round-to-nearest for main computations.
74319         * math/libm-test.inc (pow_test_tonearest): New function.
74320         (pow_test_towardzero): Likewise.
74321         (pow_test_downward): Likewise.
74322         (pow_test_upward): Likewise.
74323         (main): Call the new functions.
74324         * sysdeps/i386/fpu/libm-test-ulps: Update.
74325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74327         [BZ #3976]
74328         * math/libm-test.inc (cosh_test_tonearest): New function.
74329         (cosh_test_towardzero): Likewise.
74330         (cosh_test_downward): Likewise.
74331         (cosh_test_upward): Likewise.
74332         (sinh_test_tonearest): Likewise.
74333         (sinh_test_towardzero): Likewise.
74334         (sinh_test_downward): Likewise.
74335         (sinh_test_upward): Likewise.
74336         (main): Call the new functions.
74337         * sysdeps/i386/fpu/libm-test-ulps: Update.
74338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74340 2012-03-05  Tom de Vries  <tom@codesourcery.com>
74342         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
74343         default stack guard is set in last bytes.
74344         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
74346 2012-03-05  Kees Cook  <keescook@chromium.org>
74348         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
74350         [BZ #13656]
74351         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
74352         possibly allocate from heap instead of stack.
74353         * stdio-common/bug-vfprintf-nargs.c: New file.
74354         * stdio-common/Makefile (tests): Add nargs overflow test.
74356 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
74358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74360 2012-03-03  Marek Polacek  <polacek@redhat.com>
74362         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
74363         * math/math_private.h: Likewise.
74364         * stdlib/tst-strtod.c: Likewise.
74365         * sysdeps/i386/i486/bits/atomic.h: Likewise.
74366         * sysdeps/x86_64/bits/atomic.h: Likewise.
74368 2012-03-02  David S. Miller  <davem@davemloft.net>
74370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
74371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
74372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
74373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
74374         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
74375         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74376         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
74377         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
74379 2012-03-02  Roland McGrath  <roland@hack.frob.com>
74381         [BZ #13792]
74382         * manual/examples/README: New file, says the example source files
74383         can be used under GPL>=2.
74384         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
74385         line containing just "*/".
74386         * manual/examples/add.c: Add copyright header (GPL>=2).
74387         * manual/examples/argp-ex1.c: Likewise.
74388         * manual/examples/argp-ex2.c: Likewise.
74389         * manual/examples/argp-ex3.c: Likewise.
74390         * manual/examples/argp-ex4.c: Likewise.
74391         * manual/examples/atexit.c: Likewise.
74392         * manual/examples/db.c: Likewise.
74393         * manual/examples/dir.c: Likewise.
74394         * manual/examples/dir2.c: Likewise.
74395         * manual/examples/execinfo.c: Likewise.
74396         * manual/examples/filecli.c: Likewise.
74397         * manual/examples/filesrv.c: Likewise.
74398         * manual/examples/fmtmsgexpl.c: Likewise.
74399         * manual/examples/genpass.c: Likewise.
74400         * manual/examples/inetcli.c: Likewise.
74401         * manual/examples/inetsrv.c: Likewise.
74402         * manual/examples/isockad.c: Likewise.
74403         * manual/examples/longopt.c: Likewise.
74404         * manual/examples/memopen.c: Likewise.
74405         * manual/examples/memstrm.c: Likewise.
74406         * manual/examples/mkfsock.c: Likewise.
74407         * manual/examples/mkisock.c: Likewise.
74408         * manual/examples/mygetpass.c: Likewise.
74409         * manual/examples/pipe.c: Likewise.
74410         * manual/examples/popen.c: Likewise.
74411         * manual/examples/rprintf.c: Likewise.
74412         * manual/examples/search.c: Likewise.
74413         * manual/examples/select.c: Likewise.
74414         * manual/examples/setjmp.c: Likewise.
74415         * manual/examples/sigh1.c: Likewise.
74416         * manual/examples/sigusr.c: Likewise.
74417         * manual/examples/stpcpy.c: Likewise.
74418         * manual/examples/strdupa.c: Likewise.
74419         * manual/examples/strftim.c: Likewise.
74420         * manual/examples/strncat.c: Likewise.
74421         * manual/examples/subopt.c: Likewise.
74422         * manual/examples/swapcontext.c: Likewise.
74423         * manual/examples/termios.c: Likewise.
74424         * manual/examples/testopt.c: Likewise.
74425         * manual/examples/testpass.c: Likewise.
74426         * manual/examples/timeval_subtract.c: Likewise.
74428         [BZ #13792]
74429         * manual/time.texi (Elapsed Time): Move timeval_subtract example
74430         function to ...
74431         * manual/timeval_subtract.c.texi: ... here, new file.
74433 2012-03-02  David S. Miller  <davem@davemloft.net>
74435         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
74437 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
74439         [BZ #3976]
74440         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
74441         (__sin): Save and restore rounding mode and use round-to-nearest
74442         for all computations.
74443         (__cos): Save and restore rounding mode and use round-to-nearest
74444         for all computations.
74445         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
74446         <fenv.h>.
74447         (tan): Save and restore rounding mode and use round-to-nearest for
74448         all computations.
74449         * math/libm-test.inc (cos_test_tonearest): New function.
74450         (cos_test_towardzero): Likewise.
74451         (cos_test_downward): Likewise.
74452         (cos_test_upward): Likewise.
74453         (sin_test_tonearest): Likewise.
74454         (sin_test_towardzero): Likewise.
74455         (sin_test_downward): Likewise.
74456         (sin_test_upward): Likewise.
74457         (tan_test_tonearest): Likewise.
74458         (tan_test_towardzero): Likewise.
74459         (tan_test_downward): Likewise.
74460         (tan_test_upward): Likewise.
74461         (main): Call the new functions.
74462         * sysdeps/i386/fpu/libm-test-ulps: Update.
74463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74465         [BZ #10135]
74466         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
74467         small n, then large n, before computing and testing k+n.
74468         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
74469         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
74470         Likewise.
74471         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
74472         Likewise.
74473         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
74474         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
74475         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
74476         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
74477         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
74478         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
74479         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
74480         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
74481         * math/libm-test.inc (scalbn_test): Add more tests.
74482         (scalbln_test): Likewise.
74484         * manual/filesys.texi (mode_t): Describe constraints on size and
74485         signedness, not exact equivalence to a particular type.
74486         (ino_t): Likewise.
74487         (ino64_t): Likewise.
74488         (dev_t): Likewise.
74489         (nlink_t): Likewise.
74490         (blkcnt_t): Likewise.
74491         (blkcnt64_t): Likewise.
74492         * manual/llio.texi (off_t): Likewise.
74494         [BZ #3976]
74495         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
74496         (__ieee754_exp): Save and restore rounding mode and use
74497         round-to-nearest for all computations.
74498         * math/libm-test.inc (exp_test_tonearest): New function.
74499         (exp_test_towardzero): Likewise.
74500         (exp_test_downward): Likewise.
74501         (exp_test_upward): Likewise.
74502         (main): Call the new functions.
74503         * sysdeps/i386/fpu/libm-test-ulps: Update.
74504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74506 2012-03-01  Chris Demetriou  <cgd@google.com>
74508         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
74509         have predictable order.
74511 2012-03-01  David S. Miller  <davem@davemloft.net>
74513         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
74515         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
74516         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
74517         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
74518         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
74520         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
74521         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
74522         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
74523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
74524         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
74525         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
74526         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
74527         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
74528         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
74530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74532         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
74533         * sysdeps/sparc/fpu/libm-test-ulps: to here.
74534         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
74536         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
74537         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74538         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74539         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
74540         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
74541         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
74542         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
74543         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74544         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74545         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
74546         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
74547         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74548         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74549         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74550         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74551         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74552         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
74553         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
74554         * sysdeps/sparc/elf/configure: Regenerated.
74556 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
74558         * configure.in (AS, LD): Require binutils 2.20 or later.
74559         * configure: Regenerated.
74560         * manual/install.texi (Tools for Compilation): Give binutils 2.20
74561         as required minimum version.
74562         * INSTALL: Regenerated.
74564         [BZ #2541]
74565         [BZ #4108]
74566         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
74567         before squaring exponent.
74568         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
74569         bottom long double and 27 bits of top long double before squaring
74570         exponent.
74571         * math/libm-test.inc (erfc_test): Add more tests.
74572         * sysdeps/i386/fpu/libm-test-ulps: Update.
74573         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74576 2012-03-01  Kai Tietz  <ktietz@redhat.com>
74578         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74579         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
74580         containing bit-fields.
74581         * soft-fp/extended.h (_FP_UNION_E): Likewise.
74582         * soft-fp/single.h (_FP_UNION_S): Likewise.
74583         * soft-fp/double.h (_FP_UNION_D): Likewise.
74585 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74587         [BZ #13786]
74588         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
74589         not include ../strcmp.S.
74590         [USE_AS_STRNCASECMP_L]: Likewise.
74591         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
74592         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
74593         * sysdeps/i386/i686/multiarch/strncase_l-c.c
74594         (__strncasecmp_l_ia32): Define as alias to
74595         __strncasecmp_l_nonascii.
74597         [BZ #5794]
74598         * math/libm-test.inc (expm1_test): Add test for bug 5794.
74599         * sysdeps/i386/fpu/libm-test-ulps: Update.
74600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74602         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
74603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74605 2012-02-29  Jeff Law  <law@redhat.com>
74607         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
74608         out of bounds read.
74610 2012-02-29  Marek Polacek  <polacek@redhat.com>
74612         [BZ #13706]
74613         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
74614         * elf/Makefile: Add rules to run tst-unused-dep.out.
74616 2012-02-28  David S. Miller  <davem@davemloft.net>
74618         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
74619         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
74620         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
74621         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
74622         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
74623         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
74625 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74627         * math/libm-test.inc (llround_test): Move one test from
74628         lround_test.  Use TEST_f_L in moved test.
74629         (lround_test): Move misplaced test to llround_test.  Add testcase
74630         from bug 2561.
74632 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
74634         * sysdeps/x86_64/fpu/e_expf.S: New file.
74635         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
74637 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
74639         [BZ #13637]
74640         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
74641         of remain_len that may cause incomplete multi-byte character and
74642         false match.
74643         * posix/bug-regex33.c: New file.
74644         * posix/Makefile (tests): Add bug-regex33.
74646 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
74648         * manual/macros.texi: New file.
74649         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
74650         * manual/libc.texinfo: Include macros.texi.
74651         * manual/creatute.texi: Likewise.
74652         * manual/install.texi: Likewise.
74653         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
74654         @glibcadj{} in references to the GNU C Library.
74655         * manual/charset.texi: Likewise.
74656         * manual/conf.texi: Likewise.
74657         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
74658         when not using those macros.
74659         * manual/creature.texi: Likewise.
74660         * manual/crypt.texi: Likewise.
74661         * manual/errno.texi: Likewise.
74662         * manual/filesys.texi: Likewise.
74663         * manual/header.texi: Likewise.
74664         * manual/install.texi: Likewise.
74665         * manual/intro.texi: Likewise.
74666         * manual/io.texi: Likewise.
74667         * manual/job.texi: Likewise.
74668         * manual/lang.texi: Likewise.
74669         * manual/libc.texiinfo: Likewise.
74670         * manual/llio.texi: Likewise.
74671         * manual/locale.texi: Likewise.
74672         * manual/maint.texi: Likewise.
74673         * manual/math.texi: Likewise.
74674         * manual/memory.texi: Likewise.
74675         * manual/message.texi: Likewise.
74676         * manual/nss.texi: Likewise.
74677         * manual/pattern.texi: Likewise.
74678         * manual/process.texi: Likewise.
74679         * manual/resource.texi: Likewise.
74680         * manual/search.texi: Likewise.
74681         * manual/setjmp.texi: Likewise.
74682         * manual/signal.texi: Likewise.
74683         * manual/socket.texi: Likewise.
74684         * manual/startup.texi: Likewise.
74685         * manual/stdio.texi: Likewise.
74686         * manual/string.texi: Likewise.
74687         * manual/sysinfo.texi: Likewise.
74688         * manual/syslog.texi: Likewise.
74689         * manual/terminal.texi: Likewise.
74690         * manual/time.texi: Likewise.
74691         * manual/users.texi: Likewise.
74692         * INSTALL: Regenerated.
74693         * NOTES: Regenerated.
74694         * sysdeps/gnu/errlist.c: Regenerated.
74696 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
74698         * include/dirent.h: Include <dirstream.h> before
74699         <dirent/dirent.h>.
74701 2012-02-28  David S. Miller  <davem@davemloft.net>
74703         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
74704         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
74705         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
74706         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
74708 2012-02-27  David S. Miller  <davem@davemloft.net>
74710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
74711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
74712         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
74713         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
74715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
74716         frame pointer instead of stack pointer relative arg slot.
74717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74718         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74719         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74721 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
74723         [BZ #3992]
74724         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
74726 2012-02-27  David S. Miller  <davem@davemloft.net>
74728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
74729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
74732         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74733         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74734         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
74735         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
74737 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74739         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
74740         later.  Allow versions 5-9.
74741         * configure: Regenerated.
74742         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
74743         required minimum version and 4.6 as recommended version.  Do not
74744         mention bugs in GCC 2.7 and 2.8.
74745         * INSTALL: Regenerated.
74747 2012-02-27  David S. Miller  <davem@davemloft.net>
74749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
74750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
74751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
74752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
74753         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
74754         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
74755         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
74756         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
74758         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
74759         manipulate bits before adding and subtracting TWO112[sx].
74760         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
74762 2012-02-27  Roland McGrath  <roland@hack.frob.com>
74764         [BZ #13775]
74765         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74766         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74767         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74768         being in POSIX, because they are in 1003.1-2008.
74770         * rt/tst-aio.c: Include <fcntl.h>.
74771         * rt/tst-aio7.c: Likewise.
74772         * rt/tst-aio64.c: Likewise.
74774         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74776 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74778         * manual/install.texi (--with-headers): Describe headers as
74779         interface headers, not private headers.
74780         (Specific advice for GNU/Linux systems): Describe use of headers
74781         from "make headers_install", not private headers from older
74782         kernels.
74783         * INSTALL: Regenerated.
74784         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74785         Change to 2.6.19.
74786         * sysdeps/unix/sysv/linux/configure: Regenerated.
74788         * manual/llio.texi (fclean): Remove documentation.
74790         * manual/Makefile (libc-texi-generated): New variable.  Include
74791         version.texi.
74792         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74793         $(libc-texi-generated), not duplicated list of files.
74794         (version.texi, stamp-version): New rules.
74795         (realclean): Remove $(libc-texi-generated), not individual files
74796         from that list.  Do not remove dir-add.texinfo.
74797         * manual/libc.texinfo: Comment out uses of edition numbers and
74798         references to printed manual.  Remove last-updated dates.
74799         (EDITION): Comment out.
74800         (ISBN): Likewise.
74801         (VERSION, UPDATED): Remove.
74802         (version.texi): Include.
74804 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
74806         * sysdeps/posix/spawni.c: Include <signal.h>.
74807         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74808         * sysdeps/pthread/aio_fsync.c: Likewise.
74810 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
74812         * conform/Makefile (tests): Run only when not cross-compiling and
74813         when fast-check is not defined.
74815         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74816         * conform/data/limits.h-data: Fixes for POSIX2008.
74817         * conform/run-conformtest.sh: Run all tests.
74818         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74819         headers.
74820         * include/bits/dlfcn.h: Likewise.
74821         * include/langinfo.h: Likewise.
74822         * include/monetary.h: Likewise.
74823         * include/sys/poll.h: Likewise.
74825         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74826         for __USE_GNU.
74827         * posix/spawn.h: Define __need_sigset_t.
74828         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74829         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74830         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
74831         to get sigevent_t only.
74832         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74833         only for __USE_GNU.
74834         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74835         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74836         process_vm_writev only for __USE_GNU.
74837         * termios/termios.h: Declare tcgetsid also for POSIX2008.
74839         * conform/Makefile: For now ignore errors from run-conformtest.
74840         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
74841         POSIX to avoid namespace pollution.  Don't prepend headers.
74842         * conform/data/aio.h-data: Fixes for POSIX testing.
74843         * conform/data/fcntl.h-data: Likewise.
74844         * conform/data/glob.h-data: Likewise.
74845         * conform/data/grp.h-data: Likewise.
74846         * conform/data/pthread.h-data: Likewise.
74847         * conform/data/pwd.h-data: Likewise.
74848         * conform/data/signal.h-data: Likewise.
74849         * conform/data/spawn.h-data: Likewise.
74850         * conform/data/stdio.h-data: Likewise.
74851         * conform/data/stdlib.h-data: Likewise.
74852         * conform/data/stropts.h-data: Likewise.
74853         * conform/data/sys/mman.h-data: Likewise.
74854         * conform/data/sys/stat.h-data: Likewise.
74855         * conform/data/sys/types.h-data: Likewise.
74856         * conform/data/sys/wait.h-data: Likewise.
74857         * conform/data/time.h-data: Likewise.
74858         * conform/data/unistd.h-data: Likewise.
74859         * conform/data/utime.h-data: Likewise.
74861         * io/sys/stat.h: fchmod was always in POSIX.
74862         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
74863         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
74864         * rt/aio.h: Define __need_timespec before including <time.h>.
74865         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74866         struct.  Add forward declaration of pthread_attr_t and use it in
74867         sigevent.
74868         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74869         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74870         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74871         always remove CLK_TCK definition.
74873 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74875         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74877 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
74879         * conform/run-conformtest.sh: New file.
74880         * conform/Makefile: Run run-conformtest for tests.
74881         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
74882         support.
74884         * conform/data/uchar.h-data: New file.
74885         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74886         * conform/data/arpa/inet.h-data: Likewise.
74887         * conform/data/assert.h-data: Likewise.
74888         * conform/data/complex.h-data: Likewise.
74889         * conform/data/cpio.h-data: Likewise.
74890         * conform/data/ctype.h-data: Likewise.
74891         * conform/data/dirent.h-data: Likewise.
74892         * conform/data/dlfcn.h-data: Likewise.
74893         * conform/data/errno.h-data: Likewise.
74894         * conform/data/fcntl.h-data: Likewise.
74895         * conform/data/float.h-data: Likewise.
74896         * conform/data/fmtmsg.h-data: Likewise.
74897         * conform/data/fnmatch.h-data: Likewise.
74898         * conform/data/ftw.h-data: Likewise.
74899         * conform/data/glob.h-data: Likewise.
74900         * conform/data/grp.h-data: Likewise.
74901         * conform/data/iconv.h-data: Likewise.
74902         * conform/data/inttypes.h-data: Likewise.
74903         * conform/data/langinfo.h-data: Likewise.
74904         * conform/data/libgen.h-data: Likewise.
74905         * conform/data/limits.h-data: Likewise.
74906         * conform/data/locale.h-data: Likewise.
74907         * conform/data/math.h-data: Likewise.
74908         * conform/data/monetary.h-data: Likewise.
74909         * conform/data/mqueue.h-data: Likewise.
74910         * conform/data/ndbm.h-data: Likewise.
74911         * conform/data/net/if.h-data: Likewise.
74912         * conform/data/netdb.h-data: Likewise.
74913         * conform/data/netinet/in.h-data: Likewise.
74914         * conform/data/nl_types.h-data: Likewise.
74915         * conform/data/poll.h-data: Likewise.
74916         * conform/data/pthread.h-data: Likewise.
74917         * conform/data/pwd.h-data: Likewise.
74918         * conform/data/regex.h-data: Likewise.
74919         * conform/data/sched.h-data: Likewise.
74920         * conform/data/search.h-data: Likewise.
74921         * conform/data/semaphore.h-data: Likewise.
74922         * conform/data/setjmp.h-data: Likewise.
74923         * conform/data/signal.h-data: Likewise.
74924         * conform/data/spawn.h-data: Likewise.
74925         * conform/data/stdarg.h-data: Likewise.
74926         * conform/data/stdio.h-data: Likewise.
74927         * conform/data/stdlib.h-data: Likewise.
74928         * conform/data/string.h-data: Likewise.
74929         * conform/data/strings.h-data: Likewise.
74930         * conform/data/stropts.h-data: Likewise.
74931         * conform/data/sys/ipc.h-data: Likewise.
74932         * conform/data/sys/mman.h-data: Likewise.
74933         * conform/data/sys/msg.h-data: Likewise.
74934         * conform/data/sys/resource.h-data: Likewise.
74935         * conform/data/sys/select.h-data: Likewise.
74936         * conform/data/sys/sem.h-data: Likewise.
74937         * conform/data/sys/shm.h-data: Likewise.
74938         * conform/data/sys/socket.h-data: Likewise.
74939         * conform/data/sys/stat.h-data: Likewise.
74940         * conform/data/sys/statvfs.h-data: Likewise.
74941         * conform/data/sys/time.h-data: Likewise.
74942         * conform/data/sys/timeb.h-data: Likewise.
74943         * conform/data/sys/times.h-data: Likewise.
74944         * conform/data/sys/types.h-data: Likewise.
74945         * conform/data/sys/uio.h-data: Likewise.
74946         * conform/data/sys/un.h-data: Likewise.
74947         * conform/data/sys/utsname.h-data: Likewise.
74948         * conform/data/sys/wait.h-data: Likewise.
74949         * conform/data/syslog.h-data: Likewise.
74950         * conform/data/tar.h-data: Likewise.
74951         * conform/data/termios.h-data: Likewise.
74952         * conform/data/utime.h-data: Likewise.
74953         * conform/data/utmpx.h-data: Likewise.
74954         * conform/data/varargs.h-data: Likewise.
74955         * conform/data/wchar.h-data: Likewise.
74956         * conform/data/wctype.h-data: Likewise.
74957         * conform/data/wordexp.h-data: Likewise.
74959         * include/stropts.h: New file.
74960         * include/uchar.h: New file.
74961         * include/aio.h: Changes to allow conformtest.pl to use the headers.
74962         * include/assert.h: Likewise.
74963         * include/ctype.h: Likewise.
74964         * include/dirent.h: Likewise.
74965         * include/dlfcn.h: Likewise.
74966         * include/fcntl.h: Likewise.
74967         * include/fnmatch.h: Likewise.
74968         * include/glob.h: Likewise.
74969         * include/grp.h: Likewise.
74970         * include/libio.h: Likewise.
74971         * include/locale.h: Likewise.
74972         * include/math.h: Likewise.
74973         * include/net/if.h: Likewise.
74974         * include/netdb.h: Likewise.
74975         * include/netinet/in.h: Likewise.
74976         * include/pthread.h: Likewise.
74977         * include/pwd.h: Likewise.
74978         * include/regex.h: Likewise.
74979         * include/sched.h: Likewise.
74980         * include/search.h: Likewise.
74981         * include/setjmp.h: Likewise.
74982         * include/signal.h: Likewise.
74983         * include/stdio.h: Likewise.
74984         * include/stdlib.h: Likewise.
74985         * include/string.h: Likewise.
74986         * include/sys/cdefs.h: Likewise.
74987         * include/sys/mman.h: Likewise.
74988         * include/sys/msg.h: Likewise.
74989         * include/sys/resource.h: Likewise.
74990         * include/sys/select.h: Likewise.
74991         * include/sys/socket.h: Likewise.
74992         * include/sys/stat.h: Likewise.
74993         * include/sys/statvfs.h: Likewise.
74994         * include/sys/time.h: Likewise.
74995         * include/sys/times.h: Likewise.
74996         * include/sys/uio.h: Likewise.
74997         * include/sys/utsname.h: Likewise.
74998         * include/sys/wait.h: Likewise.
74999         * include/termios.h: Likewise.
75000         * include/time.h: Likewise.
75001         * include/ulimit.h: Likewise.
75002         * include/unistd.h: Likewise.
75003         * include/utime.h: Likewise.
75004         * include/wchar.h: Likewise.
75005         * include/wctype.h: Likewise.
75006         * include/wordexp.h: Likewise.
75008         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
75010         * time/time.h: TIME_UTC must be a macro.
75011         Make timespec_get available for ISO C11 only as well.
75013 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
75015         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
75016         Reported by Peng Haitao <penght@cn.fujitsu.com>.
75018 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75020         * configure.in: Use -o not -a in test for unsupported multi-arch.
75022 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75024         * manual/texinfo.tex: Update to version 2012-01-19.16.
75026 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75028         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
75030 2012-02-24  Roland McGrath  <roland@hack.frob.com>
75032         [BZ #13738]
75033         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
75034         * manual/fdl-1.3.texi: New file.
75035         * manual/fdl-1.1.texi: File removed.
75037         [BZ #13738]
75038         * manual/libc.texinfo (FDL_VERSION): New @set.
75039         Use it for mention of FDL in cover text.
75040         (Documentation License): Use it in @include file name.
75042 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75043             Roland McGrath  <roland@hack.frob.com>
75045         [BZ #5461]
75046         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
75047         (not LONG_LONG_MAX and LONG_LONG_MIN.
75048         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
75049         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
75050         name.
75051         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
75053 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75055         [BZ #2547]
75056         [BZ #11365]
75057         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
75058         manipulate bits before adding and subtracting TWO23[sx].
75059         * math/libm-test.inc (nearbyint_test): Add more tests.
75061 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75063         [BZ #2548]
75064         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
75065         bits before adding and subtracting TWO23[sx].
75066         * math/libm-test.inc (rint_test): Add more tests.
75067         (rint_test_tonearest): Likewise.
75068         (rint_test_towardzero): Likewise.
75069         (rint_test_downward): Likewise.
75070         (rint_test_upward: Likewise.
75072 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75074         [BZ #10110]
75075         * include/stdc-predef.h: New file.  Extracted from features.h.
75076         * include/features.h: Include stdc-predef.h.
75077         * Makefile (headers): Add stdc-predef.h.
75078         * CONFORMANCE (Compiler limitations): Update.
75080 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75082         * manual/libc.texinfo (VERSION, UPDATED): Revert.
75084 2012-02-21  David S. Miller  <davem@davemloft.net>
75086         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
75087         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75089 2012-02-20  David S. Miller  <davem@davemloft.net>
75091         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
75092         using a normal save/restore sequence, rather than allocating a
75093         dummy stack frame just to store a frame pointer and restore.
75094         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75096 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75098         * manual/install.texi: Fix stray word in line-wrapped comment.
75100 2012-02-20  David S. Miller  <davem@davemloft.net>
75102         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
75103         both binutils and gcc support GOTDATA.
75105         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
75106         "rd %pc" in the PIC register setup sequences.
75108         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
75109         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
75110         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75111         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
75112         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75113         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75114         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75115         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75116         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
75117         (SYSCALL_ERROR_HANDLER): Likewise.
75118         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75119         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75120         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
75121         (SYSCALL_ERROR_HANDLER): Likewise.
75123         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
75124         (HAVE_GCC_GOTDATA): New.
75125         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
75126         relocation support in both binutils and gcc.
75127         * sysdeps/sparc/elf/configure: Regenerate.
75129         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
75130         * sysdeps/sparc/sparc32/elf/configure: Delete.
75131         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
75132         * sysdeps/sparc/sparc64/elf/configure: Delete.
75133         * sysdeps/sparc/elf/configure.in: New file.
75134         * sysdeps/sparc/elf/configure: Generate.
75136         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
75137         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
75138         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75139         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
75140         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
75142 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75144         * manual/install.texi: Do not mention specific glibc version
75145         numbers.
75146         * manual/libc.texinfo (VERSION, UPDATED): Update.
75147         (@copying): Use @copyright{} and range of years.
75149 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75151         [BZ #13695]
75152         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
75153         [crti.S not in sysdirs] (generated): Do not append.
75154         [crti.S not in sysdirs] (omit-deps): Likewise.
75155         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
75156         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
75157         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
75158         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
75159         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
75160         Likewise.
75161         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
75162         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
75163         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
75164         * csu/defs.awk: Remove file.
75165         * sysdeps/generic/initfini.c: Likewise.
75166         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
75167         variable.
75168         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
75169         Likewise.
75171 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75173         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
75174         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
75175         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
75176         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
75177         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75178         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
75179         <bits/epoll.h>.
75180         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
75181         (__EPOLL_PACKED): Define to empty if not defined by
75182         <bits/epoll.h>.
75183         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
75184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75185         bits/epoll.h.
75187 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75189         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
75190         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
75191         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
75192         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
75193         <bits/timerfd.h>.
75194         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
75195         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75196         bits/timerfd.h.
75198 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75200         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
75201         in C locale.
75202         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75203         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
75204         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
75205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75207 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
75209         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75210         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75212 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
75214         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
75215         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
75216         defined.
75217         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
75218         Likewise.
75219         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
75220         entry for 2.16.
75222 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
75224         * math/w_acos.c: Use non-signaling floating-point comparisons.
75225         * math/w_acosf.c: Likewise.
75226         * math/w_acosh.c: Likewise.
75227         * math/w_acoshf.c: Likewise.
75228         * math/w_acoshl.c: Likewise.
75229         * math/w_acosl.c: Likewise.
75230         * math/w_asin.c: Likewise.
75231         * math/w_asinf.c: Likewise.
75232         * math/w_asinl.c: Likewise.
75233         * math/w_atanh.c: Likewise.
75234         * math/w_atanhf.c: Likewise.
75235         * math/w_atanhl.c: Likewise.
75236         * math/w_exp2.c: Likewise.
75237         * math/w_exp2f.c: Likewise.
75238         * math/w_exp2l.c: Likewise.
75239         * math/w_j0.c: Likewise.
75240         * math/w_j0f.c: Likewise.
75241         * math/w_j0l.c: Likewise.
75242         * math/w_j1.c: Likewise.
75243         * math/w_j1f.c: Likewise.
75244         * math/w_j1l.c: Likewise.
75245         * math/w_jn.c: Likewise.
75246         * math/w_jnf.c: Likewise.
75247         * math/w_log.c: Likewise.
75248         * math/w_log10.c: Likewise.
75249         * math/w_log10f.c: Likewise.
75250         * math/w_log10l.c: Likewise.
75251         * math/w_log2.c: Likewise.
75252         * math/w_log2f.c: Likewise.
75253         * math/w_log2l.c: Likewise.
75254         * math/w_logf.c: Likewise.
75255         * math/w_logl.c: Likewise.
75256         * math/w_sqrt.c: Likewise.
75257         * math/w_sqrtf.c: Likewise.
75258         * math/w_sqrtl.c: Likewise.
75259         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75260         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
75261         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75262         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75263         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75265 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75267         [BZ #9739]
75268         * manual/string.texi (strnlen): Use correct parameter name in
75269         equivalent expression.
75271 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75273         [BZ #11174]
75274         * manual/users.texi (seteuid): Consistently use neweuid for
75275         argument name.
75277 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75279         [BZ #13704]
75280         * manual/nss.texi (Services in the NSS configuration): Correct
75281         list of services in example configuration file.
75283 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
75285         [BZ #11322]
75286         * manual/arith.texi: Remove statements about negative zero
75287         behaving identically to zero.
75289 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75291         [BZ #5993]
75292         * manual/install.texi: Do not document upgrading from libc5.
75294 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75296         [BZ #4596]
75297         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
75299 2012-02-18  David S. Miller  <davem@davemloft.net>
75301         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
75302         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
75303         %o7 across the call.
75304         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
75305         instead.
75306         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
75307         SETUP_PIC_REG_LEAF.
75308         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75309         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
75310         * sysdeps/sparc/crtn.S: Likewise.
75312 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
75314         * aout/Makefile: Remove.
75316 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
75318         [BZ #13058]
75319         * manual/examples/argp-ex1.c (main): Format definition in GNU
75320         style.
75321         * manual/examples/argp-ex2.c (main): Likewise.
75322         * manual/examples/argp-ex3.c (main): Likewise.
75323         * manual/examples/argp-ex4.c (main): Likewise.
75324         * manual/examples/longopt.c (main): Use new-style prototype
75325         definition.
75326         * manual/examples/strncat.c (main): Specify return type and use
75327         (void) for arguments.
75328         * manual/examples/subopt.c (main): Use char **argv argument.
75330 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75332         [BZ #5077]
75333         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
75334         rounding modes.
75336 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
75338         [BZ #6907]
75339         * manual/string.texi (strchr): Change when strchrnul is
75340         recommended.
75342 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
75344         [BZ #174]
75345         * manual/locale.texi (setlocale): Document LOCPATH.
75347 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75349         [BZ #10210]
75350         * manual/process.texi (execle): Move @dots{} before last argument.
75352 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
75354         [BZ #12047]
75355         * manual/charset.texi (Generic Charset Conversion): Fix typo
75356         (LC_TYPE -> LC_CTYPE).
75358 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
75360         [BZ #5805]
75361         * manual/arith.texi (scalbn): Use @var{} on parameter names.
75362         (scalbnf): Likewise.
75363         (scalbnl): Likewise.
75364         (scalbln): Likewise.
75365         (scalblnf): Likewise.
75366         (scalblnl): Likewise.
75367         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
75368         (vwarnx): Likewise.
75369         (verr): Likewise.
75370         (verrx): Likewise.
75371         * manual/filesys.texi (telldir): Use braces around return type.
75372         * manual/llio.texi (mmap): Add space after comma.
75373         (mmap64): Likewise.
75374         * manual/math.texi (jn): Use @var{} on parameter names.
75375         (jnf): Likewise.
75376         (jnl): Likewise.
75377         (yn): Likewise.
75378         (ynf): Likewise.
75379         (ynl): Likewise.
75380         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
75381         line.
75382         * manual/resource.texi (ulimit): Use @dots{} instead of literal
75383         "...".
75384         (sched_get_priority_min): Remove semicolon on @deftypefun line.
75385         (sched_get_priority_max): Likewise.
75386         * manual/signal.texi (sigvec): Add space after comma.
75387         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
75388         names.
75389         (if_indextoname): Likewise.
75390         (if_freenameindex): Likewise.
75391         (sendto): Use ',' instead of '.' in prototype.
75392         * manual/startup.texi (syscall): Use @dots{} instead of literal
75393         "...".
75394         * manual/stdio.texi (__fpending): Separate initial words of
75395         paragraph from @deftypefun line.
75396         * manual/syslog.texi (syslog): Use @dots{} instead of literal
75397         "...".
75398         (vsyslog): Use @var{} on parameter names.
75399         * manual/terminal.texi (stty): Use @var{} on parameter names.
75400         * manual/users.texi (getutmp): Use @var{} on parameter names.
75401         (getutmpx): Likewise.
75403 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75405         [BZ #6884]
75406         * manual/stdio.texi (fopen): Fix typos in description of
75407         ",ccs=STRING".
75409 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
75411         [BZ #4026]
75412         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75413         get clock_id definition.
75415 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
75417         [BZ #4822]
75418         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
75419         (madvise): Cast every argument to void on its own.
75421 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75423         [BZ #9902]
75424         * manual/startup.texi (Exit Status): Fix typo.
75426 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75428         [BZ #10140]
75429         * manual/examples/argp-ex1.c: Include <stdlib.h>.
75430         * manual/examples/argp-ex2.c: Likewise.
75431         * manual/examples/argp-ex3.c: Likewise.
75433 2012-02-16  Richard Henderson  <rth@redhat.com>
75435         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
75436         * sysdeps/s390/s390-32/initfini.c: Remove.
75437         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
75438         * sysdeps/s390/s390-64/initfini.c: Remove.
75440 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75442         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
75443         compiler output for sysdeps/generic/initfini.c.
75444         * sysdeps/sh/elf/initfini.c: Remove file.
75446 2012-02-16  David S. Miller  <davem@davemloft.net>
75448         [BZ #11494]
75449         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
75451         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
75452         * sysdeps/sparc/crti.S: New file.
75453         * sysdeps/sparc/crtn.S: New file.
75454         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
75455         * sysdeps/sparc/sparc64/Makefile: Likewise.
75457 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
75459         [BZ #3335]
75460         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
75462 2012-02-15  Roland McGrath  <roland@hack.frob.com>
75464         [BZ #4822]
75465         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
75467         * mach/devstream.c (cookie_io_functions_t): Macro removed.
75468         (write, read, close): Likewise.
75469         Patch by Aurelien Jarno <aurelien@aurel32.net>.
75471 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
75473         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
75474         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
75475         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
75476         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
75477         <bits/signalfd.h>.
75478         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
75479         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75480         bits/signalfd.h.
75482 2012-02-14  Marek Polacek  <polacek@redhat.com>
75484         * sysdeps/x86_64/crti.S: New file.
75485         * sysdeps/x86_64/crtn.S: New file.
75486         * sysdeps/x86_64/elf/initfini.c: Remove file.
75488 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75490         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
75491         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
75492         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
75493         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
75494         <bits/inotify.h>.
75495         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
75496         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75497         bits/inotify.h.
75499 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75501         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
75502         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
75503         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
75504         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
75505         <bits/eventfd.h>.
75506         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
75507         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75508         bits/eventfd.h.
75510 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
75512         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
75513         __feraiseexcept instead of feraiseexcept.
75515         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
75516         nanosleep invocations.
75517         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
75518         strings, and add error checking for a nanosleep invocations.
75520 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
75522         Replace FSF snail mail address with URLs, as per GNU coding standards.
75523         Most of the snail mail addresses were wrong anyway, and omitting
75524         them makes the source code easier to maintain.  Almost all of the
75525         changes are to license notices and to locale LC_IDENTIFICATION
75526         addresses, except for this one:
75527         * manual/libc.texinfo: In "Published by", give the FSF's URL,
75528         not its snail mail address.
75530 2012-02-09  Richard Henderson  <rth@twiddle.net>
75532         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
75533         of kernel-features.h.
75535         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
75537 2012-02-08  Marek Polacek  <polacek@redhat.com>
75539         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
75540         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
75541         * sysdeps/gnu/_G_config.h: Likewise.
75542         * sysdeps/generic/_G_config.h: Likewise.
75544 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
75546         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
75547         tests.
75548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75550         * sysdeps/powerpc/powerpc32/crti.S: New file.
75551         * sysdeps/powerpc/powerpc32/crtn.S: New file.
75552         * sysdeps/powerpc/powerpc64/crti.S: New file.
75553         * sysdeps/powerpc/powerpc64/crtn.S: New file.
75555         * Makeconfig (have-initfini): Don't set.
75556         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
75557         * configure.in (nopic_initfini): Don't substitute.
75558         * config.h.in (HAVE_INITFINI): Don't #undef.
75559         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
75560         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
75562 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
75564         Support crti.S and crtn.S provided directly by architectures.
75565         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
75566         [crti.S in sysdirs] (omit-deps): Likewise.
75567         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
75568         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
75569         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
75570         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
75571         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
75572         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
75573         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
75574         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
75575         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
75576         compiler output for sysdeps/generic/initfini.c.
75577         * sysdeps/i386/elf/Makefile: Remove file.
75578         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
75580 2012-02-07  Marek Polacek  <polacek@redhat.com>
75582         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
75583         * sysdeps/gnu/_G_config.h: Likewise.
75584         * sysdeps/mach/hurd/_G_config.h: Likewise.
75586 2012-02-07  Marek Polacek  <polacek@redhat.com>
75588         * math/Makefile (tests): Add tst-CMPLX2.
75589         * math/tst-CMPLX2.c: New file.
75591 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
75593         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75595         * math/libm-test.inc (jn_test): Add missing L suffix.
75597 2012-02-06  Marek Polacek  <polacek@redhat.com>
75599         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
75600         * sysdeps/i386/fpu/e_powf.S: Likewise.
75601         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75602         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75603         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75604         * sysdeps/i386/fpu/e_pow.S: Likewise.
75605         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75606         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75607         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75608         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75609         * sysdeps/i386/fpu/e_log2.S: Likewise.
75610         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75611         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75612         * sysdeps/i386/fpu/e_powl.S: Likewise.
75613         * sysdeps/i386/fpu/s_log1p.S: Likewise.
75614         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75615         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75616         * sysdeps/i386/fpu/e_logl.S: Likewise.
75617         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75618         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
75619         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75620         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75621         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75622         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75623         * sysdeps/i386/fpu/e_log.S: Likewise.
75624         * sysdeps/i386/fpu/s_cexp.S: Likewise.
75625         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75626         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
75627         * sysdeps/i386/fpu/e_logf.S: Likewise.
75628         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75629         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75630         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
75631         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75632         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75633         * sysdeps/i386/fpu/e_log10.S: Likewise.
75634         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75635         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75636         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75637         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75638         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75639         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75640         * sysdeps/i386/asm-syntax.h: Likewise.
75641         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75642         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75643         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75644         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
75645         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
75646         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75647         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75648         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75649         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75650         * sysdeps/powerpc/sysdep.h: Likewise.
75651         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
75652         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75654 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75656         [BZ #411]
75657         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
75659 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75661         * sysdeps/i386/sysdep.h: Include <features.h>.
75662         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
75663         version.
75665 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
75667         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
75668         Define.
75669         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
75670         LOAD_PIC_REG_STR.
75672 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75674         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
75675         (SETUP_PIC_REG): Use GET_PC_THUNK.
75676         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
75677         macro.
75679 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75681         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
75682         for non-PIC compilation.
75683         (SETUP_PIC_REG): Add .p2align directive.
75684         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
75685         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
75686         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75687         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75688         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
75689         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75690         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
75691         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75692         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75693         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75694         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75695         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75696         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75697         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75698         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75699         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
75700         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
75701         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75702         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75703         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75704         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75705         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
75706         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75707         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75708         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
75709         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
75710         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75711         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
75712         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75713         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75714         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75715         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75716         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75717         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75718         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75719         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75720         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75721         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75722         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75723         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75724         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75726 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75728         * math/tst-CMPLX.c: Include <stdio.h>.
75730 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
75732         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
75733         float.
75734         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75735         * sysdeps/sparc/bits/mathdef.h: Likewise.
75737 2012-01-31  Marek Polacek  <polacek@redhat.com>
75739         * libio/libio.h: Don't define _PARAMS.
75740         * locale/programs/config.h: Don't define PARAMS.
75741         * stdlib/strtol_l.c: Likewise.
75742         (__strtol_l): Remove PARAMS from the prototype.
75744 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
75746         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
75747         names.  Just use the correct names.  Remove unnecessary wrapper
75748         functions.
75749         * malloc/arena.c: Likewise.
75750         * malloc/hooks.c: Likewise.
75752         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
75753         ARENA_TEST says not to.  Simplify test for creation of a new arena.
75754         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
75756 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
75758         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
75759         into tail calls.
75760         (update_get_addr): New function.
75761         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
75762         GET_ADDR_MODULE parameter.
75764 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75766         * crypt/cert.c: Remove __STDC__ conditionals.
75767         * crypt/crypt-entry.c: Likewise.
75768         * crypt/crypt_util.c: Likewise.
75769         * libio/filedoalloc.c: Likewise.
75770         * libio/fileops.c: Likewise.
75771         * libio/genops.c: Likewise.
75772         * libio/iofclose.c: Likewise.
75773         * libio/iofdopen.c: Likewise.
75774         * libio/iofopen.c: Likewise.
75775         * libio/iofopen64.c: Likewise.
75776         * libio/iogetdelim.c: Likewise.
75777         * libio/iopopen.c: Likewise.
75778         * libio/obprintf.c: Likewise.
75779         * libio/oldfileops.c: Likewise.
75780         * libio/oldiofclose.c: Likewise.
75781         * libio/oldiofdopen.c: Likewise.
75782         * libio/oldiofopen.c: Likewise.
75783         * libio/oldiopopen.c: Likewise.
75784         * libio/wfiledoalloc.c: Likewise.
75785         * libio/wgenops.c: Likewise.
75786         * locale/programs/xmalloc.c: Likewise.
75787         * misc/syslog.c: Likewise.
75788         * stdio-common/xbug.c: Likewise.
75789         * string/memchr.c: Likewise.
75790         * string/memcmp.c: Likewise.
75791         * string/memrchr.c: Likewise.
75792         * string/rawmemchr.c: Likewise.
75793         * sysdeps/posix/getcwd.c: Likewise.
75794         * time/strftime_l.c: Likewise.
75796 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75798         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75799         * config.make.in (config-cflags-sse2avx): Define.
75800         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75801         Fix typo.
75803 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
75805         * scripts/config.guess: Update from upstream config git repository.
75806         * scripts/config.sub: Likewise.
75808 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
75810         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75811         (EM_NUM): Update.
75812         (R_TILEPRO_*, R_TILEGX_*): New macros.
75814         * scripts/firstversions.awk: Fix bug in version range handling.
75816         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75818         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75820         * include/sys/epoll.h: New file.
75821         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75822         libc_hidden_def.
75824 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
75826         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75827         Avoid unnecessary __WORDSIZE == 64 test.
75828         (fmaxf): Use VEX format if possible.
75829         (fmax): Likewise.
75830         (fminf): Likewise.
75831         (fmin): Likewise.
75833         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75834         * math/math_private.h: Remove libc_fegetround* and
75835         libc_fesetround*.
75836         * sysdeps/i386/configure.in: Check for -msse2avx.
75837         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
75838         also if SSE2AVX is defined.
75839         Remove libc_fegetround* and libc_fesetround*.
75840         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
75841         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
75842         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
75843         of HAS_YMM_USABLE.
75844         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75845         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75846         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75847         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75848         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75850         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
75852 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75854         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
75855         size is not set.
75856         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75858 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
75860         [BZ #13618]
75861         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
75862         relocation.
75863         * Makeconfig (libm): Define.
75864         * elf/Makefile: Add rules to build and run tst-relsort1.
75865         * elf/tst-relsort1.c: New file.
75866         * elf/tst-relsort1mod1.c: New file.
75867         * elf/tst-relsort1mod2.c: New file.
75869 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75871         * math/s_ldexp.c: Remove __STDC__ conditionals.
75872         * math/s_ldexpf.c: Likewise.
75873         * math/s_ldexpl.c: Likewise.
75874         * math/s_nextafter.c: Likewise.
75875         * math/s_nexttowardf.c: Likewise.
75876         * math/s_significand.c: Likewise.
75877         * math/s_significandf.c: Likewise.
75878         * math/s_significandl.c: Likewise.
75879         * math/w_jnl.c: Likewise.
75880         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75881         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75882         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75883         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75884         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75885         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75886         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75887         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75888         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75889         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75890         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75891         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75892         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75893         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75894         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75895         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75896         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75897         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75898         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75899         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75900         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75901         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75902         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75903         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75904         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75905         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75906         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75907         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75908         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75909         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75910         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75911         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75912         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75913         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75914         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75915         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75916         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75917         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75918         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75919         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75920         * sysdeps/ieee754/k_standard.c: Likewise.
75921         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75922         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75923         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75924         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75925         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75926         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75927         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75928         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75929         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75930         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75931         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75932         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75933         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75934         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75935         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75936         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75937         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75938         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75939         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75940         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75941         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75942         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75943         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75944         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75945         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75946         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75947         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75948         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75949         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75950         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75951         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75952         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
75953         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75954         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75955         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75956         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75957         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
75958         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75959         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75960         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
75961         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
75962         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75963         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
75964         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
75965         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75966         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
75967         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
75968         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75969         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75970         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
75971         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
75972         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75973         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75974         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75975         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75976         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75977         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
75978         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75979         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75980         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75981         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75982         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75983         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75984         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75985         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75986         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75987         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75988         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75989         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75990         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75991         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75992         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75993         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75994         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75995         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75996         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75997         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75998         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75999         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76000         * sysdeps/ieee754/s_matherr.c: Likewise.
76001         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76002         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76003         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76004         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76006 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76008         * crypt/md5.h: Remove __STDC__ conditionals.
76009         * libio/libioP.h: Likewise.
76010         * locale/programs/config.h: Likewise.
76011         * sysdeps/generic/sysdep.h: Likewise.
76012         * sysdeps/i386/asm-syntax.h: Likewise.
76013         * sysdeps/s390/asm-syntax.h: Likewise.
76014         * sysdeps/unix/sysdep.h: Likewise.
76015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
76016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
76018 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76020         * libio/libio.h: Remove __STDC__ conditionals.
76021         * malloc/obstack.h: Likewise.
76022         * math/complex.h: Likewise.
76023         * math/math.h: Likewise.
76024         * sysdeps/generic/_G_config.h: Likewise.
76025         * sysdeps/gnu/_G_config.h: Likewise.
76026         * sysdeps/mach/hurd/_G_config.h: Likewise.
76027         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76028         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76029         * sysdeps/sparc/bits/mathdef.h: Likewise.
76031 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
76033         [BZ #13583]
76034         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
76035         Clean up HAS_* macros.
76036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
76037         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
76038         possible.
76039         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
76040         HAS_AVX.
76041         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76042         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76043         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76044         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76045         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76047 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
76049         * elf/tst-unique3.cc (gets): Remove declaration.
76050         * elf/tst-unique3lib.cc (gets): Likewise.
76051         * elf/tst-unique3lib2.cc (gets): Likewise.
76052         * elf/tst-unique4.cc (gets): Likewise.
76054 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
76056         * include/stdio.h: Add C++ protection.  Add gets declarations and
76057         definitions.
76058         * debug/tst-chk1.c: Don't declare gets here.
76059         * stdio-common/tst-gets.c: Likewise.
76061 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76063         * posix/glob: Remove directory.
76065 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76067         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
76069 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
76071         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
76072         of the non-standard EPFNOSUPPORT.
76074 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76076         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
76077         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
76078         ANYWHERE set to 1 only on KERN_NO_SPACE error.
76080 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
76082         * wcsmbs/uchar.h: Test __STDC_VERSION__.
76084 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
76086         * nscd/aicache.c (addhstaiX): Do not cache negative results of
76087         transient errors.
76088         * nscd/grpcache.c (cache_addgr): Likewise.
76089         * nscd/hstcache.c (cache_addhst): Likewise.
76090         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76091         * nscd/pwdcache.c (cache_addpw): Likewise.
76092         * nscd/servicescache.c (cache_addserv): Likewise.
76094 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
76096         * malloc/malloc.c: Various cleanups.
76097         * malloc/hooks.c: Likewise.
76099         * stdlib/Makefile (tests): Add bug-fmtmsg1.
76100         * stdlib/bug-fmtmsg1.c: New file.
76102         * stdlib/fmtmsg.c (init): Add missing unlock.
76103         Patch by Peng Haitao <penght@cn.fujitsu.com>.
76105 2012-01-12  Marek Polacek  <polacek@redhat.com>
76107         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
76108         and _GNU_SOURCE.
76110 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76112         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
76113         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
76114         macro to ensure uniqueness of label name.
76115         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76116         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76118 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
76120         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
76122         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
76123         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76124         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76125         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
76127 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
76129         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
76131         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
76132         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76133         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76135         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
76137         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
76138         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76139         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76140         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
76142         * math/bits/math-finite.h: Add ldexp support.
76144 2012-01-10  Marek Polacek  <polacek@redhat.com>
76146         * locale/programs/localedef.h (show_archive_content): Add noreturn
76147         attribute.
76149 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
76151         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
76153 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76155         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
76157         * io/Makefile (headers): Add bits/poll2.h.
76159 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
76161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
76162         typo #include statement.
76164 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76166         * include/sys/cdefs.h: Define __attribute_alloc_size.
76167         * catgets/gencat.c: Add alloc_size attribute and apply consistently
76168         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
76169         * elf/pldd.c: Likewise.
76170         * iconv/iconv_charmap.c: Likewise.
76171         * iconv/iconvconfig.c: Likewise.
76172         * iconv/strtab.c: Likewise.
76173         * locale/programs/locale.c: Likewise.
76174         * locale/programs/localedef.h: Likewise.
76175         * locale/programs/simple-hash.c: Likewise.
76176         * nscd/nscd.h: Likewise.
76177         * nss/makedb.c: Likewise.
76178         * sysdeps/generic/ldconfig.h: Likewise.
76179         * locale/programs/localedef.c: Remove xmalloc prototype.
76180         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
76182 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76184         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
76185         appropriate.
76187 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76189         * math/Makefile (tests): Add tst-CMPLX.
76190         * math/tst-CMPLX.c: New file.
76192         * math/complex.h (CMPLXL): Fix typo.
76194         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
76195         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
76196         GLIBC_2.16.
76197         * debug/tst-chk1.c: Add poll and ppoll tests.
76198         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
76199         * include/sys/poll.h: Add hidden proto for ppoll.
76200         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
76201         * sysdeps/mach/hurd/ppoll.c: Likewise.
76202         * io/ppoll.c: Likewise.
76203         * debug/poll_chk.c: New file.
76204         * debug/ppoll_chk.c: New file.
76205         * include/bits/poll2.h: New file.
76206         * io/bits/poll2.h: New file.
76208         [BZ #1350]
76209         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
76211         * configure.in: static is always set to yes.  Remove.
76212         * config.make.in: Don't set build-static.
76213         * Makeconfig: Remove use of build-static.
76214         * dlfcn/Makefile: Likewise.
76215         * elf/Makefile: Likewise.
76216         * math/Makefile: Likewise.
76217         * misc/Makefile: Likewise.
76218         * nptl/Makefile: Likewise.
76219         * sysdeps/mach/hurd/Makefile: Likewise.
76221         * configure.in: PWD_P is not used anymore.
76222         * config.make.in: Remove PWD_P entry.
76224         * configure.in: Remove last remnants of RANLIB.
76225         No need to check for signed size_t anymore.
76226         Don't set libc_commonpagesize and libc_relro_required here for Alpha
76227         and IA-64.
76228         Remove __builtin_expect test because we require at least gcc 3.4.
76229         * aclocal.m4: Likewise.
76231         * wcsmbs/mbrtoc16.c: Implement using towc function.
76232         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
76233         * wcsmbs/wcsmbsload.c: Likewise.
76234         * iconv/gconv_simple.c: Likewise.
76235         * iconv/gconv_int.h: Likewise.
76236         * iconv/gconv_builtin.h: Likewise.
76237         * iconv/iconv_prog.c: Remove CHAR16 handling.
76239         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
76241         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
76243         * configure.in: Remove --with-elf and --enable-bounded options.
76244         Dont set base_machine for ia64.  More non-ELF conditions removed.
76245         Remove testing and setting of leading underscore information.
76246         * config.make.in (build-bounded): Set to no.
76247         * config.h.in: Remove NO_UNDERSCORES entry.
76248         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
76249         them.
76250         * csu/start.c: Remove !NO_UNDERSCORE code.
76251         * locale/localeinfo.h: Likewise.
76252         * sysdeps/generic/machine-gmon.h: Likewise.
76253         * sysdeps/generic/sysdep.h: Likewise.
76254         * sysdeps/i386/sysdep.h: Likewise.
76255         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76256         * sysdeps/mach/sysdep.h: Likewise.
76257         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76258         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76259         * sysdeps/sh/sysdep.h: Likewise.
76260         * sysdeps/sparc/sparc32/alloca.S: Likewise.
76261         * sysdeps/unix/i386/sysdep.S: Likewise.
76262         * sysdeps/unix/sparc/start.c: Likewise.
76263         * sysdeps/unix/sparc/sysdep.S: Likewise.
76264         * sysdeps/unix/sparc/sysdep.h: Likewise.
76265         * sysdeps/unix/start.c: Likewise.
76266         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76267         * sysdeps/x86_64/sysdep.h: Likewise.
76269 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
76271         [BZ #13553]
76272         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
76273         for non-gcc.
76274         * argp/argp-fmtstream.h: Use const instead __const.
76275         * argp/argp.h: Likewise.
76276         * assert/assert.h: Likewise.
76277         * bits/fenv.h: Likewise.
76278         * bits/sched.h: Likewise.
76279         * bits/sigset.h: Likewise.
76280         * bits/sigthread.h: Likewise.
76281         * catgets/nl_types.h: Likewise.
76282         * conform/data/pthread.h-data: Likewise.
76283         * crypt/crypt-private.h: Likewise.
76284         * crypt/crypt.h: Likewise.
76285         * crypt/crypt_util.c: Likewise.
76286         * ctype/ctype.h: Likewise.
76287         * debug/execinfo.h: Likewise.
76288         * debug/mbsnrtowcs_chk.c: Likewise.
76289         * debug/mbsrtowcs_chk.c: Likewise.
76290         * debug/wcsnrtombs_chk.c: Likewise.
76291         * debug/wcsrtombs_chk.c: Likewise.
76292         * debug/wcstombs_chk.c: Likewise.
76293         * dirent/dirent.h: Likewise.
76294         * dlfcn/dlfcn.h: Likewise.
76295         * elf/neededtest4.c: Likewise.
76296         * grp/grp.h: Likewise.
76297         * gshadow/gshadow.h: Likewise.
76298         * iconv/gconv.h: Likewise.
76299         * iconv/gconv_int.h: Likewise.
76300         * iconv/gconv_simple.c: Likewise.
76301         * iconv/iconv.h: Likewise.
76302         * iconv/loop.c: Likewise.
76303         * iconv/skeleton.c: Likewise.
76304         * include/aio.h: Likewise.
76305         * include/aliases.h: Likewise.
76306         * include/argz.h: Likewise.
76307         * include/arpa/inet.h: Likewise.
76308         * include/assert.h: Likewise.
76309         * include/dirent.h: Likewise.
76310         * include/dlfcn.h: Likewise.
76311         * include/execinfo.h: Likewise.
76312         * include/fcntl.h: Likewise.
76313         * include/fenv.h: Likewise.
76314         * include/glob.h: Likewise.
76315         * include/grp.h: Likewise.
76316         * include/libintl.h: Likewise.
76317         * include/mntent.h: Likewise.
76318         * include/netdb.h: Likewise.
76319         * include/pwd.h: Likewise.
76320         * include/rpc/netdb.h: Likewise.
76321         * include/sched.h: Likewise.
76322         * include/search.h: Likewise.
76323         * include/shadow.h: Likewise.
76324         * include/signal.h: Likewise.
76325         * include/stdio.h: Likewise.
76326         * include/stdlib.h: Likewise.
76327         * include/string.h: Likewise.
76328         * include/sys/socket.h: Likewise.
76329         * include/sys/stat.h: Likewise.
76330         * include/sys/statfs.h: Likewise.
76331         * include/sys/statvfs.h: Likewise.
76332         * include/sys/syslog.h: Likewise.
76333         * include/sys/time.h: Likewise.
76334         * include/sys/uio.h: Likewise.
76335         * include/time.h: Likewise.
76336         * include/unistd.h: Likewise.
76337         * include/utmp.h: Likewise.
76338         * include/wchar.h: Likewise.
76339         * include/wctype.h: Likewise.
76340         * inet/aliases.h: Likewise.
76341         * inet/arpa/inet.h: Likewise.
76342         * inet/netinet/ether.h: Likewise.
76343         * inet/netinet/in.h: Likewise.
76344         * intl/libintl.h: Likewise.
76345         * io/bits/fcntl2.h: Likewise.
76346         * io/fcntl.h: Likewise.
76347         * io/ftw.h: Likewise.
76348         * io/sys/poll.h: Likewise.
76349         * io/sys/stat.h: Likewise.
76350         * io/sys/statfs.h: Likewise.
76351         * io/sys/statvfs.h: Likewise.
76352         * io/utime.h: Likewise.
76353         * libio/bits/stdio.h: Likewise.
76354         * libio/bits/stdio2.h: Likewise.
76355         * libio/libio.h: Likewise.
76356         * libio/libioP.h: Likewise.
76357         * libio/stdio.h: Likewise.
76358         * locale/lc-ctype.c: Likewise.
76359         * locale/locale.h: Likewise.
76360         * login/utmp.h: Likewise.
76361         * malloc/arena.c: Likewise.
76362         * malloc/malloc.c: Likewise.
76363         * malloc/malloc.h: Likewise.
76364         * malloc/mcheck.c: Likewise.
76365         * malloc/mtrace.c: Likewise.
76366         * math/bits/mathcalls.h: Likewise.
76367         * math/fenv.h: Likewise.
76368         * math/math_private.h: Likewise.
76369         * misc/bits/error.h: Likewise.
76370         * misc/bits/syslog.h: Likewise.
76371         * misc/err.h: Likewise.
76372         * misc/error.h: Likewise.
76373         * misc/fstab.h: Likewise.
76374         * misc/mntent.h: Likewise.
76375         * misc/regexp.h: Likewise.
76376         * misc/search.h: Likewise.
76377         * misc/sgtty.h: Likewise.
76378         * misc/sys/mman.h: Likewise.
76379         * misc/sys/syslog.h: Likewise.
76380         * misc/sys/uio.h: Likewise.
76381         * misc/sys/xattr.h: Likewise.
76382         * misc/ttyent.h: Likewise.
76383         * nis/rpcsvc/ypclnt.h: Likewise.
76384         * nss/nss.h: Likewise.
76385         * posix/bits/unistd.h: Likewise.
76386         * posix/fnmatch.h: Likewise.
76387         * posix/glob.h: Likewise.
76388         * posix/sched.h: Likewise.
76389         * posix/spawn.h: Likewise.
76390         * posix/sys/wait.h: Likewise.
76391         * posix/unistd.h: Likewise.
76392         * posix/wordexp.h: Likewise.
76393         * pwd/pwd.h: Likewise.
76394         * resolv/netdb.h: Likewise.
76395         * resource/sys/resource.h: Likewise.
76396         * rt/aio.h: Likewise.
76397         * rt/bits/mqueue2.h: Likewise.
76398         * rt/mqueue.h: Likewise.
76399         * shadow/shadow.h: Likewise.
76400         * signal/signal.h: Likewise.
76401         * socket/send.c: Likewise.
76402         * socket/sendto.c: Likewise.
76403         * socket/sys/socket.h: Likewise.
76404         * stdio-common/printf.h: Likewise.
76405         * stdlib/bits/stdlib.h: Likewise.
76406         * stdlib/fmtmsg.h: Likewise.
76407         * stdlib/monetary.h: Likewise.
76408         * stdlib/stdlib.h: Likewise.
76409         * stdlib/ucontext.h: Likewise.
76410         * streams/stropts.h: Likewise.
76411         * string/argz.h: Likewise.
76412         * string/bits/string2.h: Likewise.
76413         * string/string.h: Likewise.
76414         * string/strings.h: Likewise.
76415         * sunrpc/rpc/auth.h: Likewise.
76416         * sunrpc/rpc/auth_des.h: Likewise.
76417         * sunrpc/rpc/clnt.h: Likewise.
76418         * sunrpc/rpc/netdb.h: Likewise.
76419         * sunrpc/rpc/pmap_clnt.h: Likewise.
76420         * sunrpc/rpc/xdr.h: Likewise.
76421         * sysdeps/generic/inttypes.h: Likewise.
76422         * sysdeps/generic/net/if.h: Likewise.
76423         * sysdeps/generic/sys/swap.h: Likewise.
76424         * sysdeps/gnu/net/if.h: Likewise.
76425         * sysdeps/gnu/utmpx.h: Likewise.
76426         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
76427         * sysdeps/i386/i486/bits/string.h: Likewise.
76428         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
76429         * sysdeps/s390/bits/string.h: Likewise.
76430         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
76431         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
76432         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
76433         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
76434         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
76435         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
76436         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
76437         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
76438         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
76439         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
76440         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
76441         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
76442         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
76443         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
76444         * sysdeps/unix/sysv/linux/readv.c: Likewise.
76445         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
76446         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
76447         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76448         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
76449         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
76450         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76451         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
76452         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
76453         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
76454         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
76455         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
76456         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
76457         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76458         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
76459         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
76460         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
76461         * sysvipc/sys/ipc.h: Likewise.
76462         * sysvipc/sys/msg.h: Likewise.
76463         * sysvipc/sys/sem.h: Likewise.
76464         * sysvipc/sys/shm.h: Likewise.
76465         * termios/termios.h: Likewise.
76466         * time/sys/time.h: Likewise.
76467         * time/time.h: Likewise.
76468         * wcsmbs/bits/wchar2.h: Likewise.
76469         * wcsmbs/uchar.h: Likewise.
76470         * wcsmbs/wchar.h: Likewise.
76471         * wctype/wctype.h: Likewise.
76473         [BZ #13551]
76474         * Makeconfig: Remove all but ELF support including AIX support.
76475         * Makerules: Likewise.
76476         * config.h.in: Likewise.
76477         * config.make.in: Likewise.
76478         * configure: Likewise.
76479         * configure.in: Likewise.
76480         * csu/Makefile: Likewise.
76481         * csu/version.c: Likewise.
76482         * debug/Makefile: Likewise.
76483         * dlfcn/Makefile: Likewise.
76484         * elf/Makefile: Likewise.
76485         * extra-lib.mk: Likewise.
76486         * iconv/Makefile: Likewise.
76487         * include/libc-symbols.h: Likewise.
76488         * include/shlib-compat.h: Likewise.
76489         * resolv/Makefile: Likewise.
76490         * resolv/res_libc.c: Likewise.
76491         * rt/Makefile: Likewise.
76492         * sysdeps/i386/asm-syntax.h: Likewise.
76493         * sysdeps/i386/sysdep.h: Likewise.
76494         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76495         * sysdeps/mach/sysdep.h: Likewise.
76496         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
76497         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
76498         * sysdeps/s390/asm-syntax.h: Likewise.
76499         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76500         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76501         * sysdeps/sh/sysdep.h: Likewise.
76502         * sysdeps/unix/sparc/sysdep.h: Likewise.
76503         * sysdeps/wordsize-32/divdi3.c: Likewise.
76504         * sysdeps/x86_64/sysdep.h: Likewise.
76506         * argp/Versions: Remove _argp_unlock_xxx.
76508         [BZ #13559]
76509         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
76510         * abilist/libBrokenLocale.abilist: Likewise.
76511         * abilist/libanl.abilist: Likewise.
76512         * abilist/libc.abilist: Likewise.
76513         * abilist/libcrypt.abilist: Likewise.
76514         * abilist/libdl.abilist: Likewise.
76515         * abilist/libm.abilist: Likewise.
76516         * abilist/libnsl.abilist: Likewise.
76517         * abilist/libpthread.abilist: Likewise.
76518         * abilist/libresolv.abilist: Likewise.
76519         * abilist/librt.abilist: Likewise.
76520         * abilist/libthread_db.abilist: Likewise.
76521         * abilist/libutil.abilist: Likewise.
76522         * abilist/libnss_db.abilist: New file.
76524         * scripts/abilist.awk: Add support for indirect functions.
76526         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
76528         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
76530         * shlib-versions: Remove entries for ports architectures.
76532         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
76533         files in ports.
76534         * elf/stackguard-macros.h: Remove support for IA-64.
76535         * elf/tst-auditmod1.c: Likewise.
76536         * sysdeps/generic/ldsodefs.h: Likewise.
76538         * sysdeps/unix/sysv/linux/configure.in: Ports should define
76539         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
76540         configure files.
76542         [BZ #13552]
76543         * configure.in: Remove --enable-omitfp support.
76544         * FAQ.in: Adjust.
76545         * config.make.in: Likewise.
76546         * Makeconfig: Likewise.
76547         * manual/install.texi: Likewise.
76549         In case anyone cares, the IA-64 architecture could move to ports.
76550         * sysdeps/ia64/*: Removed.
76551         * sysdeps/unix/sysv/linux/ia64/*: Removed.
76552         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
76554         [BZ #13555]
76555         * configure.in: Remove entries for unsupported architectures.
76557         [BZ #13533]
76558         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
76559         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
76560         routines.
76561         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
76562         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
76563         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
76564         fall back to using wcrtomb.
76565         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
76566         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
76567         renaming.
76568         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
76569         * wcsmbs/tst-c16c32-1.c: New file.
76571         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
76572         local variable.
76574         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
76576         * elf/tst-unique3.cc: Add explicit declaration of gets.
76577         * elf/tst-unique3lib.cc: Likewise.
76578         * elf/tst-unique3lib2.cc: Likewise.
76579         * elf/tst-unique4.cc: Likewise.
76581         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
76583 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
76585         [BZ #13566]
76586         * assert/assert.h (static_assert): Don't define for C++.
76587         * libio/stdio.h (gets): Do declare for C++ <= C++11.
76588         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
76590 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
76592         * iconv/loop.c (single loop): Fix assertion in storing of
76593         remaining bytes.
76595         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
76597 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
76599         * posix/getconf.c: Update copyright year.
76600         * nss/getent.c: Likewise.
76601         * nss/makedb.c: Likewise.
76602         * iconv/iconvconfig.c: Likewise.
76603         * iconv/iconv_prog.c: Likewise.
76604         * elf/ldconfig.c: Likewise.
76605         * elf/pldd.c: Likewise.
76606         * elf/sotruss.ksh: Likewise.
76607         * catgets/gencat.c: Likewise.
76608         * csu/version.c: Likewise.
76609         * elf/ldd.bash.in: Likewise.
76610         * elf/sprof.c (print_version): Likewise.
76611         * locale/programs/locale.c: Likewise.
76612         * locale/programs/localedef.c: Likewise.
76613         * login/programs/pt_chown.c: Likewise.
76614         * nscd/nscd.c (print_version): Likewise.
76615         * debug/xtrace.sh: Likewise.
76616         * malloc/memusage.sh: Likewise.
76617         * malloc/mtrace.pl: Likewise.
76618         * debug/catchsegv.sh: Likewise.
76620 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
76622         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
76623         pure attribute.
76625 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
76627         [BZ #13533]
76628         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
76629         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
76630         transformations.
76631         * iconv/gconv_int.h: Likewise.
76632         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
76633         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
76634         from libc for GLIBC_2.16.
76635         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
76636         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
76637         * wcsmbs/uchar.h: Really define mbstate_t.
76638         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
76639         * wcsmbs/c16rtomb.c: New file.
76640         * wcsmbs/mbrtoc16.c: New file.
76641         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
76642         for C/POSIX locale.
76643         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
76644         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
76646         * wcsmbs/wchar.h: Add missing __restrict.
76648 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76650         [BZ #13532]
76651         * time/Makefile (routines): Add timespec_get.
76652         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
76653         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
76654         timespec for ISO C11.
76655         * time/timespec_get.c: New file.
76656         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
76657         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
76659         [BZ #13531]
76660         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
76661         * stdlib/stdlib.h: Declare aligned_alloc.
76662         * Versions.def: Add GLIBC_2.16 for libc.
76663         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
76665         [BZ 13527]
76666         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
76667         ISO C11.
76669         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
76670         code.
76672         [BZ #13528]
76673         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
76675         [BZ #13529]
76676         * assert/assert.h (static_assert): Define.
76678         * version.h: Update for 2.16 development version.
76680         [BZ #13526]
76681         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
76682         _ISOC11_SOURCE.
76684         * version.h (RELEASE): Bump for 2.15 release.
76685         * include/features.h (__GLIBC_MINOR__): Bump to 15.
76687         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
76688         Patch by Marek Polacek <mpolacek@redhat.com>.
76690         * bits/byteswap.h: Protect long long constants with __extension__.
76691         * sysdeps/i386/bits/byteswap.h: Likewise.
76692         * sysdeps/ia64/bits/byteswap.h: Likewise.
76693         * sysdeps/s390/bits/byteswap.h: Likewise.
76694         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76696 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76698         [BZ #13540]
76699         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
76700         destination buffer.
76701         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
76703 2011-12-23  Marek Polacek  <polacek@redhat.com>
76705         * elf/dl-addr.c (determine_info): Add inline keyword.
76706         * elf/tst-auditmod4b.c (check_avx): Likewise.
76707         * elf/tst-auditmod6b.c (check_avx): Likewise.
76708         * elf/tst-auditmod6c.c (check_avx): Likewise.
76709         * elf/tst-auditmod7b.c (check_avx): Likewise.
76711 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76713         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
76714         !__SSE_MATH__.
76716 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76718         [BZ #13540]
76719         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
76720         processing for last bytes.
76722 2011-08-06  Bruno Haible  <bruno@clisp.org>
76724         [BZ #13061]
76725         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
76726         U+0385, not to U+1FEE.
76728         [BZ #13062]
76729         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
76730         entry for U+00A5 U+0301.
76732 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76734         [BZ #13166]
76735         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
76736         buffer for the output is too small.
76738         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
76739         optimization.
76741         [BZ #13185]
76742         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
76743         SSE flags if possible.
76745 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76747         [BZ #13540]
76748         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
76749         processing for last bytes.
76751 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
76753         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
76754         (syscall-list-default-options, syscall-list-default-condition)
76755         (syscall-list-includes): Define.
76756         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
76757         list of ABIs and options and #if conditions for each ABI.  Do not
76758         handle common syscalls between ABIs specially.
76759         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
76760         Remove.
76761         (syscall-list-variants, syscall-list-32bit-options)
76762         (syscall-list-32bit-condition, syscall-list-64bit-options)
76763         (syscall-list-64bit-condition): Define.
76764         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
76765         (syscall-list-variants, syscall-list-32bit-options)
76766         (syscall-list-32bit-condition, syscall-list-64bit-options)
76767         (syscall-list-64bit-condition): Define.
76768         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76769         Remove.
76770         (syscall-list-variants, syscall-list-32bit-options)
76771         (syscall-list-32bit-condition, syscall-list-64bit-options)
76772         (syscall-list-64bit-condition): Define.
76773         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76774         Remove.
76775         (syscall-list-variants, syscall-list-32bit-options)
76776         (syscall-list-32bit-condition, syscall-list-64bit-options)
76777         (syscall-list-64bit-condition): Define.
76779 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76781         * locale/iso-639.def: Add brx entry.
76783         [BZ #13328]
76784         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76785         Proposed by Mariusz_Cukr <marcukr@op.pl>.
76787         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76788         __feraiseexcept_renamed.
76790 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76792         [BZ #13538]
76793         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76794         EPOLLET with unsigned values.
76795         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76796         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76798         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76799         to large cancellation.
76800         * math/s_cacoshf.c: Likewise.
76801         * math/s_cacoshl.c: Likewise.
76803 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
76805         [BZ #13305]
76806         [BZ #12786]
76807         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76808         * math/s_cacoshf.c: Likewise.
76809         * math/s_cacoshl.c: Likewise.
76811 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76813         [BZ #13439]
76814         * iconv/gconv.h: Define __GCONV_SWAP.
76815         * iconvdata/unicode.c: The swap bit must be stored in __flags.
76816         * iconvdata/utf-16.c: Likewise.
76817         * iconvdata/utf-32.c: Likewise.
76819 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
76821         [BZ #13524]
76822         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76823         numerator after shifting it by one limb.
76825 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
76827         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76828         under [__USE_EXTERN_INLINES].
76830 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76832         [BZ #13446]
76833         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76835 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76837         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
76838         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
76839         optimized code.
76840         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
76841         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
76842         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
76843         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
76844         for strncasecmp/strncasecmp_l compilation.
76845         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
76846         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
76848 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
76850         [BZ #13484]
76851         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
76852         of __asm__.
76854 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76856         [BZ #13506]
76857         * time/tzfile.c (__tzfile_read): Check values from file header.
76859 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76861         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
76862         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
76863         * powerpc/powerpc32/dl-start.S: Likewise.
76864         * powerpc/powerpc32/elf/start.S: Likewise.
76865         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76866         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76867         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76868         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76869         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76870         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76871         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76872         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76873         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76874         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76875         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76876         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76877         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76878         * powerpc/powerpc32/memset.S: Likewise.
76879         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76880         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76881         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76882         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76883         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76884         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76885         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76886         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76887         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76888         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76889         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76890         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76891         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76893 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76895         * math/libm-test.inc: Added more nearbyint tests.
76896         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76897         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
76898         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
76899         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
76901 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
76903         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
76904         FD_CLOEXEC.
76906 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76908         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
76909         Add wcscpy-ssse3 wcscpy-c.
76910         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
76911         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
76912         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
76913         * sysdeps/x86_64/wcschr.S: New file.
76914         * sysdeps/x86_64/wcsrchr.S: New file.
76915         * string/test-strcmp.c: Remove checking of wcscmp function for
76916         wrong alignments.
76917         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
76918         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
76919         wcsrchr-sse2 wcsrchr-c.
76920         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
76921         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
76922         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
76923         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
76924         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
76925         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
76926         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
76927         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
76928         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
76929         * wcsmbc/wcschr.c (WCSCHR): New macro.
76931 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76933         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
76934         * wcsmbs/test-wcsrchr.c: New file.
76935         * string/test-strrchr.c: Add wcsrchr support.
76936         (WIDE): New macro.
76937         * wcsmbs/test-wcscpy.c: New file.
76938         * string/test-strcpy.c: Add wcscpy support.
76939         (WIDE): New macro.
76941 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
76943         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
76944         the inner loop.
76946 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
76948         [BZ #13472]
76949         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
76951 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
76953         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
76954         Minor optimizations.
76956         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
76957         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
76958         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
76960 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
76962         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
76963         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
76964         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
76965         for gcc to avoid warnings.
76966         * inet/Makefile (tests): Add tst-checks.
76967         * inet/tst-checks.c: New file.
76969         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
76970         warning.
76972         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
76973         __wmemcmp_sse2.
76975         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
76976         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
76978         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
76980 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
76982         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
76983         problem.
76985         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
76987 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
76989         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
76990         conditional on GCC version.
76991         (__arch_compare_and_exchange_val_8_acq)
76992         (__arch_compare_and_exchange_val_16_acq)
76993         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
76994         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
76995         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
76997 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
76999         * sysdeps/sh/backtrace.c: New file.
77001 2011-12-02  Andreas Schwab  <schwab@redhat.com>
77003         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
77004         parenthesis.
77006 2011-12-01  Andreas Schwab  <schwab@redhat.com>
77008         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
77009         falling back to utime.
77011 2011-11-30  Andreas Schwab  <schwab@redhat.com>
77013         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
77014         expectations for float.
77016 2011-11-29  Andreas Schwab  <schwab@redhat.com>
77018         * locale/weight.h (findidx): Add parameter len.
77019         * locale/weightwc.h (findidx): Likewise.
77020         * posix/fnmatch_loop.c (FCT): Adjust caller.
77021         * posix/regcomp.c (build_equiv_class): Likewise.
77022         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
77023         * posix/regexec.c (check_node_accept_bytes): Likewise.
77024         * string/strcoll_l.c (STRCOLL): Likewise.
77025         * string/strxfrm_l.c (STRXFRM): Likewise.
77027 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
77029         * Makefile.in: Remove CVSOPT handling.
77030         * configure.in: Remove use of AC_REVISION.
77031         * iconvdata/Makefile (distribute): No need to filter out CVS.
77032         * scripts/list-sources.sh: Remove CVS, subversion and monotone
77033         handling.
77035 2011-11-16  Andreas Schwab  <schwab@redhat.com>
77037         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
77038         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
77039         [USE_AS_STRNCASECMP_L]: Likewise.
77040         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
77041         NO_TLS_DIRECT_SEG_REFS.
77042         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
77043         Fix argument offsets for non-PIC.
77044         [USE_AS_STRNCASECMP_L]: Likewise.
77045         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
77046         NO_TLS_DIRECT_SEG_REFS.
77048 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77050         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
77051         O_CLOEXEC.
77052         * locale/loadlocale.c (_nl_load_locale): Likewise.
77054 2011-11-15  Andreas Schwab  <schwab@redhat.com>
77056         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
77057         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
77058         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
77059         (SYSCALL_GETTIME): Set errno on error.
77061         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
77062         count references to noai6ai_cached.
77064 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77066         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
77068         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
77069         FD_CLOEXEC for /proc/self/maps.
77071         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
77072         FD_CLOEXEC for /proc/meminfo.
77074         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
77075         gai.conf.
77077         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
77078         FD_CLOEXEC for given file.
77080         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
77082         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
77083         FD_CLOEXEC for /etc/hosts.
77084         (_gethtent): Likewise.
77086         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
77088         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
77089         cancellation and set FD_CLOEXEC for /etc/netgroup.
77091         * nss/nss_files/files-key.c (search): Don't allow cancellation when
77092         reading /etc/publickey.
77094         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
77095         allow cancellation when reading /etc/group.
77097         * nss/nss_files/files-alias.c (internal_setent): Don't allow
77098         cancellation.
77099         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
77101         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
77102         when using data file.
77104         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
77106         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
77107         (write_nis_obj): Use "c" and "e" in fopen.
77109         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
77111         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
77113         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
77115         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
77117         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
77118         locale.alias.
77120         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
77122         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
77124         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
77126         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
77127         file parsing and set FD_CLOEXEC.
77129 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77131         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
77133 2011-11-14  Andreas Schwab  <schwab@redhat.com>
77135         * malloc/arena.c (arena_get2): Don't call reused_arena when
77136         _int_new_arena failed.
77138 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77140         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
77141         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
77142         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
77143         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77144         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77145         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
77146         to compile strcasecmp and strncasecmp.
77147         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
77148         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
77150         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
77152 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
77154         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
77155         locale-defines.sym to gen-as-const-headers.
77156         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
77157         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
77158         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
77159         to compile strcasecmp and strncasecmp.
77160         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
77161         strcasecmp_l and strncasecmp_l.
77162         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
77163         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
77164         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
77165         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
77166         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
77167         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
77168         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
77169         * sysdeps/i386/i686/multiarch/strncase.S: New file.
77170         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
77171         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
77172         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
77174 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
77176         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
77177         result of SYSDEP_GETTIME_CPU to retval.
77178         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
77179         parameter list to macro.  Remove trailing semicolon.  Adjust users.
77181         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
77182         variable.
77184         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
77185         mantissa words.
77186         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
77188         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
77189         from unused variable.
77191         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
77192         DWARF definitions.
77193         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
77194         for assembling.
77196         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
77197         over namespaces.
77199         * sunrpc/rpc_prot.c (rejected): Fix case value.
77201         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
77202         unsigned long long int to avoid warnings in shift.
77204         * posix/regex_internal.c (re_string_reconstruct): Actually use result
77205         of use of trans.
77206         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
77207         variable tmp.
77209         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
77210         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
77211         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
77213         * nis/nis_table.c (nis_list): Use variable of correct type for
77214         result of __follow_path call.
77216 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77218         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
77219         of math functions ceil, trunc, floor, round, and sqrt, when
77220         avaliable on the platform.
77221         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
77222         name clash.
77223         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77224         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77225         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77227 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
77229         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
77230         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
77232 2011-11-11  Roland McGrath  <roland@hack.frob.com>
77234         * include/unistd.h: Fix __readlink return type.
77235         Reported by Chris Metcalf <cmetcalf@tilera.com>.
77237 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
77239         * stdlib/ucontext.h: Undo last change for makecontext.
77241 2011-11-11  Andreas Schwab  <schwab@redhat.com>
77243         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
77245         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
77246         * setjmp/setjmp.h: Mark functions as non-leaf.
77247         * setjmp/bits/setjmp2.h: Likewise.
77248         * stdlib/ucontext.h: Likewise.
77250 2011-11-10  Andreas Schwab  <schwab@redhat.com>
77252         * malloc/arena.c (_int_new_arena): Don't increment narenas.
77253         (reused_arena): Don't check arena limit.
77254         (arena_get2): Atomically check arena limit.
77256 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
77258         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
77259         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
77261         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
77262         instructions.
77264 2011-11-07  Andreas Schwab  <schwab@redhat.com>
77266         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
77267         handler when locking.
77269         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77270         Fix size of allocated buffer.
77272 2011-11-04  Andreas Schwab  <schwab@redhat.com>
77274         [BZ #10103]
77275         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
77276         declarations for long double functions.
77277         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
77279         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
77281 2011-11-03  Andreas Schwab  <schwab@redhat.com>
77283         * nscd/nscd.c (main): Don't start AVC thread until credentials are
77284         installed.
77286         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
77287         is disabled.
77289 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77291         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
77293 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
77295         * include/alloca.h (stackinfo_alloca_round): Define.
77296         (extend_alloca): Use it.
77297         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
77298         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
77299         here.
77301         * scripts/check-local-headers.sh: Ignore libaudit.h.
77303         * nscd/Makefile (extra-objs): Make recursively expanded.
77305 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
77307         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
77308         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
77310         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
77311         * posix/tst-rfc3484-2.c: Likewise.
77312         * posix/tst-rfc3484-3.c: Likewise.
77314         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77315         process_vm_writev.
77316         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
77317         process_vm_writev.
77318         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
77319         process_vm_writev from libc using GLIBC_2.15 version.
77321         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
77323 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
77325         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
77326         stack usage.
77328 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
77330         [BZ #13367]
77331         * nss/getent.c (initgroups_keys): Show error message in case no group
77332         names are given.
77334         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
77335         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
77336         __bump_nl_timestamp.
77337         * nscd/connections (nscd_init): When host database is served open
77338         netlink socket and request notification about configuration changes.
77339         (main_loop_poll): Track netlink file descriptor and bump timestamp
77340         in case data becomes available.
77341         (main_loop_epoll): Likewise.
77342         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
77343         (database_pers_head): Add extra_data fileds.
77344         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
77345         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
77346         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
77347         Adjust caller.
77348         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
77349         in6ai data, call __free_in6ai.
77350         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
77351         Add -DHAVE_NETLINK.
77352         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
77353         interface information.  Reuse previous data if netlink timestamp
77354         is not changed.
77355         (__bump_nl_timestamp): New function.
77356         (__free_in6ai): New function.
77358 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
77360         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
77361         close_not_cancel_no_status here.
77362         (__check_pf): Reorganize code a bit to not call close twice if OOM.
77364 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77366         [BZ #13276]
77367         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
77368         return value.
77370         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
77371         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
77372         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
77374 2011-07-03  Andreas Jaeger  <aj@suse.de>
77376         [BZ #10709]
77377         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
77378         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
77379         * math/libm-test.inc (sin_test): Add test case.
77381 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77383         [BZ #13337]
77384         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
77385         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77387         * elf/chroot_canon.c (chroot_canon): Cleanups.
77389         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
77391         [BZ #13335]
77392         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
77393         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77395         * string/test-strchr.c: Make usable for strchrnul testing.
77396         * string/test-strchrnul.c: New file.
77397         * string/Makefile (strop-tests): Add strchrnul.
77399         * po/it.po: Update from translation team.
77400         * po/es.po: Likewise.
77402 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
77404         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77405         the three constants needed as parameters.  Drop the others.
77406         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77407         __m128i_strloadu_tolower.
77408         Create and initialize variable zero and use it in all the places
77409         where _mm_setzero_si128 was used.
77411         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77412         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77413         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77414         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77415         anymore.
77416         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77417         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
77418         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
77419         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
77420         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
77421         __mpranred, __mptan.
77422         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
77423         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
77424         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
77425         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
77426         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
77427         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
77428         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
77429         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
77430         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
77432 2011-10-28  Andreas Schwab  <schwab@redhat.com>
77434         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
77435         redefine if SHARED.
77436         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
77438         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
77439         wide char related routines to wcsmbs subdir.
77441 2011-10-27  Andreas Schwab  <schwab@redhat.com>
77443         [BZ #13344]
77444         * misc/sys/cdefs.h (__THROWNL): Define.
77445         * posix/unistd.h: Use __THREADNL instead of __THREAD
77446         for memory synchronization functions.
77448 2011-10-26  Roland McGrath  <roland@hack.frob.com>
77450         [BZ #13349]
77451         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
77452         doesn't exist.
77453         * manual/stdio.texi (Obstack Streams): Node removed.
77455 2011-10-26  Andreas Schwab  <schwab@redhat.com>
77457         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
77458         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77459         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77461         * math/math_private.h (math_force_eval): Allow non-addressable
77462         arguments.
77463         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
77465 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77467         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
77468         file is not needed.
77470         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
77471         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
77472         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77473         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77474         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77475         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77476         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77477         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
77478         Add AVX variants.
77479         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
77480         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
77481         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
77482         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
77483         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
77484         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
77485         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
77486         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
77487         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
77488         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
77489         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
77490         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
77491         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
77492         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
77493         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
77494         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
77495         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
77496         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
77497         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
77499         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
77500         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
77502         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
77503         place.  Use VEX encoding when compiling for AVX.
77505 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77507         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
77508         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
77510         * string/test-strchr.c (do_test): Don't generate NUL bytes.
77512 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77514         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
77515         useless if() expression.
77516         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77517         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77518         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77519         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77520         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77521         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77522         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77523         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77524         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77525         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77526         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77527         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77528         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77529         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77530         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77531         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77532         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77533         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77534         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77536         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
77538 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77540         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
77541         condition.
77542         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77544 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77546         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
77547         .text section.  Avoid duplicate constants.
77548         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77549         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77550         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77551         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77552         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77553         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77554         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77555         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77556         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
77557         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
77558         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
77559         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
77560         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
77561         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
77562         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77563         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77564         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
77565         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
77566         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77567         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77568         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77569         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77570         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77571         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
77572         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
77573         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
77574         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
77575         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
77576         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
77577         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
77578         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
77579         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
77580         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
77581         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
77582         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
77583         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
77584         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
77585         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
77586         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
77587         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
77588         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
77589         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
77590         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
77591         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
77592         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
77594 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
77596         * sysdeps/x86_64/dla.h: Move to ...
77597         * sysdeps/x86_64/fpu/dla.h: ...here.
77598         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
77599         situations.  Use __builtin_fma only for gcc 4.6 and up.
77601         * config.make.in: Add have-mfma4 entry.
77602         * configure.in: Substitute libc_cv_cc_fma4.
77603         * math/Makefile (dbl-only-routines): Add sincostab.
77604         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
77605         Use __sincostab not sincos.
77606         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
77607         name is a macro.
77608         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77609         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77610         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77611         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
77612         using __copysign.
77613         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
77614         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
77615         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
77616         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
77617         and __inv.
77618         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
77619         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
77620         __copysign.
77621         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
77622         define aliases when function name is a macro.
77623         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
77624         sysdeps/ieee754/dbl-64/sincos.tbl.
77625         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
77626         fma4-enabled routines.
77627         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
77628         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
77629         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
77630         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
77631         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
77632         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
77633         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
77634         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
77635         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
77636         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
77637         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
77638         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
77639         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
77640         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
77641         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
77642         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
77643         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
77644         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
77645         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
77646         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
77647         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
77648         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
77649         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
77650         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
77651         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
77652         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
77653         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
77654         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
77655         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
77656         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
77658         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
77659         rename.
77660         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77661         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77662         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77663         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77664         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77665         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77666         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77667         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77669 2011-10-24  Andreas Schwab  <schwab@redhat.com>
77671         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
77673 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77675         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
77677         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
77678         prediction.
77679         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
77681         * string/strnlen.c: Don't define STRNLEN, reverse logic.
77682         Remove unused variable magic_bits.
77683         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
77685         * string/strnlen.c: Define and use STRNLEN macro.
77686         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
77687         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
77688         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
77689         * wcsmbs/wcslen.c: Define and use WCSLEN.
77690         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
77691         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
77692         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
77693         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
77694         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
77695         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
77696         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77698 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77700         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77701         strnlen-sse2-no-bsf.
77702         Rename strlen-no-bsf to strlen-sse2-no-bsf.
77703         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
77704         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
77705         Add strnlen support.
77706         (USE_AS_STRNLEN): New macro.
77707         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
77708         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
77709         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
77710         * sysdeps/x86_64/wcslen.S: New file.
77712 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
77714         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77715         XMM-moves are used for copying on small sizes.
77717 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77719         * wcsmbs/Makefile (strop-tests): Add wcschr.
77720         * wcsmbs/test-wcschr.c: New file.
77721         * string/test-strchr.c: Update.
77722         Add wcschr support.
77723         (WIDE): New macro.
77725 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77727         * wcsmbs/Makefile (strop-tests): Add wcslen.
77728         * wcsmbs/test-wcslen.c: New file.
77729         * string/test-strlen.c: Update.
77730         Add wcslen support.
77731         (WIDE): New macro.
77733 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77735         * po/it.po: Update from translation team.
77737 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77739         * sysdeps/x86_64/wcscmp.S: Update.
77740         Fix wrong comparison semantics.
77741         wcscmp shall use signed comparison not unsigned.
77742         Don't use substraction to avoid overflow bug.
77743         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
77744         * wcsmbc/wcscmp.c: Likewise.
77745         * string/test-strcmp.c: Likewise.
77746         Add new tests to check cases with negative values.
77748 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77750         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
77751         * sysdeps/x86_64/dla.h: ...here.  New file.
77752         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
77753         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77754         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77755         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77756         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77757         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77758         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77759         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77760         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77762 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
77764         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
77765         __ynl_finite aliases.
77767 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77769         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77771         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77772         define DLA_FMA.
77773         [DLA_FMA] (EMULV): Use DLA_FMA.
77774         [DLA_FMA] (MUL12): Use EMULV.
77775         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77776         that are not needed.
77777         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77778         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77779         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77780         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77781         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77782         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77783         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77785 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
77787         * math/s_nan.c: Undef __nan.
77788         * math/s_nanf.c: Undef __nanf.
77789         * math/s_nanl.c: Undef __nanl.
77790         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77791         "math_private.h".
77793 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77795         * math/s_catan.c: Add branch predictions.
77796         * math/s_catanf.c: Likewise.
77797         * math/s_catanh.c: Likewise.
77798         * math/s_catanhf.c: Likewise.
77799         * math/s_catanhl.c: Likewise.
77800         * math/s_catanl.c: Likewise.
77801         * math/s_cexp.c: Likewise.
77802         * math/s_cexpf.c: Likewise.
77803         * math/s_cexpl.c: Likewise.
77804         * math/s_clog.c: Likewise.
77805         * math/s_clog10.c: Likewise.
77806         * math/s_clog10f.c: Likewise.
77807         * math/s_clog10l.c: Likewise.
77808         * math/s_clogf.c: Likewise.
77809         * math/s_clogl.c: Likewise.
77810         * math/s_csqrt.c: Likewise.
77811         * math/s_csqrtf.c: Likewise.
77812         * math/s_csqrtl.c: Likewise.
77813         * math/s_ctanf.c: Likewise.
77814         * math/s_ctanh.c: Likewise.
77815         * math/s_ctanhf.c: Likewise.
77816         * math/s_ctanhl.c: Likewise.
77817         * math/s_ctanl.c: Likewise.
77819         * math/math_private.h: Define __nan, __nanf, __nanl.
77820         * math/s_cacosh.c: Include <math_private.h>.
77821         * math/s_cacoshl.c: Likewise.
77822         * math/s_casinh.c: Likewise.
77823         * math/s_casinhf.c: Likewise.
77824         * math/s_casinhl.c: Likewise.
77825         * math/s_ccos.c: Rely entire on ccosh.
77826         * math/s_ccosf.c: Rely entire on ccoshf.
77827         * math/s_ccosl.c: Rely entirely on ccoshl.
77828         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
77829         Remove tests for FE_INVALID.
77830         * math/s_ccoshf.c: Likewise.
77831         * math/s_ccoshl.c: Likewise.
77832         * math/s_csin.c: Likewise.
77833         * math/s_csinf.c: Likewise.
77834         * math/s_csinh.c Likewise.
77835         * math/s_csinhf.c: Likewise.
77836         * math/s_csinhl.c: Likewise.
77837         * math/s_csinl.c: Likewise.
77838         * math/s_ctan.c: Likewise.
77839         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
77840         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
77841         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
77843 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
77845         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
77846         compilation problems.
77848         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
77849         __builtin_expect.
77851 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
77853         * sysdeps/i386/configure.in: Test for -mfma4 option.
77854         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
77855         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
77856         COMMON_CPUID_INDEX_80000001.
77857         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
77858         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
77859         use it if FMA3 is not supported.
77860         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
77862         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
77863         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77865 2011-10-20  Andreas Schwab  <schwab@redhat.com>
77867         [BZ #12892]
77868         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77869         it would create a cycle with a link time dependency.
77871 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77873         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77874         instruction.
77875         * string/Makefile (strop-tests): Add rawmemchr.
77876         * string/test-rawmemchr.c: New file.
77878         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77879         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
77880         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
77881         when compiling str{,n}casecmp and when AVX is available.  Hook up
77882         new optimized code in initializers.
77884 2011-10-19  Andreas Schwab  <schwab@redhat.com>
77886         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77887         __feraiseexcept instead of feraiseexcept.
77889 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
77891         * math/math_private.h: Define defaults for libc_fetestexcept and
77892         libc_feupdateenv.
77893         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77894         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77895         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77896         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77897         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77898         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77899         libc_fetestexcept and libc_feupdateenv.
77901         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
77902         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
77903         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
77904         * sysdeps/x86_64/fpu/math_private.h: Define special version of
77905         libc_feholdexcept_setround.
77907         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
77908         Add s_nearbyint-c and s_nearbyintf-c.
77909         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
77910         nearbyintf inlines.
77911         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
77912         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
77913         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
77914         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
77916         * math/math_private.h: Define defaults for libc_fegetround,
77917         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
77918         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
77919         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
77920         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
77921         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
77922         standard functions.
77923         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77924         Remove comments and hacks for old compiler versions.
77925         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77926         libc_fegetround, libc_fesetround, libc_feholdexcept, and
77927         libc_feholdexceptl.
77929 2011-10-18  Andreas Schwab  <schwab@redhat.com>
77931         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
77932         (__feraiseexcept_renamed): Add __NTH.
77933         (feraiseexcept): Add __NTH.  Rename local variables to fix
77934         namespace violations.
77936 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
77938         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
77940         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
77942         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
77943         recently added interfaces.
77944         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
77946         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
77947         about macro parameter expansion.
77949         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
77950         __NO_MATH_INLINES is defined.  Cleanups.
77952         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
77953         and __floorf is target has SSE4.1.
77954         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
77955         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
77956         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
77957         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
77959         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
77960         name.
77961         (floorf): Likewise.
77963         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
77965 2011-10-17  Andreas Schwab  <schwab@redhat.com>
77967         * misc/sys/cdefs.h: Fix last change.
77969         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
77970         database lookup.
77972 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
77974         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
77976         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
77977         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77978         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77979         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77980         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77981         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77982         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77983         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77984         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77985         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
77986         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
77987         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
77988         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
77989         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
77990         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
77991         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
77992         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
77993         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
77994         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
77995         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
77996         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
77997         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
77999         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
78000         ceil, ceilf, floor, floorf.
78002         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
78003         Perform IRELATIVE relocations last.
78005         * elf/do-rel.h: Add another parameter nrelative, replacing the
78006         local variable with the same name.  Change name of the function
78007         to end in Rel or Rela (uppercase).
78008         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
78009         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
78010         elf_dynamic_do_##reloc function.
78012 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78014         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
78015         is sufficient, at least on modern CPUs.
78017         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
78019         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
78020         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
78022         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
78023         __expl_finite.
78024         * math/bits/math-finite.h: Add entries for exp.
78025         * math/e_expl.c: Add __*_finite alias.
78026         * sysdeps/i386/fpu/e_exp.S: Likewise.
78027         * sysdeps/i386/fpu/e_expf.S: Likewise.
78028         * sysdeps/i386/fpu/e_expl.c: Likewise.
78029         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78030         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78031         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
78032         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
78033         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
78034         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
78035         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
78037         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
78038         is sufficient, at least on modern CPUs.
78040         * ctype/ctype-info.c (__ctype_init): Define.
78041         * include/ctype.h (__ctype_init): Declare.
78042         (__ctype_b_loc): The variable is always initialized.
78043         (__ctype_toupper_loc): Likewise.
78044         (__ctype_tolower_loc): Likewise.
78045         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
78046         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
78048 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
78050         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
78052         * configure.in: Also look in $cxxmachine/include for C++ system
78053         headers.
78055 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78057         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
78058         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
78059         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
78060         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
78061         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
78062         (USE_AS_WMEMCMP): New macro.
78063         Fixing indents.
78064         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
78065         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
78066         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
78067         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
78068         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78069         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
78070         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
78071         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
78072         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
78073         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
78074         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
78075         (USE_AS_WMEMCMP): New macro.
78076         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
78077         * sysdeps/string/test-memcmp.c: Update.
78078         Fix simple_wmemcmp.
78079         Add new tests.
78080         * wcsmbs/wmemcmp.c: Update.
78081         (WMEMCMP): New macro.
78082         Fix overflow bug.
78084 2011-10-12  Andreas Jaeger  <aj@suse.de>
78086         [BZ #13268]
78087         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
78089 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78091         * libio/iofwide.c (do_length): Avoid warning.
78093         * ctype/ctype.h (__isctype_f): Add missing __THROW.
78095 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
78097         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
78099         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
78100         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
78101         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
78102         * sysdeps/i386/i686/fpu/e_log.S: New file.
78103         * sysdeps/i386/i686/fpu/e_logf.S: New file.
78104         * sysdeps/i386/i686/fpu/e_logl.S: New file.
78106         * ctype/ctype.h: Add support for inlined isXXX functions when
78107         compiling C++ code.
78109 2011-10-14  Andreas Schwab  <schwab@redhat.com>
78111         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78113         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
78115 2011-10-13  Roland McGrath  <roland@hack.frob.com>
78117         [BZ #13291]
78118         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
78120 2011-10-13  Andreas Schwab  <schwab@redhat.com>
78122         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
78123         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
78124         feraiseexcept.
78126         * sysdeps/x86_64/memrchr.S: Check for zero size.
78128         * string/stratcliff.c: Add memrchr tests.
78130 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78132         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78133         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
78134         rawmemchr-sse2 rawmemchr-sse2-bsf.
78135         * sysdeps/i386/i686/multiarch/memchr.S: New file.
78136         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
78137         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
78138         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
78139         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
78140         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
78141         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
78142         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
78143         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
78144         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
78145         * string/memrchr.c (MEMRCHR): New macro.
78147 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
78149         Add integration with gcc's -ffinite-math-only and optimize wrapper
78150         functions in libm.
78151         * Versions.def: Define GLIBC_2.15 version for libm.
78152         * math/Makefile (headers): Add bits/math-finite.h.
78153         * math/bits/math-finite.h: New file.
78154         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
78155         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
78156         * math/e_acoshl.c: Add __*_finite alias.
78157         * math/e_acosl.c: Likewise.
78158         * math/e_asinl.c: Likewise.
78159         * math/e_atan2l.c: Likewise.
78160         * math/e_atanhl.c: Likewise.
78161         * math/e_coshl.c: Likewise.
78162         * math/e_exp10.c: Likewise.
78163         * math/e_exp10f.c: Likewise.
78164         * math/e_exp10l.c: Likewise.
78165         * math/e_exp2l.c: Likewise.
78166         * math/e_fmodl.c: Likewise.
78167         * math/e_gammal_r.c: Likewise.
78168         * math/e_hypotl.c: Likewise.
78169         * math/e_j0l.c: Likewise.
78170         * math/e_j1l.c: Likewise.
78171         * math/e_jnl.c: Likewise.
78172         * math/e_lgammal_r.c: Likewise.
78173         * math/e_log10l.c: Likewise.
78174         * math/e_log2l.c: Likewise.
78175         * math/e_logl.c: Likewise.
78176         * math/e_powl.c: Likewise.
78177         * math/e_sinhl.c: Likewise.
78178         * math/e_sqrtl.c: Likewise.
78179         * math/e_scalb.c: Completely rewritten and optimized.
78180         * math/e_scalbf.c: Likewise.
78181         * math/e_scalbl.c: Likewise.
78182         * math/w_acos.c: Likewise.
78183         * math/w_acosf.c: Likewise.
78184         * math/w_acosl.c: Likewise.
78185         * math/w_acosh.c: Likewise.
78186         * math/w_acoshf.c: Likewise.
78187         * math/w_acoshl.c: Likewise.
78188         * math/w_asin.c: Likewise.
78189         * math/w_asinf.c: Likewise.
78190         * math/w_asinl.c: Likewise.
78191         * math/w_atan2.c: Likewise.
78192         * math/w_atan2f.c: Likewise.
78193         * math/w_atan2l.c: Likewise.
78194         * math/w_atanh.c: Likewise.
78195         * math/w_atanhf.c: Likewise.
78196         * math/w_atanhl.c: Likewise.
78197         * math/w_exp10.c: Likewise.
78198         * math/w_exp10f.c: Likewise.
78199         * math/w_exp10l.c: Likewise.
78200         * math/w_fmod.c: Likewise.
78201         * math/w_fmodf.c: Likewise.
78202         * math/w_fmodl.c: Likewise.
78203         * math/w_j0.c: Likewise.
78204         * math/w_j0f.c: Likewise.
78205         * math/w_j0l.c: Likewise.
78206         * math/w_j1.c: Likewise.
78207         * math/w_j1f.c: Likewise.
78208         * math/w_j1l.c: Likewise.
78209         * math/w_jn.c: Likewise.
78210         * math/w_jnf.c: Likewise.
78211         * math/w_log.c: Likewise.
78212         * math/w_logf.c: Likewise.
78213         * math/w_logl.c: Likewise.
78214         * math/w_log10.c: Likewise.
78215         * math/w_log10f.c: Likewise.
78216         * math/w_log10l.c: Likewise.
78217         * math/w_log2.c: Likewise.
78218         * math/w_log2f.c: Likewise.
78219         * math/w_log2l.c: Likewise.
78220         * math/w_pow.c: Likewise.
78221         * math/w_powf.c: Likewise.
78222         * math/w_powl.c: Likewise.
78223         * math/w_remainder.c: Likewise.
78224         * math/w_remainderf.c: Likewise.
78225         * math/w_remainderl.c: Likewise.
78226         * math/w_scalb.c: Likewise.
78227         * math/w_scalbf.c: Likewise.
78228         * math/w_scalbl.c: Likewise.
78229         * math/w_sqrt.c: Likewise.
78230         * math/w_sqrtf.c: Likewise.
78231         * math/w_sqrtl.c: Likewise.
78232         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
78233         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
78234         used.
78235         * math/math_private.h: Declare __kernel_standard_f.
78236         * math/w_cosh.c: Remove cruft and optimize a bit.
78237         * math/w_coshf.c: Likewise.
78238         * math/w_coshl.c: Likewise.
78239         * math/w_exp2.c: Likewise.
78240         * math/w_exp2f.c: Likewise.
78241         * math/w_exp2l.c: Likewise.
78242         * math/w_hypot.c: Likewise.
78243         * math/w_hypotf.c: Likewise.
78244         * math/w_hypotl.c: Likewise.
78245         * math/w_lgamma.c: Likewise.
78246         * math/w_lgamma_r.c: Likewise.
78247         * math/w_lgammaf.c: Likewise.
78248         * math/w_lgammaf_r.c: Likewise.
78249         * math/w_lgammal.c: Likewise.
78250         * math/w_lgammal_r.c: Likewise.
78251         * math/w_sinh.c: Likewise.
78252         * math/w_sinhf.c: Likewise.
78253         * math/w_sinhl.c: Likewise.
78254         * math/w_tgamma.c: Likewise.
78255         * math/w_tgammaf.c: Likewise.
78256         * math/w_tgammal.c: Likewise.
78257         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78258         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78259         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
78260         Minor optimizations.  Pretty printing.  Remove cruft.
78261         * sysdeps/i386/fpu/e_acosf.S: Likewise.
78262         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78263         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78264         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78265         * sysdeps/i386/fpu/e_acosl.c: Likewise.
78266         * sysdeps/i386/fpu/e_asin.S: Likewise.
78267         * sysdeps/i386/fpu/e_asinf.S: Likewise.
78268         * sysdeps/i386/fpu/e_atan2.S: Likewise.
78269         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
78270         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
78271         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78272         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78273         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78274         * sysdeps/i386/fpu/e_exp10.S: Likewise.
78275         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
78276         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
78277         * sysdeps/i386/fpu/e_exp2.S: Likewise.
78278         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
78279         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
78280         * sysdeps/i386/fpu/e_fmod.S: Likewise.
78281         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
78282         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
78283         * sysdeps/i386/fpu/e_hypot.S: Likewise.
78284         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
78285         * sysdeps/i386/fpu/e_log.S: Likewise.
78286         * sysdeps/i386/fpu/e_log10.S: Likewise.
78287         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78288         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78289         * sysdeps/i386/fpu/e_log2.S: Likewise.
78290         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78291         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78292         * sysdeps/i386/fpu/e_logf.S: Likewise.
78293         * sysdeps/i386/fpu/e_logl.S: Likewise.
78294         * sysdeps/i386/fpu/e_pow.S: Likewise.
78295         * sysdeps/i386/fpu/e_powf.S: Likewise.
78296         * sysdeps/i386/fpu/e_powl.S: Likewise.
78297         * sysdeps/i386/fpu/e_remainder.S: Likewise.
78298         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
78299         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
78300         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78301         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78302         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78303         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
78304         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
78305         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
78306         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78307         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78308         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78309         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78310         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78311         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78312         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
78313         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78314         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78315         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78316         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78317         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78318         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78319         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78320         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78321         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78322         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78323         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78324         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78325         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78326         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78327         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78328         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78329         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78330         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78331         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78332         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78333         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78334         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
78335         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78336         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78337         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78338         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78339         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78340         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78341         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78342         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78343         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78344         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78345         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78346         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78347         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78348         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78349         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78350         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78351         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78352         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78353         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78354         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78355         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
78356         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78357         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78358         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78359         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78360         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78361         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78362         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78363         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78364         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78365         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78366         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78367         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78368         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78369         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78370         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78371         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78372         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78373         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78374         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
78375         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78376         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78377         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78378         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78379         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78380         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78381         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78382         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
78383         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78384         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78385         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78386         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78387         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78388         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
78389         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78390         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78391         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78392         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78393         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78394         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78395         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78396         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78397         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78398         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78399         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78400         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78401         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78402         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78403         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78404         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78405         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78406         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78407         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78408         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78409         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78410         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78411         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78412         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78413         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78414         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78415         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78416         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
78417         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
78418         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
78419         (__isnanf): Likewise.
78420         (__isinf_ns): Likewise.
78421         (__isinf_nsf): Likewise.
78422         (__finite): Likewise.
78423         (__finitef): Likewise.
78424         (__ieee754_sqrt): Define as macro.
78425         (__ieee754_sqrtf): Define as macro.
78426         (__ieee754_sqrtl): Define as macro.
78427         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
78428         inlined copy.
78429         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
78430         __FINITE_MATH_ONLY__ consistent.
78431         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
78433 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
78435         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
78436         of rawmemchr.
78438         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
78440 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
78442         * po/ja.po: Update from translation team.
78444 2011-10-08  Roland McGrath  <roland@hack.frob.com>
78446         * locale/programs/locarchive.c (prepare_address_space): New function.
78447         (create_archive, enlarge_archive, open_archive): Use it.
78449         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
78450         inside [SHARED], where it is used.
78452         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
78454         * nss/getent.c (netgroup_keys): Remove unused variable.
78455         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78457 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
78459         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
78460         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
78461         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
78462         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
78463         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
78464         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
78465         * math/Makefile (libm-calls): Add s_isinf_ns.
78466         * math/divtc3.c: Use __isinf_nsl instead of isinf.
78467         * math/multc3.c: Likewise.
78468         * math/s_casin.c: Likewise.
78469         * math/s_casinf.c: Likewise.
78470         * math/s_casinl.c: Likewise.
78471         * math/s_ccos.c: Likewise.
78472         * math/s_ccosf.c: Likewise.
78473         * math/s_ccosl.c: Likewise.
78474         * math/s_ctan.c: Likewise.
78475         * math/s_ctanf.c: Likewise.
78476         * math/s_ctanh.c: Likewise.
78477         * math/s_ctanhf.c: Likewise.
78478         * math/s_ctanhl.c: Likewise.
78479         * math/s_ctanl.c: Likewise.
78480         * math/w_fmod.c: Likewise.
78481         * math/w_fmodf.c: Likewise.
78482         * math/w_fmodl.c: Likewise.
78483         * math/w_remainder.c: Likewise.
78484         * math/w_remainderf.c: Likewise.
78485         * math/w_remainderl.c: Likewise.
78486         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
78487         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
78488         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
78489         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
78490         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
78491         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
78492         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
78493         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
78495         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
78496         of the number.
78497         * stdio-common/printf_fphex.c: Likewise.
78498         * stdio-common/printf_size.c: Likewise.
78500         * math/e_exp10.c: Include math_private.h using <...> not "...".
78501         * math/e_exp10f.c: Likewise.
78502         * math/e_exp10l.c: Likewise.
78503         * math/e_exp2l.c: Likewise.
78504         * math/e_j0l.c: Likewise.
78505         * math/e_j1l.c: Likewise.
78506         * math/e_jnl.c: Likewise.
78507         * math/e_lgammal_r.c: Likewise.
78508         * math/e_rem_pio2l.c: Likewise.
78509         * math/e_scalb.c: Likewise.
78510         * math/e_scalbf.c: Likewise.
78511         * math/e_scalbl.c: Likewise.
78512         * math/k_cosl.c: Likewise.
78513         * math/k_sinl.c: Likewise.
78514         * math/k_tanl.c: Likewise.
78515         * math/s_cacoshf.c: Likewise.
78516         * math/s_catan.c: Likewise.
78517         * math/s_catanf.c: Likewise.
78518         * math/s_catanh.c: Likewise.
78519         * math/s_catanhf.c: Likewise.
78520         * math/s_catanhl.c: Likewise.
78521         * math/s_catanl.c: Likewise.
78522         * math/s_ccosh.c: Likewise.
78523         * math/s_ccoshf.c: Likewise.
78524         * math/s_ccoshl.c: Likewise.
78525         * math/s_cexp.c: Likewise.
78526         * math/s_cexpf.c: Likewise.
78527         * math/s_cexpl.c: Likewise.
78528         * math/s_clog.c: Likewise.
78529         * math/s_clog10.c: Likewise.
78530         * math/s_clog10f.c: Likewise.
78531         * math/s_clog10l.c: Likewise.
78532         * math/s_clogf.c: Likewise.
78533         * math/s_clogl.c: Likewise.
78534         * math/s_csin.c: Likewise.
78535         * math/s_csinf.c: Likewise.
78536         * math/s_csinh.c: Likewise.
78537         * math/s_csinhf.c: Likewise.
78538         * math/s_csinhl.c: Likewise.
78539         * math/s_csinl.c: Likewise.
78540         * math/s_csqrt.c: Likewise.
78541         * math/s_csqrtf.c: Likewise.
78542         * math/s_csqrtl.c: Likewise.
78543         * math/s_ctan.c: Likewise.
78544         * math/s_ctanf.c: Likewise.
78545         * math/s_ctanh.c: Likewise.
78546         * math/s_ctanhf.c: Likewise.
78547         * math/s_ctanhl.c: Likewise.
78548         * math/s_ctanl.c: Likewise.
78549         * math/s_ldexp.c: Likewise.
78550         * math/s_ldexpf.c: Likewise.
78551         * math/s_ldexpl.c: Likewise.
78552         * math/s_significand.c: Likewise.
78553         * math/s_significandf.c: Likewise.
78554         * math/s_significandl.c: Likewise.
78555         * math/w_acos.c: Likewise.
78556         * math/w_acosf.c: Likewise.
78557         * math/w_acosh.c: Likewise.
78558         * math/w_acoshf.c: Likewise.
78559         * math/w_acoshl.c: Likewise.
78560         * math/w_acosl.c: Likewise.
78561         * math/w_asin.c: Likewise.
78562         * math/w_asinf.c: Likewise.
78563         * math/w_asinl.c: Likewise.
78564         * math/w_atan2.c: Likewise.
78565         * math/w_atan2f.c: Likewise.
78566         * math/w_atan2l.c: Likewise.
78567         * math/w_atanh.c: Likewise.
78568         * math/w_atanhf.c: Likewise.
78569         * math/w_atanhl.c: Likewise.
78570         * math/w_cosh.c: Likewise.
78571         * math/w_coshf.c: Likewise.
78572         * math/w_coshl.c: Likewise.
78573         * math/w_dremf.c: Likewise.
78574         * math/w_exp10.c: Likewise.
78575         * math/w_exp10f.c: Likewise.
78576         * math/w_exp10l.c: Likewise.
78577         * math/w_exp2.c: Likewise.
78578         * math/w_exp2f.c: Likewise.
78579         * math/w_fmod.c: Likewise.
78580         * math/w_fmodf.c: Likewise.
78581         * math/w_fmodl.c: Likewise.
78582         * math/w_hypot.c: Likewise.
78583         * math/w_hypotf.c: Likewise.
78584         * math/w_hypotl.c: Likewise.
78585         * math/w_j0.c: Likewise.
78586         * math/w_j0f.c: Likewise.
78587         * math/w_j0l.c: Likewise.
78588         * math/w_j1.c: Likewise.
78589         * math/w_j1f.c: Likewise.
78590         * math/w_j1l.c: Likewise.
78591         * math/w_jn.c: Likewise.
78592         * math/w_jnf.c: Likewise.
78593         * math/w_jnl.c: Likewise.
78594         * math/w_lgamma.c: Likewise.
78595         * math/w_lgamma_r.c: Likewise.
78596         * math/w_lgammaf.c: Likewise.
78597         * math/w_lgammaf_r.c: Likewise.
78598         * math/w_lgammal.c: Likewise.
78599         * math/w_lgammal_r.c: Likewise.
78600         * math/w_log.c: Likewise.
78601         * math/w_log10.c: Likewise.
78602         * math/w_log10f.c: Likewise.
78603         * math/w_log10l.c: Likewise.
78604         * math/w_log2.c: Likewise.
78605         * math/w_log2f.c: Likewise.
78606         * math/w_log2l.c: Likewise.
78607         * math/w_logf.c: Likewise.
78608         * math/w_logl.c: Likewise.
78609         * math/w_pow.c: Likewise.
78610         * math/w_powf.c: Likewise.
78611         * math/w_powl.c: Likewise.
78612         * math/w_remainder.c: Likewise.
78613         * math/w_remainderf.c: Likewise.
78614         * math/w_remainderl.c: Likewise.
78615         * math/w_scalb.c: Likewise.
78616         * math/w_scalbf.c: Likewise.
78617         * math/w_scalbl.c: Likewise.
78618         * math/w_sinh.c: Likewise.
78619         * math/w_sinhf.c: Likewise.
78620         * math/w_sinhl.c: Likewise.
78621         * math/w_sqrt.c: Likewise.
78622         * math/w_sqrtf.c: Likewise.
78623         * math/w_sqrtl.c: Likewise.
78624         * math/w_tgamma.c: Likewise.
78625         * math/w_tgammaf.c: Likewise.
78626         * math/w_tgammal.c: Likewise.
78628         * po/ja.po: Update from translation team.
78630 2011-09-29  Andreas Jaeger  <aj@suse.de>
78632         [BZ #13179]
78633         * sunrpc/netname.c (netname2host): Fix logic.
78635         [BZ #6779]
78636         [BZ #6783]
78637         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
78638         correctly.
78639         * math/w_remainder.c (__remainder): Likewise.
78640         * math/w_remainderf.c (__remainderf): Likewise.
78641         * math/libm-test.inc (remainder_test): Add test cases.
78643 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78645         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
78646         sdiv_qrnnd.
78648 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78650         * string/test-memcmp.c: Avoid unncessary #defines.
78651         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78653 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78655         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
78656         Use new sse2 version for core i3 - i7 as it's faster
78657         than sse42 version.
78658         (bit_Prefer_PMINUB_for_stringop): New.
78659         * sysdeps/x86_64/rawmemchr.S: Update.
78660         Replace with faster SSE2 version.
78661         * sysdeps/x86_64/memrchr.S: New file.
78662         * sysdeps/x86_64/memchr.S: Update.
78663         Replace with faster SSE2 version.
78665 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
78667         * elf/dl-load.c (lose): Add cast to avoid warning.
78669 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78671         * po/ca.po: Update from translation team.
78673         * inet/getnetgrent_r.c: Hook up nscd.
78674         * nscd/Makefile (routines): Add nscd_netgroup.
78675         (nscd-modules): Add netgroupcache.
78676         (CFLAGS-netgroupcache.c): Define.
78677         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
78678         (cache_search): Add const to second parameter.
78679         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
78680         INNETGR.
78681         (dbs): Add netgrdb entry.
78682         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
78683         (verify_persistent_db): Handle netgrdb.
78684         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
78685         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
78686         GETFDNETGR.
78687         (netgroup_response_header): Define.
78688         (innetgroup_response_header): Define.
78689         (datahead): Add netgroup_response_header and innetgroup_response_header
78690         elements.
78691         * nscd/nscd.conf: Add entries for netgroup cache.
78692         * nscd/nscd.h (dbtype): Add netgrdb.
78693         (_PATH_NSCD_NETGROUP_DB): Define.
78694         (netgroup_iov_disabled): Declare.
78695         (xmalloc, xcalloc, xrealloc): Move declarations here.
78696         (cache_search): Adjust prototype.
78697         Add netgroup-related prototypes.
78698         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
78699         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
78700         (__nscd_innetgr): Declare.
78701         * nscd/selinux.c (perms): Use access_vector_t as element type and
78702         add netgroup-related initializers.
78703         * nscd/netgroupcache.c: New file.
78704         * nscd/nscd_netgroup.c: New file.
78705         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
78706         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
78707         For four parameters use innetgr.
78708         * nss/nss_files/files-init.c: Add definition and callback for netgr.
78709         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
78710         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
78711         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
78713         * nscd/connections.c (register_traced_file): Don't register file
78714         for disabled databases.
78716 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
78718         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
78720         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
78721         from tree and freeing node.
78723 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
78725         * nss/nsswitch.c (__nss_database_lookup): Handle
78726         nss_parse_service_list out of memory case.
78728 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
78730         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
78731         out of memory case.
78733 2011-10-04  Andreas Schwab  <schwab@redhat.com>
78735         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
78736         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
78737         pass it down.
78738         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
78739         elf_machine_rela, elf_machine_lazy_rel.
78740         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
78741         (ELF_DYNAMIC_DO_REL): Likewise.
78742         (ELF_DYNAMIC_DO_RELA): Likewise.
78743         (ELF_DYNAMIC_RELOCATE): Likewise.
78744         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
78745         to ELF_DYNAMIC_DO_REL.
78746         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
78747         (dl_main): In trace mode always set __RTLD_NOIFUNC.
78748         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
78749         elf_machine_rela.
78750         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
78751         skip_ifunc, don't call ifunc function if non-zero.
78752         (elf_machine_rela): Likewise.
78753         (elf_machine_lazy_rel): Likewise.
78754         (elf_machine_lazy_rela): Likewise.
78755         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
78756         (elf_machine_lazy_rel): Likewise.
78757         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
78758         Likewise.
78759         (elf_machine_lazy_rel): Likewise.
78760         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78761         Likewise.
78762         (elf_machine_lazy_rel): Likewise.
78763         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
78764         (elf_machine_lazy_rel): Likewise.
78765         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78766         (elf_machine_lazy_rel): Likewise.
78767         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78768         (elf_machine_lazy_rel): Likewise.
78769         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78770         (elf_machine_lazy_rel): Likewise.
78771         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78772         (elf_machine_lazy_rel): Likewise.
78773         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78774         (elf_machine_lazy_rel): Likewise.
78776 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
78778         * nss/nss_files/files-init.c (_nss_files_init): Use static
78779         initialization for all the *_traced_file variables.
78781 2011-09-28  Andreas Schwab  <schwab@redhat.com>
78783         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78785 2011-09-27  Roland McGrath  <roland@hack.frob.com>
78787         [BZ #13226]
78788         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78790 2011-09-27  Andreas Schwab  <schwab@redhat.com>
78792         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78793         Reread the line before reparsing it.
78795 2011-09-26  Andreas Schwab  <schwab@redhat.com>
78797         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78799 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
78800             Maxim Kuvyrkov  <maxim@codesourcery.com>
78801             Joseph Myers  <joseph@codesourcery.com>
78803         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78804         if needed for __stack_chk_guard.
78806 2011-09-19  Roland McGrath  <roland@hack.frob.com>
78808         * sysdeps/posix/spawni.c (script_execute): Always define it.
78809         It will be optimized away if unused.
78810         (maybe_script_execute): New function.
78811         (__spawni): Call it.
78813         * Makerules: Don't include tls.make.
78814         (config-tls): Always set to thread.
78815         * tls.make.c: File removed.
78817 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
78819         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78820         * config.make.in (CPPFLAGS-config): New substituted variable.
78822 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78824         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78826         [BZ #13192]
78827         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78828         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78830 2011-09-15  Roland McGrath  <roland@hack.frob.com>
78832         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78833         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78834         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78835         (CALL_FAIL): Likewise.
78836         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
78837         (CALL_FAIL): Macro removed.
78838         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
78840 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78842         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
78843         for __FINITE_MATH_ONLY__ == 1.
78845 2011-09-15  Andreas Schwab  <schwab@redhat.com>
78847         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
78848         __ieee754_sqrt instead of sqrt.
78849         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
78850         __ieee754_sqrtf instead of sqrtf.
78851         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
78852         __floorf instead of floorf.
78853         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
78854         __floorf, __truncf instead of floorf, truncf.
78856 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
78858         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
78860         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
78861         __extern_always_inline.
78862         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
78863         32-bit.
78865 2011-09-14  Andreas Schwab  <schwab@redhat.com>
78867         * elf/rtld.c (dl_main): Also relocate in dependency order when
78868         doing symbol dependency testing.
78870 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78872         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78873         Always define `refsym'.
78875 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78877         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78878         (__FD_ELT): Renamed from __FDELT.
78879         * misc/bits/select2.h (__FD_ELT): Likewise.
78880         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78881         __FD_MASK instead of __FDELT, __FDMASK.
78882         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78883         Likewise.
78884         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78885         Likewise.
78887         * elf/Makefile (gen-ldd): Fix pattern.
78889         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78890         (init_tls): Likewise.
78892 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
78894         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78896 2011-09-12  Andreas Schwab  <schwab@redhat.com>
78898         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
78899         `struct cmsghdr *' instead of `void *'.
78900         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
78901         Likewise.
78903 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
78905         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
78906         if non-absolute.
78907         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
78908         ldd_rewrite_script.
78910 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
78912         * configure.in: Remove --with-tls option.
78913         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
78914         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
78915         out in case it is missing.
78916         * sysdeps/ia64/elf/configure.in: Likewise.
78917         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
78918         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
78919         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
78920         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
78921         * sysdeps/sh/elf/configure.in: Likewise.
78922         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
78923         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78924         * sysdeps/x86_64/elf/configure.in: Likewise.
78925         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
78926         * sysdeps/mach/hurd/tls.h: Likewise.
78928         [BZ #13067]
78929         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
78931         [BZ #13090]
78932         * configure.in: Fix use of AC_INIT.
78934         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
78936 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
78938         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
78939         __set_errno.
78940         * malloc/hooks.c: Likewise.
78942         [BZ #11929]
78943         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
78944         variables statically.
78945         (narenas): Initialize.
78946         (list_lock): Initialize.
78947         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
78948         initializtion of main_arena and list_lock.  Small cleanups.
78949         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
78950         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
78951         Add initializers to main_arena and mp_.
78952         (malloc_state): Remove pagesize member.  Change all users to use
78953         GLRO(dl_pagesize).
78955         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
78956         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
78957         is always initialized.
78959         * malloc/malloc.c: Removed unused configurations and dead code.
78960         * malloc/arena.c: Likewise.
78961         * malloc/hooks.c: Likewise.
78962         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
78964         * include/tls.h: Removed.  USE___THREAD must always be defined.
78965         * bits/libc-tsd.h: Don't handle !USE___THREAD.
78966         * elf/dl-libc.c: Likewise.
78967         * elf/dl-tsd.c: Likewise.
78968         * include/errno.h: Likewise.
78969         * include/netdb.h: Likewise.
78970         * include/resolv.h: Likewise.
78971         * inet/herrno-loc.c: Likewise.
78972         * inet/herrno.c: Likewise.
78973         * malloc/arena.c: Likewise.
78974         * malloc/hooks.c: Likewise.
78975         * malloc/malloc.c: Likewise.
78976         * resolv/res-state.c: Likewise.
78977         * resolv/res_libc.c: Likewise.
78978         * sysdeps/i386/dl-machine.h: Likewise.
78979         * sysdeps/ia64/dl-machine.h: Likewise.
78980         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
78981         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
78982         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
78983         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
78984         * sysdeps/sh/dl-machine.h: Likewise.
78985         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78986         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78987         * sysdeps/unix/i386/sysdep.S: Likewise.
78988         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
78989         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
78990         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
78991         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
78992         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
78993         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
78994         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
78995         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78996         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78997         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
78998         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78999         * sysdeps/x86_64/dl-machine.h: Likewise.
79000         * tls.make.c: Likewise.
79002         * configure.in: Remove --with-__thread option.  Make tests for
79003         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
79004         tls_model attribute fail if no support is available.  Remove
79005         USE_IN_LIBIO.
79006         * Makeconfig: Adjust for dropped configure option.  All features are
79007         now mandatory.
79008         * Makerules: Likewise.
79009         * Versions.def: Likewise.
79010         * argp/argp-fmtstream.c: Likewise.
79011         * argp/argp-fmtstream.h: Likewise.
79012         * argp/argp-help.c: Likewise.
79013         * assert/assert.c: Likewise.
79014         * config.h.in: Likewise.
79015         * config.make.in: Likewise.
79016         * configure: Likewise.
79017         * configure.in: Likewise.
79018         * csu/Versions: Likewise.
79019         * csu/init.c: Likewise.
79020         * elf/tst-audit2.c: Likewise.
79021         * elf/tst-tls10.c: Likewise.
79022         * elf/tst-tls10.h: Likewise.
79023         * elf/tst-tls11.c: Likewise.
79024         * elf/tst-tls12.c: Likewise.
79025         * elf/tst-tls14.c: Likewise.
79026         * elf/tst-tlsmod11.c: Likewise.
79027         * elf/tst-tlsmod12.c: Likewise.
79028         * elf/tst-tlsmod13.c: Likewise.
79029         * elf/tst-tlsmod13a.c: Likewise.
79030         * elf/tst-tlsmod14a.c: Likewise.
79031         * elf/tst-tlsmod15b.c: Likewise.
79032         * elf/tst-tlsmod16a.c: Likewise.
79033         * elf/tst-tlsmod16b.c: Likewise.
79034         * elf/tst-tlsmod7.c: Likewise.
79035         * elf/tst-tlsmod8.c: Likewise.
79036         * elf/tst-tlsmod9.c: Likewise.
79037         * gmon/gmon.c: Likewise.
79038         * grp/fgetgrent_r.c: Likewise.
79039         * grp/putgrent.c: Likewise.
79040         * hurd/fopenport.c: Likewise.
79041         * include/libc-symbols.h: Likewise.
79042         * include/tls.h: Likewise.
79043         * intl/gettextP.h: Likewise.
79044         * intl/loadinfo.h: Likewise.
79045         * locale/global-locale.c: Likewise.
79046         * locale/localeinfo.h: Likewise.
79047         * mach/devstream.c: Likewise.
79048         * malloc/arena.c: Likewise.
79049         * malloc/set-freeres.c: Likewise.
79050         * misc/err.c: Likewise.
79051         * misc/getttyent.c: Likewise.
79052         * misc/mntent_r.c: Likewise.
79053         * posix/getopt.c: Likewise.
79054         * posix/wordexp.c: Likewise.
79055         * pwd/fgetpwent_r.c: Likewise.
79056         * resolv/Versions: Likewise.
79057         * resolv/res_hconf.c: Likewise.
79058         * shadow/fgetspent_r.c: Likewise.
79059         * shadow/putspent.c: Likewise.
79060         * stdio-common/printf_fphex.c: Likewise.
79061         * stdio-common/tmpfile.c: Likewise.
79062         * stdlib/abort.c: Likewise.
79063         * stdlib/fmtmsg.c: Likewise.
79064         * sunrpc/auth_unix.c: Likewise.
79065         * sunrpc/clnt_perr.c: Likewise.
79066         * sunrpc/clnt_tcp.c: Likewise.
79067         * sunrpc/clnt_udp.c: Likewise.
79068         * sunrpc/clnt_unix.c: Likewise.
79069         * sunrpc/openchild.c: Likewise.
79070         * sunrpc/svc_simple.c: Likewise.
79071         * sunrpc/svc_tcp.c: Likewise.
79072         * sunrpc/svc_udp.c: Likewise.
79073         * sunrpc/svc_unix.c: Likewise.
79074         * sunrpc/xdr.c: Likewise.
79075         * sunrpc/xdr_array.c: Likewise.
79076         * sunrpc/xdr_rec.c: Likewise.
79077         * sunrpc/xdr_ref.c: Likewise.
79078         * sunrpc/xdr_stdio.c: Likewise.
79080 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79082         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79084 2011-07-03  Andreas Jaeger  <aj@suse.de>
79086         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
79087         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
79088         regenerate with gen-libm-tests.pl.
79090 2010-05-12  Petr Baudis  <pasky@suse.cz>
79092         [BZ #11589]
79093         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
79094         around j0() zero points by switching to j1().
79095         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79096         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79097         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79098         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79100 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79102         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
79103         instead of 0.
79104         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
79105         instead of 0.
79106         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79107         Patch in part by Pavel Roskin <proski@gnu.org>.
79109         [BZ #13138]
79110         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
79111         realloc.
79112         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
79113         Free memory block if necessary.
79115         [BZ #12847]
79116         * libio/genops.c (INTDEF): For string streams the _lock pointer can
79117         be NULL.  Don't lock in this case.
79119 2011-09-09  Roland McGrath  <roland@hack.frob.com>
79121         * elf/elf.h (ELFOSABI_GNU): New macro.
79122         (ELFOSABI_LINUX): Define to that.
79124 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
79126         * string/strncat.c (strncat): Undef the symbol in case it has been
79127         defined in bits/string.h.
79129 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79131         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
79133         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
79134         link map.
79136 2011-08-17  Andreas Jaeger  <aj@suse.de>
79138         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
79140 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
79141             Ian Lance Taylor  <iant@google.com>
79143         * math/libm-test.inc (lround_test): New testcase.
79144         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
79146 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
79148         * Makefile: Remove support for automatic cvs check-ins.
79149         * Makerules: Likewise.
79150         * config.make.in: Likewise.
79151         * configure.in: Likewise.
79152         * intl/Makefile: Likewise.
79153         * locale/Makefile: Likewise.
79154         * po/Makefile: Likewise.
79155         * posix/Makefile: Likewise.
79156         * sysdeps/gnu/Makefile: Likewise.
79157         * sysdeps/mach/hurd/Makefile: Likewise.
79158         * sysdeps/sparc/sparc32/Makefile: Likewise.
79160         [BZ #13118]
79161         * posix/Makefile (bug-regex32-ENV): Define.
79162         Patch by John Stanley <jpsinthemix@verizon.net>.
79164         * misc/Makefile (headers): Add bits/select2.h.
79165         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
79166         * misc/bits/select2.h: New file.
79167         * include/bits/select2.h: New file.
79168         * debug/Makefile (routines): Add fdelt_chk.
79169         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
79170         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
79171         FD_ISSET.
79172         * debug/fdelt_chk.c: New file.
79174         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
79175         * wcsmbs/test-wmemcmp.c: Likewise.
79176         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
79177         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
79179 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79181         * string/Makefile (strop-tests): Add memcmp.
79182         * string/test-wmemcmp.c: New file.
79183         * string/test-memcmp.c: Add wmemcmp support.
79185 2011-09-08  Roland McGrath  <roland@hack.frob.com>
79187         [BZ #13153]
79188         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
79189         2011-07-19 change.
79191         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
79192         garbage value in a __mach_port_mod_refs call in the cases of the
79193         task-self and thread-self ports.
79195 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79197         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
79199 2011-09-08  Andreas Schwab  <schwab@redhat.com>
79201         * elf/dl-load.c (lose): Check for non-null L.
79203 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79205         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
79207         * elf/dl-libc.c (dlerror_run): Pass back error code from
79208         dl_catch_error.
79210         [BZ #13123]
79211         * elf/dl-load.c (lose): Free l_origin if it is valid.
79213         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
79214         names.
79215         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
79216         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79217         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79218         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79219         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
79220         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
79222 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79224         * sysdeps/powerpc/fpu/e_hypot.c: New file.
79225         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
79226         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
79227         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
79228         * sysdeps/powerpc/fpu/k_cosf.c: New file.
79229         * sysdeps/powerpc/fpu/k_sinf.c: New file.
79230         * sysdeps/powerpc/fpu/s_cosf.c: New file.
79231         * sysdeps/powerpc/fpu/s_sinf.c: New file.
79232         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
79233         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
79235 2011-08-15  Alan Modra  <amodra@gmail.com>
79237         [BZ #13092]
79238         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
79239         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
79240         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
79241         ppc_mcount to static-only-routines.
79242         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
79243         __mcount_internal.
79244         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
79245         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
79247 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
79249         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
79250         for finite and infinity parameters.
79252 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79254         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
79255         and add nop instructions for throughput optimization.
79256         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79258 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
79260         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
79261         aligned copy for power7 with vector-scalar instructions.
79262         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
79264 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
79266         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
79267         AVX check.
79269 2011-09-07  Andreas Schwab  <schwab@redhat.com>
79271         [BZ #13144]
79272         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
79273         last change.
79275 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79277         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79278         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
79279         syscall wrapper around clock_gettime in __vdso_clock_gettime.
79280         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
79281         clock_gettime.
79283 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79285         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
79286         Forgot to demangle the pointer.
79288         * sysdeps/i386/sysdep.h: Define atom_text_section.
79289         * sysdeps/x86_64/sysdep.h: Likewise.
79290         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
79291         section with atom_text_section.
79292         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79293         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79294         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
79295         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79296         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
79298         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
79299         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
79300         already be defined.  Change to take two parameters and don't assign
79301         result to variable.  Adjust all users.
79302         Define INTERNAL_GETTIME if not already defined.
79303         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
79304         call.
79305         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
79306         HAVE_CLOCK_GETTIME_VSYSCALL.
79307         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
79309         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
79310         gettimeofday vsyscall, just use time.
79312 2011-09-06  Andreas Schwab  <schwab@redhat.com>
79314         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
79315         <errno.h>.
79317 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79319         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
79320         syscall on x86-64.
79321         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
79322         syscall.
79323         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79324         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
79325         syscall if possible.
79327 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79329         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
79330         e_ident.  Don't pass to find_mapsXX.
79331         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
79333 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79336         strchr-sse2-no-bsf strrchr-sse2-no-bsf
79337         * sysdeps/x86_64/multiarch/strchr.S: Update.
79338         Check bit_slow_BSF bit.
79339         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79340         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
79341         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
79343 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79345         [BZ #13134]
79346         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79347         before glibc 2.15.
79348         (tryshell): Define.
79349         (__spawni): Change last parameter to be flag.  Test
79350         SPAWN_XFLAGS_USE_PATH flag to use path or not.
79351         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
79352         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
79353         * posix/spawni.c: Likewise.
79354         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
79355         * posix/spawnp.c: Likewise.  Change normal version to use
79356         SPAWN_XFLAGS_USE_PATH.
79357         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
79358         SPAWN_XFLAGS_TRY_SHELL.
79360         [BZ #13150]
79361         * posix/glob.h: Remove gcc 1.x support.
79363         [BZ #13068]
79364         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
79366 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79368         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79369         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
79370         strrchr-sse2-bsf
79371         * sysdeps/i386/i686/multiarch/strchr.S: New file.
79372         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
79373         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
79374         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
79375         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
79376         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
79378 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79380         * sysdeps/x86_64/wcscmp.S: New file.
79382         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
79383         wcscmp-c wcscmp-sse2
79384         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
79385         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
79386         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
79387         * wcsmbs/wcscmp.c: Allow renaming.
79389 2011-09-05  David S. Miller  <davem@davemloft.net>
79391         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
79392         stack slot, rather than the struct return pointer slot.
79393         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79394         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79396         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79398 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79400         * po/ja.po: Update from translation team.
79402         [BZ #13144]
79403         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79404         kernel in 64-bit binaries.
79406 2011-09-01  David S. Miller  <davem@davemloft.net>
79408         * elf/elf.h (HWCAP_SPARC_*): Move to..
79409         * sysdeps/sparc/sysdep.h: this new file and add new values.
79410         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79411         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79412         _DL_HWCAP_COUNT to 24.
79413         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79414         entries.
79415         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79416         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79417         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
79418         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
79419         instead of magic constants.
79420         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79422 2011-08-31  David S. Miller  <davem@davemloft.net>
79424         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
79425         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
79426         Reimplement to do errno handling inline.
79427         (SYSCALL_ERROR_HANDLER): New macro.
79428         (__SYSCALL_STRING): Do not do errno handling in asm.
79429         (__CLONE_SYSCALL_STRING): Delete.
79430         (__INTERNAL_SYSCALL_STRING): Delete.
79431         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
79432         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
79433         (PSEUDO): Reimplement to do errno handling inline.
79434         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
79435         (SYSCALL_ERROR_HANDLER): New macro.
79436         (__SYSCALL_STRING): Do not do errno handling in asm.
79437         (__CLONE_SYSCALL_STRING): Delete.
79438         (__INTERNAL_SYSCALL_STRING): Delete.
79439         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
79440         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
79441         i386.
79442         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
79443         (inline_syscall*): Add 'err' argument.
79444         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
79445         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
79446         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
79447         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
79449         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
79450         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79452 2011-08-30  Andreas Schwab  <schwab@redhat.com>
79454         * elf/rtld.c (dl_main): Relocate objects in dependency order.
79456 2011-08-29  Jiri Olsa <jolsa@redhat.com>
79458         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
79459         directive.
79461 2011-08-24  David S. Miller  <davem@davemloft.net>
79463         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
79465 2011-08-24  Andreas Schwab  <schwab@redhat.com>
79467         * elf/Makefile: Add rules to build and run unload8 test.
79468         * elf/unload8.c: New file.
79469         * elf/unload8mod1.c: New file.
79470         * elf/unload8mod1x.c: New file.
79471         * elf/unload8mod2.c: New file.
79472         * elf/unload8mod3.c: New file.
79474         * elf/dl-close.c (_dl_close_worker): Reset private search list if
79475         it wasn't used.
79477 2011-08-23  David S. Miller  <davem@davemloft.net>
79479         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
79480         subtract stack bias.
79481         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
79482         %sp not %fp in calculations.
79483         (_JMPBUF_UNWINDS_ADJ): Likewise.
79485         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
79486         (aio_suspend): Call it to force an exception region around the
79487         AIO_MISC_WAIT() invocation.
79489 2011-08-23  Andreas Schwab  <schwab@redhat.com>
79491         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
79492         backslash.
79494 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
79496         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
79497         protection macro.
79498         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
79499         and <dl-machine.h>.
79500         (Elf64_FuncDesc): Remove.
79502 2011-08-22  David S. Miller  <davem@davemloft.net>
79504         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
79505         sigaltstack check, add missing cfi directives.
79506         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
79507         missing cfi directives, and sigaltstack handling.
79509 2011-08-16  Andreas Schwab  <schwab@redhat.com>
79511         [BZ #11724]
79512         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
79513         object is seen twice.
79514         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79516         * elf/Makefile (distribute): Add tst-initorder2.c.
79517         (tests): Add tst-initorder2.
79518         (modules-names): Add tst-initorder2a tst-initorder2b
79519         tst-initorder2c tst-initorder2d.  Add rules to build them.
79520         ($(objpfx)tst-initorder2.out): New rule.
79521         * elf/tst-initorder2.c: New file.
79522         * elf/tst-initorder2.exp: New file.
79524 2011-08-22  Andreas Schwab  <schwab@redhat.com>
79526         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
79528         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
79529         dependencies back to end of function.
79531         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79532         $(elfobjdir)/ld.so.
79534 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
79536         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
79537         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
79538         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
79539         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
79540         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
79541         of __vdso_gettimeofday.
79542         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
79543         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
79544         attribute_hidden.
79545         (_libc_vdso_platform_setup): Remove initialization of
79546         __vdso_gettimeofday and __vdso_time.
79548 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79550         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
79551         and fgetc_unlocked.
79552         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
79553         getc_unlocked.
79555         * elf/dl-open.c (add_to_global): Report additions to the global scope
79556         for LD_DEBUG=scopes.
79557         (dl_open_worker): Also print scope of newly loaded dependencies.
79558         (_dl_show_scope): Indicate if there is no scope.
79560         [BZ #13114]
79561         * stdio-common/Makefile (tests): Add bug24.
79562         * stdio-common/bug24.c: New file.
79564 2011-08-19  Andreas Jaeger  <aj@suse.de>
79566         [BZ #13114]
79567         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
79568         non-existant file when using close-on-exec mode.
79570 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79572         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
79573         the very first instruction.
79575         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
79576         the CFI state in the end.
79577         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
79578         inclusion of dl-trampoline.h.
79579         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
79581 2011-08-19  Andreas Schwab  <schwab@redhat.com>
79583         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
79584         expectations for long double.
79586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
79587         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
79589 2011-08-14  David S. Miller  <davem@davemloft.net>
79591         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
79592         artificual limit depends upon the system page size.
79594 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79596         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
79597         * resolv/Makefile: Define CFLAGS-libresolv.
79599 2011-08-17  Andreas Schwab  <schwab@redhat.com>
79601         * nss/makedb.c (compute_tables): Make variables used in nested
79602         function static.
79604 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79606         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
79607         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
79608         if buffer was too small.
79610         * elf/pldd.c (main): Attach to all threads in the process.
79611         Rewrite /proc handling to use *at functions.
79613 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
79615         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
79616         specifies first scope to show.
79617         (dl_open_worker): Update callers.  Move printing scope of new
79618         object to before the relocation.
79619         * elf/rtld.c (dl_main): Update _dl_show_scope call.
79620         * sysdeps/generic/ldsodefs.h: Update declaration.
79622         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
79623         string for the scope number.
79625 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
79627         * nscd/servicescache.c (cache_addserv): Make sure written is always
79628         initialized.
79630 2011-08-14  Roland McGrath  <roland@hack.frob.com>
79632         * sysdeps/i386/i486/bits/atomic.h
79633         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
79634         statement expression, so as to suppress "set but not used" warning.
79635         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
79637         * string/strncat.c (STRNCAT): Use prototype definition.
79639         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
79640         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
79641         -Iprograms here.
79642         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
79643         (localedef-modules): Add localedef.
79644         (locale-modules): Add locale.
79646         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
79647         * elf/rtld.c (dl_main): Invert order of assignment in last change,
79648         to avoid a warning.
79650 2011-08-14  David S. Miller  <davem@davemloft.net>
79652         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
79653         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
79655 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
79657         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
79658         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
79659         * elf/rtld.c (dl_main): Set l_name of vDSO.
79660         Call _dl_show_scope when DL_DEBUG_SCOPES.
79661         (process_dl_debug): Recognize scopes flag and also set it for all.
79662         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
79663         Declare _dl_show_scope.
79665         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
79666         (do_dlopen): Pass caller_dlopen to dl_open.
79667         (__libc_dlopen_mode): Initialize caller_dlopen.
79669         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
79670         of libc.  Make tolower call locale-independent.  Optimize a bit by
79671         using isdigit instead of isalnum.
79672         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
79674 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
79676         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
79677         was a dependency or dynamically loaded.
79679 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
79681         * intl/l10nflist.c: Allow architecture-specific pop function.
79682         * sysdeps/x86_64/l10nflist.c: New file.
79684         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
79685         classification.
79687 2011-08-10  Andreas Schwab  <schwab@redhat.com>
79689         * include/dirent.h: Add libc_hidden_proto for scandirat and
79690         scandirat64.  Don't declare __scandirat64.
79691         * dirent/scandirat.c: Add libc_hidden_def.
79692         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
79693         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
79695 2011-08-10  David S. Miller  <davem@davemloft.net>
79697         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
79698         enum.
79699         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79700         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79701         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79703 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
79705         * Versions.def [libc]: Add GLIBC_2.15.
79706         * dirent/Makefile (routines): Add scandirat and scandirat64.
79707         * dirent/Versions [libc]: Export scandirat and scandirat64 for
79708         GLIBC_2.15.
79709         * dirent/dirent.h: Declare scandirat and scandirat64.
79710         * dirent/scandirat.c: New file.
79711         * dirent/scandirat64.c: New file.
79712         * sysdeps/wordsize-64/scandirat.c: New file.
79713         * sysdeps/wordsize-64/scandirat64.c: New file.
79714         * dirent/opendir.c: Define opendirat.
79715         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
79716         using scandirat.
79717         * dirent/scandir64.c: Adjust for scandir.c change.
79718         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
79719         __scandirat64, and __scandir_cancel_handler.
79720         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
79721         additional parameter and use openat instead of open (outside of ld.so).
79722         Add new __opendir as wrapper around __opendirat.
79723         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
79724         here without requiring old scandirat implementation.
79726 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
79728         * dirent/scandir.c (cancel_handler): Renamed to
79729         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
79730         defined.  Adjust users.
79731         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
79732         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
79734 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
79736         * string/test-string.h (IMPL): Use __STRING to expand name and then
79737         stringify it.
79739         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
79740         of cleanups.
79742 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79744         * string/Makefile: Update.
79745         (strop-tests): Append strncat.
79746         * string/test-wcscmp.c: New file.
79747         New comprehensive test for wcscmp.
79748         * string/test-strcmp.c: Update.
79749         (WIDE): New define.
79751 2011-07-22  Andreas Schwab  <schwab@redhat.com>
79753         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
79754         line.
79756 2011-07-26  Andreas Schwab  <schwab@redhat.com>
79758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79759         encoding to ACE if AI_IDN.
79761 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
79763         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
79764         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79766 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79768         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79769         Fix overflow bug in strncat.
79770         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79772         * string/test-strncat.c: Update.
79773         Add new tests for checking overflow bugs.
79775 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79777         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79778         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79779         * sysdeps/i386/i686/multiarch/strcat.S: New file.
79780         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79781         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79782         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79783         * sysdeps/i386/i686/multiarch/strncat.S: New file.
79784         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79785         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79787         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79788         (USE_AS_STRCAT): Define.
79789         Add strcat and strncat support.
79790         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79792 2011-07-25  Andreas Schwab  <schwab@redhat.com>
79794         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79795         __n bigger than INT_MAX+1.
79796         (__strncmp_g): Likewise.
79798 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
79800         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79801         * libio/stido.h: Likewise.
79803         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79804         (AF_NFC): Define.
79805         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79806         (AF_NFC): Define.
79808         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79809         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79810         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79811         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79812         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79814         [BZ #13021]
79815         * scripts/test-installation.pl: Don't expect libnss_test1 to be
79816         installed.
79818         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79819         typo.
79820         (_dl_x86_64_save_sse): Likewise.
79822 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
79824         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79825         OSXSAVE.
79826         (_dl_x86_64_save_sse): Likewise.
79828         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79830         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79832 2011-07-21  Andreas Schwab  <schwab@redhat.com>
79834         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79835         change.
79836         (_dl_x86_64_save_sse): Use correct AVX check.
79838 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79840         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
79841         bug in strncpy/strncat.
79842         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
79844 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
79846         * string/tester.c (test_strcat): Add tests for different alignments
79847         of source and destination.
79848         (test_strncat): Likewise.
79850 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79852         [BZ #12852]
79853         * posix/glob.c (glob): Check passed in values before using them in
79854         expressions to avoid some overflows.
79855         (glob_in_dir): Likewise.
79857         [BZ #13007]
79858         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
79859         check for AVX enablement so that we don't crash with old kernels and
79860         new hardware.
79861         * elf/tst-audit4.c: Add same checks here.
79862         * elf/tst-audit6.c: Likewise.
79864         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79866 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
79868         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79870 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79872         * po/cs.po: Update from translation team.
79873         * po/bg.po: Likewise.
79875 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79877         * misc/sys/cdefs.h: Add support for const attribute.
79878         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79879         to gnu_dev_{major,minor,makedev} functions.
79881 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
79883         * intl/dcigettext.c (get_output_charset): Add missing bracket.
79885 2011-07-20  Andreas Schwab  <schwab@redhat.com>
79887         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79888         strlen results.
79890 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79892         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79893         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79894         register in order to avoid conflicts with the soft frame pointer
79895         being held in r11 when necessary.
79896         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79897         (INTERNAL_VSYSCALL_NCS): Likewise.
79899 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
79901         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
79902         * elf/dl-fini.c (_dl_fini): Adjust caller.
79903         * elf/dl-close.c (_dl_close_worker): Likewise.
79904         * sysdeps/generic/ldsodefs.h: Adjust declaration.
79906 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79908         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
79909         "aux_cache->nlibs < 0".
79911         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
79912         in the reload-count case.
79914 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79917         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
79918         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
79919         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
79920         * sysdeps/x86_64/multiarch/strcat.S: New file.
79921         * sysdeps/x86_64/multiarch/strncat.S: New file.
79922         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
79923         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
79924         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
79925         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
79926         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
79927         (USE_AS_STRCAT): Define.
79928         Add strcat and strncat support.
79929         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79930         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
79931         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
79932         * string/strncat.c: Update.
79933         (USE_AS_STRNCAT): Define.
79934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79935         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
79936         and i7.
79937         * sysdeps/x86_64/multiarch/init-arch.h
79938         (bit_Prefer_PMINUB_for_stringop): New.
79939         (index_Prefer_PMINUB_for_stringop): Likewise.
79940         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
79941         bit_Prefer_PMINUB_for_stringop.
79943 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79945         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
79946         buffer64.
79947         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
79948         of casting of buffer.
79949         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
79950         buffer32 and buffer64.
79951         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
79952         writes instead of casting of buffer.
79953         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
79954         buffer32.
79955         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
79956         casting of buffer.
79958 2011-07-19  Andreas Schwab  <schwab@redhat.com>
79960         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
79962 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79964         * nscd/nscd.c (termination_handler): Don't do anything for a database
79965         if it has not yet been initialized.
79967 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79969         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79971 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79973         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79975 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79977         * po/nl.po: Update from translation team.
79978         * po/sv.po: Likewise.
79980 2011-07-16  Roland McGrath  <roland@hack.frob.com>
79982         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
79983         now disallowed by GCC.
79985         * configure.in (use-default-link): Default to yes if a test -shared
79986         link meets our qualifications.
79987         * configure: Regenerated.
79989         * config.make.in (output-format): New variable.
79990         * configure.in: Check for ld --print-output-format support.
79991         * configure: Regenerated.
79992         * Makerules ($(common-objpfx)format.lds)
79993         [$(output-format) != unknown]: Just use $(output-format),
79994         instead of the linker-script munging.
79996 2011-07-14  Roland McGrath  <roland@hack.frob.com>
79998         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
79999         of $(common-objpfx)shlib.lds.
80000         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
80002         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
80003         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
80005         * configure.in (-z relro check): Adjust test code to add a large
80006         writable data section after it.
80007         * configure: Regenerated.
80009 2011-07-11  Roland McGrath  <roland@hack.frob.com>
80011         * configure.in (-z relro check): Fix test code to make the variable
80012         truly const.
80013         * configure: Regenerated.
80015 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
80017         * nscd/nscd.h (struct traced_file): Define.
80018         (struct database_dyn): Remove inotify_descr, reset_res, and filename
80019         elements.  Add traced_files.
80020         (inotify_fd): Declare.
80021         (register_traced_file): Declare.
80022         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
80023         (inotify_fd): Export.
80024         (resolv_conf_descr): Remove.
80025         (nscd_init): Move inotify descriptor creation to main.
80026         Don't register files for notification here.
80027         (register_traced_file): New function.
80028         (invalidate_cache): Don't use reset_res to determine whether to call
80029         res_init, go through the list of registered files.
80030         (main_loop_poll): The inotify descriptors are now stored in the
80031         structures for the traced files.
80032         (main_loop_epoll): Likewise.
80033         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
80034         to __nss_disable_nscd.
80035         * nscd/cache.c (prune_cache): There is no single inotify descriptor
80036         for a database anymore.  Check the records for all the registered
80037         files instead.
80038         * nss/Makefile (libnss_files-routines): Add files-init.
80039         (libnss_db-routines): Add db-init.
80040         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
80041         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
80042         * nss/nss_db/db-init.c: New file.
80043         * nss/nss_files/files-init.c: New file.
80044         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
80045         __nss_lookup_function.
80046         (__nss_lookup_function): Call nss_load_library.
80047         (nss_load_all_libraries): New function.
80048         (__nss_disable_nscd): Take parameter with callback function for files
80049         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
80050         used for the cached services.
80051         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
80052         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
80053         options for features to all the files in nscd.
80055         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
80057 2011-07-10  Roland McGrath  <roland@hack.frob.com>
80059         * csu/elf-init.c (__libc_csu_init): Comment typo.
80061 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
80063         * po/pl.po: Update from translation team.
80064         * po/ja.po: Likewise.
80065         * po/ru.po: Likewise.
80066         * po/ko.po: Likewise.
80067         * po/fr.po: Likewise.
80069 2011-07-09  Roland McGrath  <roland@hack.frob.com>
80071         * configure.in (.ctors/.dtors header and trailer check):
80072         Use an empirical test on a built program.
80073         * configure: Regenerated.
80075         * configure.in (-z relro check): Use an empirical test on a built DSO.
80076         Detect, but do not require, on ia64.
80077         * configure: Regenerated.
80079         * configure.in (READELF): Find it with AC_CHECK_TOOL.
80080         Update tests that use readelf to use $READELF instead.
80081         * configure: Regenerated.
80083 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
80085         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
80086         if the result is not used.
80088 2011-07-05  Andreas Jaeger  <aj@suse.de>
80090         [BZ#9696]
80091         * stdlib/tst-strtod.c: Add testcase.
80093 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
80095         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
80096         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
80097         The latter has a higher limit.  Take additional parameter to pass to
80098         the new function.
80099         (__pathconf): Pass file to __statfs_link_max.
80100         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
80101         __statfs_link_max.
80102         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
80103         __statfs_link_max.
80105         [BZ #12868]
80106         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
80107         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80108         Handle Lustre.
80109         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
80110         (__statfs_filesize_max): Likewise.
80111         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
80113 2011-07-05  Andreas Jaeger  <aj@suse.de>
80115         * resolv/res_comp.c (dn_skipname): Remove unused variable.
80117 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
80119         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
80120         `status' variable.
80121         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
80122         Likewise.
80124 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
80126         * Makefile (strop-tests): Add strncat.
80127         * string/test-strncat.c: New file.
80129 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
80131         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
80133 2011-06-21  Andreas Jaeger  <aj@suse.de>
80135         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
80136         Copy rule from iconvdata/Makefile.
80138 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80140         [BZ #12922]
80141         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
80142         but no long options are defined, just return 'W'.
80144 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
80146         [BZ #9696]
80147         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
80149 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80151         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
80152         netgroups to read.
80153         (innetgr): Likewise.
80155 2011-07-05  Roland McGrath  <roland@hack.frob.com>
80157         * config.make.in (install_root): Default to $(DESTDIR).
80159 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
80161         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
80163 2011-07-02  Roland McGrath  <roland@hack.frob.com>
80165         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
80167         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
80168         containing directory rather than embedding absolute directory names.
80170         * scripts/check-local-headers.sh: Rewritten using awk.
80171         Match by word, not by line.  Print error messages for matches.
80172         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
80174         * Makerules [shlib-lds-flags empty]:
80175         ($(common-objpfx)libc_pic.opts): New target.
80176         ($(common-objpfx)libc_pic.os.clean): New target.
80177         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
80179         * config.make.in (OBJCOPY): New variable.
80180         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
80181         * configure: Regenerated.
80183         * config.make.in (use-default-link): New variable.
80184         * configure.in (use_default_link): Grok --with-default-link to set it.
80185         * configure: Regenerated.
80186         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
80187         (shlib-lds, shlib-lds-flags): Define to empty.
80189         * Makerules (shlib-lds): New variable.
80190         (shlib-lds-flags): New variable.
80191         (build-shlib, build-moduile, build-module-asneeded): Use it.
80192         ($(common-objpfx)libc.so): Use $(shlib-lds).
80193         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
80194         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
80196         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
80197         DT_FLAGS/DT_FLAGS_1 with zero flags.
80199         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
80200         linker script munging.
80202 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
80204         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
80205         as 128-bit value.
80206         * crypt/sha512.c (sha512_process_block): Perform total addition using
80207         128-bit if possible.
80208         (__sha512_finish_ctx): Likewise.
80209         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
80210         as 64-bit value.
80211         * crypt/sha256.c (SWAP64): Define.
80212         (sha256_process_block): Perform total addition using 64-bit if
80213         possible.
80214         (__sha256_finish_ctx): Likewise.
80216 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
80218         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
80219         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80220         * nscd/hstcache.c (cache_addhst): Likewise.
80221         * nscd/grpcache.c (cache_addgr): Likewise.
80222         * nscd/aicache.c (addhstaiX): Likewise.
80223         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
80225 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
80227         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
80228         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80229         * nscd/hstcache.c (cache_addhst): Likewise.
80230         * nscd/grpcache.c (cache_addgr): Likewise.
80231         * nscd/aicache.c (addhstaiX): Likewise.
80233 2011-07-01  Andreas Schwab  <schwab@redhat.com>
80235         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
80236         domain only when needed.
80238 2011-06-30  Andreas Schwab  <schwab@redhat.com>
80240         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
80241         is always restored.
80243 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
80245         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
80246         are re-adding the entry.
80247         * nscd/servicescache.c (cache_addserv): Likewise.
80249 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
80251         * sysdeps/generic/dl-irel.h: fix protection against multiple
80252         inclusions.
80253         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
80255 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
80257         [BZ #12935]
80258         * malloc/memusage.sh: Fix quoting in message.
80259         * debug/xtrace.sh: Likewise.
80261         * configure.in: Remove support for --experimental-malloc option, make
80262         it the default.
80263         * config.make.in: Likewise.
80264         * malloc/Makefile: Likewise.
80266 2011-06-27  Andreas Schwab  <schwab@redhat.com>
80268         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
80269         two-byte characters.
80271 2011-06-27  Roland McGrath  <roland@hack.frob.com>
80273         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
80274         AC_CACHE_CHECK invocation.
80275         * configure: Regenerated.
80277         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
80279 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
80281         [BZ #12350]
80282         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
80283         bit from old_res_options.
80285         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
80287         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
80288         value type for setfct.
80290 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
80292         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80293         __gettimeofday instead of gettimeofday.
80295 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
80297         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
80299 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
80301         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
80303         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
80304         info.
80306 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80308         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80309         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80310         strcpy-sse2-unaligned strncpy-sse2-unaligned
80311         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
80312         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
80313         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
80314         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
80315         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
80316         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
80317         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
80318         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
80319         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
80320         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
80321         (STRCPY): Support SSE2 and SSSE3 versions.
80323 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
80325         [BZ #12874]
80326         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
80327         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
80328         kernels which artificially limit size of requests.
80330 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80332         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80333         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80334         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
80335         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
80336         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
80337         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
80338         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
80339         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
80340         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
80341         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
80342         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
80343         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
80344         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
80345         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
80346         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
80347         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80348         Enable unaligned load optimization for Intel Core i3, i5 and i7
80349         processors.
80350         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
80351         Define.
80352         (index_Fast_Unaligned_Load): Define.
80353         (HAS_FAST_UNALIGNED_LOAD): Define.
80355 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
80357         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
80359 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80361         [BZ #12907]
80362         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
80363         until it is clear that the information is realy needed.
80364         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
80366 2011-06-22  Andreas Schwab  <schwab@redhat.com>
80368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
80370 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80372         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80373         /sys/devices/system/cpu/online if it is usable.
80375         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
80376         reading the information from the /proc filesystem to once a second.
80378 2011-06-21  Andreas Jaeger  <aj@suse.de>
80380         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
80381         NULL after inclusion of kernel headers.
80383 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
80385         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
80386         calls to internal_setent.
80388         [BZ #12885]
80389         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
80390         addresses using gethostbyname4_r ignore IPv4 addresses.
80392         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
80393         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
80395         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80397 2011-06-20  David S. Miller  <davem@davemloft.net>
80399         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80400         inclusions.
80401         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80403         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80404         (elf_irel): Use it.
80405         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80406         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80407         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80408         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80409         * sysdeps/x86_64/dl-irel.h: Likewise.
80411         * elf/dl-runtime.c: Use elf_ifunc_invoke.
80412         * elf/dl-sym.c: Likewise.
80414 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80416         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
80417         need to dereference resplen2.
80419 2011-06-14  Andreas Schwab  <schwab@redhat.com>
80421         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
80423 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80425         * Makeconfig: Define vardbdir and inst_vardbdir.
80426         * nss/Makefile: Add rules to install db-Makefile.
80428         * nss/nss_db/db-XXX.c: Cleanup.
80430         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
80431         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
80432         GLIBC_PRIVATE.
80433         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
80434         * nss/makedb.c: Implement -g option to specify that value strings
80435         are generated and should not be added to table iterated over for
80436         get*ent calls.
80437         * nss/nss_db/db-initgroups.c: New file.
80439         * nss/getent.c: Add support for initgroups lookups through getgrouplist
80440         interface.
80442         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
80443         (internal_getgrouplist): Adjust to name change.
80444         Update use_initgroups_entry if this is not the first call.
80445         * nss/databases.def: Add initgroups entry.
80447         * nss/makedb.c (compute_tables): Check result of multiple hash table
80448         sizes to minimize maximum chain length.
80450 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
80452         * Versions.def: Add entry for libnss_db.
80453         * shlib-versions: Likewise.
80454         * nss/Makefile: Add rules to build libnss_db.
80455         * nss/Versions: Add libnss_db information.  Organize libnss_files
80456         entries better.
80457         * nss/db-Makefile: Add gshadow support.  Change rules for the new
80458         makedb progra.  Some minor improvements to generate smaller files.
80459         * nss/nss_db/nss_db.h: Move NSS database header data structures to
80460         here from...
80461         * nss/makedb.c: ...here.
80462         Improve database format to be smaller and require less memory at
80463         runtime.
80464         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
80465         db anymore.
80466         * nss/nss_db/db-netgrp.c: Likewise.
80467         * nss/nss_db/db-open.c: Likewise.
80468         * nss/nss_files/flies-XXX.x: Adjust comments.
80469         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
80470         * nss/nss_files/files-grp.c: Likewise.
80471         * nss/nss_files/files-hosts.c: Likewise.
80472         * nss/nss_files/files-network.c: Likewise.
80473         * nss/nss_files/files-proto.c: Likewise.
80474         * nss/nss_files/files-pwd.c: Likewise.
80475         * nss/nss_files/files-rpc.c: Likewise.
80476         * nss/nss_files/files-service.c: Likewise.
80477         * nss/nss_files/files-sgrp.c: Likewise.
80478         * nss/nss_files/files-spwd.c: Likewise.
80479         * nss/nss_db/db-alias.c: Removed.
80480         * nss/nss_db/dummy-db.h: Removed.
80482 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
80484         * nss/makedb.c: Rewritten to not use database library.
80485         * nss/Makefile: Update to build new makedb program.
80487 2011-06-14  Andreas Jaeger  <aj@suse.de>
80489         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
80490         memset declaration.
80492 2011-06-10  Andreas Schwab  <schwab@redhat.com>
80494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
80495         tmpbuf.
80497 2011-06-10  Roland McGrath  <roland@hack.frob.com>
80499         * Makerules (shlib.lds): Fail if the linker script comes out empty.
80500         * elf/Makefile ($(objpfx)ld.so): Likewise.
80502         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
80503         Don't list ld.so twice in dependencies.
80505         * posix/bug-regex31.c: Include <stdlib.h>.
80507         * nscd/hstcache.c (cache_addhst): Remove unused variable.
80509         * nis/nss_compat/compat-spwd.c
80510         (getspent_next_nss_netgr): Remove unused variable.
80511         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
80513         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
80514         nonmembers" output to use the right array.
80516         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
80518         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80520         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
80521         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
80522         * catgets/gencat.c (read_input_file): Likewise.
80523         * locale/programs/locarchive.c (enlarge_archive): Likewise.
80525         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
80526         variable definition inside #if's controlling its use.
80528         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
80530         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
80532         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
80534         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
80535         unreachable code.
80537         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
80539         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
80540         * configure: Regenerated.
80542         * Makerules: Revert last change.
80543         * elf/Makefile: Likewise.
80545 2011-06-09  Roland McGrath  <roland@hack.frob.com>
80547         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
80548         * elf/Makefile ($(objpfx)librtld.os): Likewise.
80549         (reloc-link): Likewise.
80551 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
80553         * elf/Makefile: Add rules to build pldd.
80554         * elf/pldd.c: New file.
80555         * elf/pldd-xx.c: New file.
80557 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
80559         * version.h: Update for 2.15 development version.
80561 2011-06-07  David S. Miller  <davem@davemloft.net>
80563         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
80564         ifuncs.
80565         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
80566         elf_machine_lazy_rel): Likewise.
80567         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
80568         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
80569         elf_machine_lazy_rel): Likewise.
80570         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
80571         dl_hwcap via passed in argument.
80572         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
80573         Likewise.
80575 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80577         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
80579 2011-06-06  Roland McGrath  <roland@hack.frob.com>
80581         [BZ #12849]
80582         * manual/fdl-1.1.texi: New file, verbatim from:
80583         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
80584         * manual/lgpl-2.1.texi: New file, verbatim from:
80585         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
80586         * manual/Makefile (licenses): New variable, list those new file names.
80587         (texis): Use it.
80588         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
80590         * manual/fdl.texi: File removed.
80591         * manual/lesser.texi: File removed.
80592         * manual/libc.texinfo (Copying, Documentation License):
80593         Use new @include file names, put @appendix directive before @include.
80595 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
80597         [BZ #12841]
80598         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
80599         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
80600         (mq_open): Add __NTH.
80602 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
80604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80605         Assume Intel Core i3/i5/i7 processor if AVX is available.
80607 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80609         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80610         typo.
80612 2011-05-31  Andreas Schwab  <schwab@redhat.com>
80614         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
80615         memory.  Use alloca_account.  Fix memory leak when retrying.
80617 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80619         * version.h (RELEASE): Bump for 2.14 release.
80620         * include/features.h (__GLIBC_MINOR__): Bump to 14.
80622         * config.make.in (RANLIB): Remove entry.
80624 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
80626         * po/Makefile (po-sed-cmd): Add ksh to extensions.
80627         (libc.pot): Work around missing support for .ksh extension in xgettext.
80629         [BZ #12684]
80630         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
80631         if both request failed.
80632         (send_dg): In case of server errors clear resplen or *resplen2.
80634         [BZ #12454]
80635         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
80636         when there are multiple maps.
80637         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
80638         (_dl_fini): Remove test here.
80640         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
80642 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
80644         [BZ #12350]
80645         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
80646         bit from old_res_options.
80647         (gaih_inet): Likewise.
80649         [BZ #11099]
80650         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
80651         as signed.
80653         * resolv/res_init.c (res_setoptions): Make the code more compact.
80655         [BZ #11558]
80656         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
80657         set RES_USEVC.
80659         [BZ #11634]
80660         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
80662         * malloc/malloc.h: Mark malloc hook variables as deprecated.
80664         [BZ #11781]
80665         * malloc/malloc.h: Declare malloc hook variables as volatile.
80667         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
80668         in last patch.
80670         [BZ #11799]
80671         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
80672         raise in the comment.
80673         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80674         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80675         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
80677 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
80679         [BZ #12811]
80680         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
80681         grow the buffers more if it already has to be sufficient.
80682         (build_wcs_upper_buffer): Likewise.
80683         * posix/regexec.c (check_matching): Likewise.
80684         (clean_state_log_if_needed): Likewise.
80685         (extend_buffers): Don't enlarge buffers beyond size of the input
80686         buffer.
80687         Patches mostly by Emil Wojak <emil@wojak.eu>.
80688         * posix/bug-regex32.c: New file.
80689         * posix/Makefile (tests): Add bug-regex32.
80691         * locale/findlocale.c (_nl_find_locale): Return right away if
80692         _nl_explode_name failed.
80693         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
80695         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
80697         * debug/xtrace.sh: Unify messages.
80698         * malloc/memusage.sh: Likewise.
80700         [BZ #12813]
80701         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
80702         time symbol from vDSO.  Substitute with vsyscall if not available.
80703         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
80704         __vdso_time.
80706         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
80707         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
80708         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
80709         Add sendmmsg and internal_sendmmsg.
80710         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
80711         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
80712         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
80714         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
80715         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
80716         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
80718 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
80720         [BZ #12813]
80721         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
80722         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
80723         available.
80724         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
80725         __vdso_getcpu.
80727         [BZ #12814]
80728         * iconvdata/Makefile (tests): Add bug-iconv9.
80729         * iconvdata/bug-iconv9.c: New file.
80731 2011-05-27  Andreas Schwab  <schwab@redhat.com>
80733         [BZ #12814]
80734         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
80736 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
80738         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80739         (struct user_regs_struct): Change intcs field back to cs.
80741 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
80743         * po/ja.po: Update from translation team.
80745 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
80747         [BZ #12795]
80748         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
80749         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80751 2011-05-20  Andreas Schwab  <schwab@redhat.com>
80753         * stdlib/longlong.h: Update from GCC.
80755 2011-05-23  Andreas Schwab  <schwab@redhat.com>
80757         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
80758         parameter name.
80759         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
80760         Add parameter name.
80761         (__sysconf): Pass it down.
80763 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
80765         [BZ #12671]
80766         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80767         some situations.
80768         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80769         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80770         add in in __libc_use_alloca calls.  Adjust callers.
80771         (glob): Use malloc in some situations.
80773         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80774         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80775         pltexit.
80777 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
80779         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80780         and CLOCK_BOOTTIME_ALARM.
80782         [BZ #12782]
80783         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80784         is returned.
80786         * string/_strerror.c (__strerror_r): Print negative errors as signed
80787         numbers.
80789         [BZ #12777]
80790         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80791         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80792         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80794         * configure.in: Fix typo in redirection and correct removal of test
80795         files in two cases.
80797         [BZ #12788]
80798         * locale/setlocale.c (new_composite_name): Fix test to check for
80799         identical name of all categories.
80801         [BZ #12792]
80802         * libio/filedoalloc.c (local_isatty): New function.
80803         (_IO_file_doallocate): Use local_isatty.
80804         * stdio-common/perror.c (perror): In case a new stream is used
80805         forward the stream error.
80806         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80807         error flag.
80809 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
80811         [BZ #11884]
80812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80813         alloca.
80814         * include/alloca.h (extend_alloca_account): Define.
80816         [BZ #11857]
80817         * posix/regex.h: Fix comments with documentation of user-accessible
80818         fields after compilation and describe correct free'ing of pattern
80819         after re_compile_pattern.
80820         Patch by Reuben Thomas <rrt@sc3d.org>.
80822 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
80824         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80825         and -mno-altivec to prevent the compiler from using Altivec and/or
80826         VSX instructions when the corresponding registers are not available.
80828 2011-05-19  Andreas Schwab  <schwab@redhat.com>
80830         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80832 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
80834         * libio/freopen.c (freopen): Use __dup2, not dup2.
80835         * libio/freopen64.c (freopen64): Likewise.
80837 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80839         [BZ #12775]
80840         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
80841         * math/Makefile (tests): Add test-powl.
80842         (CFLAGS-test-powl.c): Define.
80843         * math/test-powl.c: New file.
80845 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80847         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
80849 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
80851         [BZ #11837]
80852         * iconvdata/gb18030.c: Update to GB18020-2005.
80854 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
80856         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
80857         RE_SYNTAX_POSIX_AWK): Update to match recent development.
80858         Patch by Aharon Robbins <arnold@skeeve.com>.
80860         [BZ #11892]
80861         * stdlib/putenv.c (putenv): Don't always create copy of the variable
80862         on the stack.
80864         [BZ #11895]
80865         * misc/pselect.c (__pselect): Handle timeout value errors hidden
80866         through underflows.
80868         [BZ #12766]
80869         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80870         point to strings before performing equality test for error_one_per_line
80871         mode.
80873         [BZ #11697]
80874         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80876         [BZ #11820]
80877         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80878         (struct user_fpregs_struct): Avoid __uint*_t types.
80880         [BZ #6420]
80881         * malloc/mtrace.c (tr_where): Add additional parameter to point to
80882         symbol info.  Use it instead of calling _dl_addr locally.
80883         (lock_and_info): New function.
80884         (tr_freehook): Call lock_and_info and pass symbol info as additional
80885         parameter to tr_where.
80886         (tr_mallochook): Likewise.
80887         (tr_reallochook): Likewise.
80888         (tr_memalignhook): Likewise.
80890         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
80891         used and couldn't be at all thread-safe.
80893 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
80895         * libio/freopen.c (freopen): Don't close old file descriptor
80896         before the new one is opened.  Instead dup the new file descriptor
80897         to the old one after the new stream is created.
80898         * libio/freopen64.c (freopen64): Likewise.
80899         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
80900         * libio/fileops.c (_IO_new_file_close_it): Handle new
80901         _IO_FLAGS2_NOCLOSE flag.
80902         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
80903         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
80904         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
80905         _IO_FLAGS2_NOCLOSE flag.
80906         * include/unistd.h: Add hidden_proto for dup3.
80907         Define __have_dup3.
80908         * io/dup3.c: Define hidden symbol.
80909         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
80911         [BZ #7101]
80912         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
80913         when an incomplete long option is used.
80914         * posix/tst-getopt_long1.c: New file.
80915         * posix/Makefile (tests): Add tst-getopt_long1.
80917         [BZ #10138]
80918         * scripts/config.guess: Update from autoconf-2.68.
80919         * scripts/config.sub: Likewise.
80921         [BZ #10157]
80922         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
80923         tests into ...
80924         (has_cpuclock): ...this.  New function.
80925         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
80926         macro here based on has_cpuclock code.
80928         [BZ #10149]
80929         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80930         First byte (not low byte) is now always NUL.
80931         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
80933         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80934         Use non-cancelable interfaces.
80936         [BZ #9809]
80937         * locale/iso-639.def: Add entry for Sorani.
80939         [BZ #11901]
80940         * include/stdlib.h: Move include protection to the right place.
80941         Define abort_msg_s.  Declare __abort_msg with it.
80942         * stdlib/abort.c (__abort_msg): Adjust type.
80943         * assert/assert.c (__assert_fail_base): New function.  Majority
80944         of code from __assert_fail.  Allocate memory for __abort_msg with
80945         mmap.
80946         (__assert_fail): Now call __assert_fail_base.
80947         * assert/assert-perr.c: Remove bulk of implementation.  Use
80948         __assert_fail_base.
80949         * include/assert.hL Declare __assert_fail_base.
80950         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
80951         mmap.
80952         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
80954 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
80956         [BZ #11952]
80957         [BZ #12453]
80958         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
80959         until all modules are registered in the DTV.
80960         * elf/Makefile: Add rules to build and run tst-tls19.
80961         * elf/tst-tls19.c: New file.
80962         * elf/tst-tls19mod1.c: New file.
80963         * elf/tst-tls19mod2.c: New file.
80964         * elf/tst-tls19mod3.c: New file.
80965         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
80967         [BZ #12083]
80968         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
80969         correctly.
80971         [BZ #12601]
80972         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
80973         two-byte sequence errors.
80974         * iconvdata/Makefile (tests): Add bug-iconv8.
80975         * iconvdata/bug-iconv8.c: New file.
80977         [BZ #12626]
80978         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
80979         buf2 definition.
80981         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
80983         [BZ #12432]
80984         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
80985         (dummy_getcfa): New function.
80986         (init): Get _Unwind_GetCFA address, use dummy if not found.
80987         (backtrace_helper): In recursion check, also check whether CFA changes.
80988         (__backtrace): Completely initialize arg.
80990         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
80991         storing incomplete byte sequence in state object.  Avoid testing for
80992         guaranteed too small input if we know there is enough data available.
80994 2011-05-11  Andreas Schwab  <schwab@redhat.com>
80996         * Makeconfig (+link-pie): Indent.
80997         * Rules (binaries-pie): Define if $(have-fpie) and
80998         $(build-shared).
80999         (binaries-shared): Also filter out $(binaries-pie).
81000         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
81001         * nscd/Makefile (others-pie): Add nscd.
81002         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
81003         ($(objpfx)nscd): Remove command override.
81004         * login/Makefile (others-pie): Add pt_chown.
81005         ($(objpfx)pt_chown): Remove command override.
81006         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
81007         remove command overrides.
81009 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
81011         * libio/tst_putwc.c: Fix error messages.
81013         [BZ #12724]
81014         * libio/fileops.c (_IO_new_file_close_it): Always flush when
81015         currently writing and seek to current position when not.
81016         * libio/Makefile (tests): Add bug-fclose1.
81017         * libio/bug-fclose1.c: New file.
81019 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
81021         [BZ #12511]
81022         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
81023         don't set DF_1_NODELETE here.
81024         (do_lookup_x): When entering new entry test for copy relocation
81025         and if necessary set DF_1_NODELETE flag.
81026         * elf/tst-unique4.cc: New file.
81027         * elf/tst-unique4.h: New file.
81028         * elf/tst-unique4lib.cc: New file.
81029         * elf/Makefile: Add rules to build and run tst-unique4.
81030         Patch by Piotr Bury <pbury@goahead.com>.
81032 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
81034         [BZ #12052]
81035         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
81037         [BZ #12625]
81038         * misc/mntent_r.c (addmntent): Flush the stream after the output
81040         [BZ #12393]
81041         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
81042         (is_trusted_path_normalize): Skip initial colon.  Append slash
81043         to empty buffer.  Duplicate is_trusted_path code but allow
81044         constructed patch to be prefix.
81045         (is_dst): Allow $ORIGIN followed by /.
81046         (_dl_dst_substitute): Correct clearing of check_for_trusted.
81047         Correct testing of result of is_trusted_path_normalize
81048         (decompose_rpath): Fix warning.
81050 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
81052         [BZ #11257]
81053         * grp/initgroups.c (internal_getgrouplist): When we found the service
81054         list through the initgroups entry in nsswitch.conf do not always
81055         continue on a successful lookup.  Don't always use the
81056         __nss_group_database value if it is set.
81057         * nss/nsswitch.conf (initgroups): Change action for successful db
81058         lookup to continue for compatibility.
81060 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
81062         [BZ #11532]
81063         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
81064         and CP774 modules.
81065         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
81066         and CP774 modules.
81067         * iconvdata/tst-tables.sh: Likewise.
81068         * iconvdata/cp770.c: New file.
81069         * iconvdata/cp771.c: New file.
81070         * iconvdata/cp772.c: New file.
81071         * iconvdata/cp773.c: New file.
81072         * iconvdata/cp774.c: New file.
81073         * iconvdata/testdata/CP770: New file.
81074         * iconvdata/testdata/CP770..UTF8: New file.
81075         * iconvdata/testdata/CP771: New file.
81076         * iconvdata/testdata/CP771..UTF8: New file.
81077         * iconvdata/testdata/CP772: New file.
81078         * iconvdata/testdata/CP772..UTF8: New file.
81079         * iconvdata/testdata/CP773: New file.
81080         * iconvdata/testdata/CP773..UTF8: New file.
81081         * iconvdata/testdata/CP774: New file.
81082         * iconvdata/testdata/CP774..UTF8: New file.
81084         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
81085         END CHARMAP line.
81086         * iconvdata/gen-8bit-gap.sh: Likewise.
81087         * iconvdata/gen-8bit.sh: Likewise.
81089         * locale/iso-639.def: Add ary entry.
81091         [BZ #11258]
81092         * locale/C-translit.h.in: Add U20A1 transliteration.
81094         [BZ #12178]
81095         * locale/iso-639.def: Add wae entry.
81096         Patch by Kevin Bortis <bortis@translate-wae.ch>.
81098         [BZ #12545]
81099         * locale/programs/localedef.c (construct_output_path): Use ssize_t
81100         for n.
81102         [BZ #12711]
81103         * locale/C-translit.h.in: Add entry for U20B9.
81104         Patch by pravin.d.s@gmail.com.
81106 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
81108         [BZ #12713]
81109         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
81110         ENAMETOOLONG use generic getcwd.
81111         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
81112         in rtld.  Use *stat64.
81113         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
81114         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
81115         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
81116         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
81117         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
81118         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
81119         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
81120         __fstatat64 macros.
81121         * include/dirent.h: Add libc_hidden_proto for rewinddir.
81122         * dirent/rewinddir.c: Add libc_hidden_def.
81123         * sysdeps/mach/hurd/rewinddir.c: Likewise.
81124         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
81126         * include/dirent.h (__alloc_dir): Add flags parameter.
81127         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
81128         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
81129         __alloc_dir.
81130         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
81131         from fdopendir if O_CLOEXEC is already set.
81133 2011-03-15  Alan Modra  <amodra@gmail.com>
81135         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
81136         l_tls_firstbyte_offset non-zero.  Save padding offset in
81137         l_tls_firstbyte_offset for later use.
81138         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
81139         freeing static tls block.
81141 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
81143         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
81144         where #ifdef was intended.  The intent is to prevent ARG_MAX from
81145         being defined by the kernel headers.
81147 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
81149         [BZ #12734]
81150         * resolv/resolv.h: Define RES_NOTLDQUERY.
81151         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
81152         no-tld-query and set RES_NOTLDQUERY.
81153         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
81154         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
81155         modern BIND to search name as TLD unless forbidden.
81157 2011-05-07  Petr Baudis  <pasky@suse.cz>
81158             Ulrich Drepper  <drepper@gmail.com>
81160         [BZ #12393]
81161         * elf/dl-load.c (fillin_rpath): Move trusted path check...
81162         (is_trusted_path): ...to here.
81163         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
81164         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
81165         using is_trusted_path_normalize() in setuid scripts.
81167 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81169         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
81170         __BEGIN/__END_DECLS.
81172 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
81174         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
81175         NSS_STATUS_NOTFOUND if no record was found.
81177 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81179         * sunrpc/Makefile (headers): Add rpc/netdb.h.
81180         (headers-not-in-tirpc): Remove rpc/netdb.h
81181         * resolv/netdb.h: Revert last change.
81183 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81185         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
81186         circular dependency between libgcc.a and libc.a.
81188 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81190         * resolv/netdb.h: Don't include <rpc/netdb.h>.
81191         * nis/Makefile: Don't install rpcsvc/*.
81192         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
81193         instead of <rpc/types.h>.
81194         (MAXHOSTNAMELEN): Define.
81196 2011-05-03  Andreas Schwab  <schwab@redhat.com>
81198         * elf/ldconfig.c (add_dir): Don't crash on empty path.
81200 2011-04-28  Maciej Babinski  <mbabinski@google.com>
81202         [BZ #12714]
81203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
81204         gethostbyname4_r when IPv6 results are possible.
81206 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
81208         [BZ #12723]
81209         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
81210         _PC_PIPE_BUF handling.
81212 2011-04-30  Bruno Haible  <bruno@clisp.org>
81214         [BZ #12717]
81215         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
81216         * resolv/netdb.h (getnameinfo): Change type of flags parameter
81217         to 'int'.
81218         * inet/getnameinfo.c (getnameinfo): Likewise.
81220 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
81222         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
81223         to groups setting in database lookup.
81224         * nss/nsswitch.conf: Add initgroups entry.
81226 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
81228         [BZ #12685]
81229         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
81230         mode string.
81231         Patch by Eric Blake <eblake@redhat.com>.
81233 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
81235         * sunrpc/Makefile (need-export-routines): Add svc_run.
81236         (routines): Remove svc_run.
81237         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
81238         * sunrpc/clnt_perr.c (clnt_perrno): Export.
81239         * sunrpc/svc_run.c (svc_run): Likewise.
81240         * sunrpc/svc_udp.c (svcudp_create): Likewise.
81242 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
81244         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
81245         problem in reallocation in last patch.
81247 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
81249         * sunrpc/Makefile: Move inclusion of Rules.
81251 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81253         * nss/nss_files/files-initgroups.c: New file.
81254         * nss/Makefile (libnss_files-routines): Add files-initgroups.
81255         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
81256         _nss_files_initgroups_dyn.
81258 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
81260         * elf/elf.h (R_ARM_IRELATIVE): Define.
81262 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81264         * po/ru.po: Update from translation team.
81266 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81268         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
81269         dependencies.
81271 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
81273         [BZ #12653]
81274         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
81275         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
81276         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81277         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
81278         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
81280 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
81282         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
81283         differing bytes.
81284         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
81285         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
81286         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81288 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81290         [BZ #12420]
81291         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
81292         storing it.
81293         * stdlib/bug-getcontext.c: New file.
81294         * stdlib/Makefile: Add rules to build and run bug-getcontext.
81296 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81298         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
81299         instructions into .machine "z9-109".
81300         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
81301         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
81303 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81305         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
81306         between environment variables and auxiliary vector.
81308 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
81310         * Makefile: Add rules to build linkobj/libc.so.
81311         * include/libc-symbols.h: Define libc_hidden_nolink.
81312         * include/rpc/auth.h: Mark functions which are to be hidden.
81313         * include/rpc/auth_des.h: Likewise.
81314         * include/rpc/auth_unix.h: Likewise.
81315         * include/rpc/clnt.h: Likewise.
81316         * include/rpc/des_crypt.h: Likewise.
81317         * include/rpc/key_prot.h: Likewise.
81318         * include/rpc/pmap_clnt.h: Likewise.
81319         * include/rpc/pmap_prot.h: Likewise.
81320         * include/rpc/pmap_rmt.h: Likewise.
81321         * include/rpc/rpc_msg.h: Likewise.
81322         * include/rpc/svc.h: Likewise.
81323         * include/rpc/svc_auth.h: Likewise.
81324         * include/rpc/xdr.h: Likewise.
81325         * nis/Makefile: Link all DSOs against linkobj/libc.so.
81326         * nss/Makefile: Likewise.
81327         * sunrpc/Makefile: Don't install headers.  Build library with normal
81328         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
81329         * sunrpc/auth_des.c: Hide exported symbols by default, export some
81330         for the compat linking library.  Remove use of INTDEF/INTUSE.
81331         * sunrpc/auth_none.c: Likewise.
81332         * sunrpc/auth_unix.c: Likewise.
81333         * sunrpc/authdes_prot.c: Likewise.
81334         * sunrpc/authuxprot.c: Likewise.
81335         * sunrpc/clnt_gen.c: Likewise.
81336         * sunrpc/clnt_perr.c: Likewise.
81337         * sunrpc/clnt_raw.c: Likewise.
81338         * sunrpc/clnt_simp.c: Likewise.
81339         * sunrpc/clnt_tcp.c: Likewise.
81340         * sunrpc/clnt_udp.c: Likewise.
81341         * sunrpc/clnt_unix.c: Likewise.
81342         * sunrpc/des_crypt.c: Likewise.
81343         * sunrpc/des_soft.c: Likewise.
81344         * sunrpc/get_myaddr.c: Likewise.
81345         * sunrpc/key_call.c: Likewise.
81346         * sunrpc/key_prot.c: Likewise.
81347         * sunrpc/netname.c: Likewise.
81348         * sunrpc/pm_getmaps.c: Likewise.
81349         * sunrpc/pm_getport.c: Likewise.
81350         * sunrpc/pmap_clnt.c: Likewise.
81351         * sunrpc/pmap_prot.c: Likewise.
81352         * sunrpc/pmap_prot2.c: Likewise.
81353         * sunrpc/pmap_rmt.c: Likewise.
81354         * sunrpc/publickey.c: Likewise.
81355         * sunrpc/rpc_cmsg.c: Likewise.
81356         * sunrpc/rpc_common.c: Likewise.
81357         * sunrpc/rpc_dtable.c: Likewise.
81358         * sunrpc/rpc_prot.c: Likewise.
81359         * sunrpc/rpc_thread.c: Likewise.
81360         * sunrpc/rtime.c: Likewise.
81361         * sunrpc/svc.c: Likewise.
81362         * sunrpc/svc_auth.c: Likewise.
81363         * sunrpc/svc_authux.c: Likewise.
81364         * sunrpc/svc_raw.c: Likewise.
81365         * sunrpc/svc_run.c: Likewise.
81366         * sunrpc/svc_simple.c: Likewise.
81367         * sunrpc/svc_tcp.c: Likewise.
81368         * sunrpc/svc_udp.c: Likewise.
81369         * sunrpc/svc_unix.c: Likewise.
81370         * sunrpc/svcauth_des.c: Likewise.
81371         * sunrpc/xcrypt.c: Likewise.
81372         * sunrpc/xdr.c: Likewise.
81373         * sunrpc/xdr_array.c: Likewise.
81374         * sunrpc/xdr_float.c: Likewise.
81375         * sunrpc/xdr_intXX_t.c: Likewise.
81376         * sunrpc/xdr_mem.c: Likewise.
81377         * sunrpc/xdr_rec.c: Likewise.
81378         * sunrpc/xdr_ref.c: Likewise.
81379         * sunrpc/xdr_sizeof.c: Likewise.
81380         * sunrpc/xdr_stdio.c: Likewise.
81382 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
81384         [BZ #12650]
81385         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
81386         * sysdeps/ia64/dl-tls.h: Likewise.
81387         * sysdeps/powerpc/dl-tls.h: Likewise.
81388         * sysdeps/s390/dl-tls.h: Likewise.
81389         * sysdeps/sh/dl-tls.h: Likewise.
81390         * sysdeps/sparc/dl-tls.h: Likewise.
81391         * sysdeps/x86_64/dl-tls.h: Likewise.
81392         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81394 2011-03-14  Andreas Schwab  <schwab@redhat.com>
81396         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81397         rpath element also skip the following colon.
81398         (expand_dynamic_string_token): Add is_path parameter and pass
81399         down to DL_DST_REQUIRED and _dl_dst_substitute.
81400         (decompose_rpath): Call expand_dynamic_string_token with
81401         non-zero is_path.  Ignore empty rpaths.
81402         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81403         with zero is_path.
81405 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
81407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81408         Make cancelable.
81410 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
81412         [BZ #12655]
81413         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81414         Patch by Filipe David Manana <fdmanana@apache.org>.
81416 2011-04-07  Andreas Schwab  <schwab@redhat.com>
81418         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
81419         Maintain aligned stack.
81420         (CHECK_RSP): Remove unused macro.
81422 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
81424         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
81425         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
81427 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
81429         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
81431         * include/features.h: Mention __USE_XOPEN2K8 in comment.
81433 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
81435         [BZ #12518]
81436         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
81437         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
81438         * sysdeps/x86_64/memmove.c: New file.
81439         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
81440         (memcpy): Renamed to ...
81441         (__new_memcpy): This.
81442         (memcpy): Provide GLIBC_2_14 memcpy.
81443         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
81444         (memcpy): Provide GLIBC_2_2_5 memcpy.
81446 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81448         [BZ #12631]
81449         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
81451 2011-03-30  Andreas Schwab  <schwab@redhat.com>
81453         * misc/syncfs.c: New file.
81454         * misc/Makefile (routines): Add syncfs.
81455         * posix/unistd.h: Declare syncfs.
81456         * sysdeps/unix/syscalls.list: Add syncfs.
81458 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81460         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
81461         open_by_handle_at.
81462         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81463         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81465         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81467         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
81468         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81470 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81472         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
81473         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81474         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
81475         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81476         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81477         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81478         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81480         * io/Makefile: Compile fallocate.c, fallocate64.c, and
81481         sync_file_range.c with -fexceptions.
81482         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
81483         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
81484         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
81485         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
81486         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
81487         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
81488         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
81489         sync_file_range as cancellation point
81490         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
81491         now a wrapper around __call_sync_file_range with cancellation handling.
81492         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
81493         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
81494         function name to __call_sync_file_range.
81495         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
81496         Add call_sync_file_range.
81498 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81500         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81501         bits/timex.h.
81503 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81505         * iconv/iconv.h: Fix typo in comment.
81506         * io/fcntl.h: Likewise.
81507         * libio/stdio.h: Likewise.
81508         * posix/spawn.h: Likewise.
81509         * posix/unistd.h: Likewise.
81510         * stdlib/stdlib.h: Likewise.
81511         * time/time.h: Likewise.
81512         * wcsmbs/wchar.h: Likewise.
81514         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
81515         open_by_handle): Add.
81516         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
81517         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
81518         Augment a few comments.
81519         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81520         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81521         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81522         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81523         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81524         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
81525         open_by_handle.
81527         * io/fcntl.h (AT_EMPTY_PATH): Define.
81529 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
81531         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
81532         * sysdeps/unix/sysv/linux/bits/time.h: New file.
81533         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
81534         to...
81535         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
81536         * Versions.def: Add GLIBC_2.14.
81537         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
81538         Export.
81540 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
81542         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
81543         round counter.
81544         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81546 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81548         [BZ #12597]
81549         * string/test-strncmp.c (do_page_test): New function.
81550         (check2): Likewise.
81551         (test_main): Call check2.
81552         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
81554 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
81556         [BZ #12587]
81557         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
81558         Handle cache information in CPU leaf 4.
81559         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81561 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
81563         [BZ #12583]
81564         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
81565         character representation.
81566         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
81568 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
81570         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
81571         END(__isnan) to END(__isnanf) to match function entry point/label
81572         EALIGN(__isnanf,...).
81574 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
81576         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
81578 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
81580         [BZ #12510]
81581         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
81582         copy from the symbol referenced in the relocation to initialize the
81583         used variable.
81584         Patch by Piotr Bury <pbury@goahead.com>.
81585         * elf/Makefile: Add rules to build and tst-unique3.
81586         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
81587         * elf/tst-unique3.cc: New file.
81588         * elf/tst-unique3.h: New file.
81589         * elf/tst-unique3lib.cc: New file.
81590         * elf/tst-unique3lib2.cc: New file.
81592         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
81594 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
81596         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
81597         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
81598         to _start.
81600 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
81602         * elf/dl-load.c (_dl_map_object): If we are looking for the first
81603         to-be-loaded object along a path to loader is ld.so.
81605 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81606             Ulrich Drepper  <drepper@gmail.com>
81608         * sysdeps/x86_64/memset.S: After aligning destination, code
81609         branches to different locations depending on the value of
81610         misalignment, when multiarch is enabled. Fix this.
81612 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81614         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
81615         Set _x86_64_preferred_memory_instruction for AMD processsors.
81616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81617         Set bit_Prefer_SSE_for_memop for AMD processors.
81619 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
81621         * libio/fmemopen.c (fmemopen): Optimize a bit.
81623 2011-03-03  Andreas Schwab  <schwab@redhat.com>
81625         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
81627 2011-03-03  Roland McGrath  <roland@redhat.com>
81629         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
81631 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
81633         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
81634         __bzero_ultra1 instead of __memset_ultra1.
81636 2011-02-23  Andreas Schwab  <schwab@redhat.com>
81637             Ulrich Drepper  <drepper@gmail.com>
81639         [BZ #12509]
81640         * include/link.h (struct link_map): Add l_orig_initfini.
81641         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
81642         returning unsuccessfully.
81643         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
81644         close of a file loaded at startup, restore the original l_initfini
81645         list.
81646         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
81647         list, store the pointer.
81648         * elf/Makefile ($(objpfx)noload-mem): New rule.
81649         (noload-ENV): Define.
81650         (tests): Add $(objpfx)noload-mem.
81651         * elf/noload.c: Include <memcheck.h>.
81652         (main): Call mtrace.  Close all opened handles.
81654 2011-02-17  Andreas Schwab  <schwab@redhat.com>
81656         [BZ #12454]
81657         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
81658         dependencies are missing.
81660 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81662         Fix __if_freereq crash: Unlike the generic version which uses free,
81663         Hurd needs munmap.
81664         * sysdeps/mach/hurd/ifreq.h: New file.
81666 2011-01-27  Petr Baudis  <pasky@suse.cz>
81667             Ulrich Drepper  <drepper@gmail.com>
81669         [BZ 12445]#
81670         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
81671         to extend_alloca().
81672         * stdio-common/bug23.c: New file.
81673         * stdio-common/Makefile (tests): Add bug23.
81675 2010-09-28  Andreas Schwab  <schwab@redhat.com>
81676             Ulrich Drepper  <drepper@gmail.com>
81678         [BZ #12489]
81679         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
81680         before performing relro protection.  At old place add assertion
81681         to make sure nothing changed.
81683 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
81684             Glauber de Oliveira Costa  <glommer@gmail.com>
81686         * elf/elf.h: Add new ARM TLS relocs.
81688 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
81690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
81691         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
81692         cast from r3.
81693         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
81694         'tests' variable.
81695         * sysdeps/wordsize-64/tst-writev.c: New file.
81697 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
81699         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
81700         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
81701         insns in _dl_start to prevent a TOC reference before relocs are
81702         resolved.
81704 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
81706         [BZ #12469]
81707         * Makeconfig: Remove RANLIB definition.
81708         * Makerules: Don't use RANLIB.
81709         * aclocal.m4: Remove ranlib test.
81710         * configure.in: No need to check for ranlib.
81711         * elf/rtld-Rules: Don't use RANLIB.
81713 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81715         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
81716         protection macro.
81717         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
81718         inclusion protection macro.
81720         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
81721         SIGRTMIN and SIGRTMAX and print information in that case only when
81722         SIGRTMIN is defined.
81724 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
81726         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
81727         arginfo fn returning -1.
81729         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
81730         and thousands string is zero terminated.
81732 2011-02-03  Andreas Schwab  <schwab@redhat.com>
81734         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
81735         sysdeps/unix/sysv/linux/bits/socket.h.
81737 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81739         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
81740         (__CPU_COUNT): Remove old macros.
81741         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
81742         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
81743         (__CPU_ALLOC, __CPU_FREE): Add macros.
81744         (__sched_cpualloc, __sched_cpufree): Add declarations.
81746 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
81748         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
81749         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
81750         * nscd/aicache.c (addhstaiX): Return timeout of added value.
81751         (readdhstai): Return value of addhstaiX call.
81752         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
81753         (addgrbyX): Return value returned by cache_addgr.
81754         (readdgrbyname): Return value returned by addgrbyX.
81755         (readdgrbygid): Likewise.
81756         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
81757         (addpwbyX): Return value returned by cache_addpw.
81758         (readdpwbyname): Return value returned by addhstbyX.
81759         (readdpwbyuid): Likewise.
81760         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
81761         (addservbyX): Return value returned by cache_addserv.
81762         (readdservbyname): Return value returned by addservbyX:
81763         (readdservbyport): Likewise.
81764         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
81765         (addhstbyX): Return value returned by cache_addhst.
81766         (readdhstbyname): Return value returned by addhstbyX.
81767         (readdhstbyaddr): Likewise.
81768         (readdhstbynamev6): Likewise.
81769         (readdhstbyaddrv6): Likewise.
81770         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81771         (readdinitgroups): Return value returned by addinitgroupsX.
81772         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81773         (prune_cache): Keep track of timeout value of re-added entries.
81774         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81775         * nscd/nscd.h: Adjust prototypes of readd* functions.
81777 2011-02-04  Roland McGrath  <roland@redhat.com>
81779         * nis/nis_server.c (nis_servstate): Use the right name for 0.
81780         (nis_stats): Likewise.
81781         * nis/nis_modify.c (nis_modify): Likewise.
81782         * nis/nis_remove.c (nis_remove): Likewise.
81783         * nis/nis_add.c (nis_add): Likewise.
81785         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81787         * posix/fnmatch_loop.c: Add some consts.
81789         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81791 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
81793         [BZ #12460]
81794         * config.make.in (config-cflags-novzeroupper): Define.
81795         * configure.in: Substitute libc_cv_cc_novzeroupper.
81796         * elf/Makefile (AVX-CFLAGS): Define.
81797         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81798         (CFLAGS-tst-auditmod4a.c): Likewise.
81799         (CFLAGS-tst-auditmod4b.c): Likewise.
81800         (CFLAGS-tst-auditmod6b.c): Likewise.
81801         (CFLAGS-tst-auditmod6c.c): Likewise.
81802         (CFLAGS-tst-auditmod7b.c): Likewise.
81803         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81805 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
81807         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81808         function to the callback.
81809         Patch partly by Jiri Olsa <jolsa@redhat.com>.
81811 2011-02-02  Andreas Schwab  <schwab@redhat.com>
81813         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81814         of errno.
81816 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
81818         [BZ #11724]
81819         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81820         of constructors.
81821         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81822         of destructors.
81823         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81825         [BZ #11724]
81826         * elf/Makefile: Add rules to build and run new test.
81827         * elf/tst-initorder.c: New file.
81828         * elf/tst-initorder.exp: New file.
81829         * elf/tst-initordera1.c: New file.
81830         * elf/tst-initordera2.c: New file.
81831         * elf/tst-initordera3.c: New file.
81832         * elf/tst-initordera4.c: New file.
81833         * elf/tst-initorderb1.c: New file.
81834         * elf/tst-initorderb2.c: New file.
81835         * elf/tst-order-a1.c: New file.
81836         * elf/tst-order-a2.c: New file.
81837         * elf/tst-order-a3.c: New file.
81838         * elf/tst-order-a4.c: New file.
81839         * elf/tst-order-b1.c: New file.
81840         * elf/tst-order-b2.c: New file.
81841         * elf/tst-order-main.c: New file.
81842         New test case by George Gensure <werkt0@gmail.com>.
81844 2010-10-01  Andreas Schwab  <schwab@redhat.com>
81846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81847         decoding ACE if AI_CANONIDN.
81849 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
81851         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
81853 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
81855         * version.h (RELEASE): Bump for 2.13 release.
81856         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81858         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
81860         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
81861         MADV_NOHUGEPAGE.
81862         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
81863         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
81864         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81865         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81866         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81867         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81869         * posix/getconf.c: Update copyright year.
81870         * catgets/gencat.c: Likewise.
81871         * csu/version.c: Likewise.
81872         * debug/catchsegv.sh: Likewise.
81873         * debug/xtrace.sh: Likewise.
81874         * elf/ldconfig.c: Likewise.
81875         * elf/ldd.bash.in: Likewise.
81876         * elf/sprof.c (print_version): Likewise.
81877         * iconv/iconv_prog.c: Likewise.
81878         * iconv/iconvconfig.c: Likewise.
81879         * locale/programs/locale.c: Likewise.
81880         * locale/programs/localedef.c: Likewise.
81881         * malloc/memusage.sh: Likewise.
81882         * malloc/mtrace.pl: Likewise.
81883         * nscd/nscd.c (print_version): Likewise.
81884         * nss/getent.c: Likewise.
81886         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81887         PF_CAIF, and PF_ALG.
81888         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81890 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
81892         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81893         (modules-names): Use them.
81894         (ifunc-test-modules, ifunc-pie-tests): Define.
81895         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81896         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81897         (test-extras): Likewise.
81898         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
81899         $(compile-command.c).
81900         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
81901         (all-built-dso): Define.
81902         (check-textrel.out, check-execstack.out): Depend on it.
81904         * configure.in: Don't override --enable-multi-arch.
81906 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
81908         [BZ #6812]
81909         * nscd/hstcache.c (tryagain): Define.
81910         (cache_addhst): Return tryagain not notfound for temporary errors.
81911         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
81912         failed.
81914 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
81916         [BZ #10563]
81917         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
81918         to make the syscall.
81919         * sysdeps/unix/sysv/linux/setgroups.c: New file.
81921         [BZ #12378]
81922         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
81923         and fall back to matching as normal character if the string ends before
81924         the matching ']' is found.  This is what POSIX requires.
81925         * posix/testfnm.c: Adjust test result.
81926         * posix/globtest.sh: Adjust test result.  Add new test.
81927         * posix/tst-fnmatch.input: Likewise.
81928         * posix/tst-fnmatch2.c: Add new test.
81930 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
81932         * elf/Makefile (check-execstack): Revert last change.  Depend on
81933         check-execstack.h.
81934         (check-execstack.h): New target.
81935         (generated): Add check-execstack.h.
81936         * elf/check-execstack.c: Include "check-execstack.h".
81937         (main): Revert last change.
81938         (handle_file): Return zero if GNU_STACK is absent and
81939         DEFAULT_STACK_PERMS doesn't include PF_X.
81941 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
81943         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
81944         in child fails because the descriptor is already closed.
81945         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
81946         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
81947         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
81949         [BZ #12397]
81950         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
81951         syscall.
81953         [BZ #10484]
81954         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
81955         temporary buffer used to handle multi lookups locally.
81956         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
81958 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81960         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
81961         loader is ld.so.
81963 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
81965         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
81966         alignment for SSE2.
81968 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81970         [BZ #12394]
81971         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
81972         characters.  When rounding increased number of integer digits recompute
81973         number of groups.
81974         * stdio-common/tst-grouping.c: New file.
81975         * stdio-common/Makefile: Add rules to build and run tst-grouping.
81977 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
81979         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
81980         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
81982         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
81983         void.
81984         * bits/select.h: Likewise.
81986 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
81988         * po/ja.po: Update from translation team.
81990 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
81992         [BZ #11155]
81993         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
81994         implementation just like for lxstat, fxstatat, et al.
81996 2010-12-27  Jim Meyering  <meyering@redhat.com>
81998         [BZ #12348]
81999         * posix/regexec.c (build_trtable): Return failure indication upon
82000         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
82002 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
82004         [BZ #12201]
82005         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
82006         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
82007         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
82008         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
82010         [BZ #12207]
82011         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
82013         [BZ #12204]
82014         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
82015         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
82017 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
82019         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
82020         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
82021         script has SORT_BY_INIT_PRIORITY.
82022         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
82023         NO_CTORS_DTORS_SECTIONS is defined.
82024         * elf/soinit.c: Likewise.
82025         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
82026         NO_CTORS_DTORS_SECTIONS is defined.
82027         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
82028         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
82029         * sysdeps/sh/init-first.c: Likewise.
82030         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
82032 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
82034         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
82035         always use the slow path.
82037 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
82039         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
82040         similar rule which adds the sysdep directories to the header search in
82041         order to pick up the correct platform stackinfo.h.
82042         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
82043         perform test if it is, otherwise return successfully without testing.
82044         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
82045         DEFAULT_STACK_PERMS define in stackinfo.h.
82046         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
82047         defined in stackinfo.h.
82048         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
82049         DEFAULT_STACK_PERMS defined in stackinfo.h.
82050         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
82051         * sysdeps/ia64/stackinfo.h: Likewise.
82052         * sysdeps/s390/stackinfo.h: Likewise.
82053         * sysdeps/sh/stackinfo.h: Likewise.
82054         * sysdeps/sparc/stackinfo.h: Likewise.
82055         * sysdeps/x86_64/stackinfo.h: Likewise.
82056         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
82057         PF_X for powerpc64.  Retain PF_X for powerpc32.
82059 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
82061         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
82062         accurately.
82063         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
82064         GETDENTS_64BIT_ALIGNED.
82066 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
82068         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
82070 2010-12-10  Andreas Schwab  <schwab@redhat.com>
82072         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
82073         _GNU_SOURCE.
82075         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
82076         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
82077         Remove __restrict.
82078         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
82079         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
82081 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
82083         [BZ #11655]
82084         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
82085         are initialized.
82087 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
82089         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
82091 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
82093         * po/it.po: Update from translation team.
82095 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
82097         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
82098         unused codes.
82100 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
82102         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
82104 2010-11-24  Andreas Schwab  <schwab@redhat.com>
82106         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
82107         specially.
82108         (gaih_getanswer_slice): Likewise.
82110 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
82112         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
82114 2010-05-31  Petr Baudis  <pasky@suse.cz>
82116         [BZ #11149]
82117         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
82118         silently even in the chroot mode.
82120 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
82122         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
82123         last patch a bit.  Pretty printing
82125 2010-05-31  Petr Baudis <pasky@suse.cz>
82127         [BZ #10085]
82128         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
82129         initialization of skip_initgroups_dyn.
82131 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
82133         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
82134         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82136 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
82138         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
82140 2010-11-11  Andreas Schwab  <schwab@redhat.com>
82142         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
82143         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
82144         (tst-fnmatch-ENV): Set MALLOC_TRACE.
82145         ($(objpfx)tst-fnmatch-mem): New rule.
82146         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
82147         * posix/tst-fnmatch.c (main): Call mtrace.
82149 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
82151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82152         Support Intel processor model 6 and model 0x2c.
82154 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
82156         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
82157           signed comparison.
82159 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
82161         [BZ #12205]
82162         * string/test-strncasecmp.c (check_result): New function.
82163         (do_one_test): Use it.
82164         (check1): New function.
82165         (test_main): Use it.
82166         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
82167         Support strcasecmp and strncasecmp.
82169 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
82171         [BZ #12194]
82172         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
82173         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82175 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
82177         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
82178         IFUNC support.
82179         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82180         memset-x86-64.
82181         * sysdeps/x86_64/multiarch/bzero.S: New file.
82182         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
82183         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
82184         * sysdeps/x86_64/multiarch/memset.S: New file.
82185         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
82186         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82187         Set bit_Prefer_SSE_for_memop for Intel processors.
82188         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
82189         Define.
82190         (index_Prefer_SSE_for_memop): Define.
82191         (HAS_PREFER_SSE_FOR_MEMOP): Define.
82193 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
82195         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
82196         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
82198 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
82200         [BZ #12191]
82201         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82202         (__x86_64_raw_data_cache_size_half): Likewise.
82203         (__x86_64_raw_shared_cache_size): Likewise.
82204         (__x86_64_raw_shared_cache_size_half): Likewise.
82206         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82207         (__x86_64_raw_data_cache_size_half): Likewise.
82208         (__x86_64_raw_shared_cache_size): Likewise.
82209         (__x86_64_raw_shared_cache_size_half): Likewise.
82210         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
82211         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
82212         and __x86_64_raw_shared_cache_size_half.  Round
82213         __x86_64_data_cache_size_half, __x86_64_data_cache_size
82214         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
82215         to multiple of 256 bytes.
82217 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
82219         [BZ #12167]
82220         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
82221         of inacessible symlinks.  Verify result of symlink before returning it.
82222         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
82223         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
82225 2010-10-28  Erich Ritz  <erichritz@gmail.com>
82227         * math/math.h (isinf): Fix typo in comment.
82229 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
82231         * po/da.po: Update from translation team.
82233 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
82235         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
82236         is added to the list.
82238 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82239             Ulrich Drepper  <drepper@gmail.com>
82241         * elf/dl-object.c (_dl_new_object): Don't append the new object to
82242         the global list here.  Move code to...
82243         (_dl_add_to_namespace_list): ...here.  New function.
82244         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
82245         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
82246         * elf/dl-load.c (lose): Don't remove the element from the list.
82247         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
82248         (_dl_map_object): Likewise.
82250 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
82252         [BZ #12159]
82253         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
82254         into all bytes of SSE register.
82255         Patch by Richard Li <richardpku@gmail.com>.
82257 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
82259         [BZ #12140]
82260         * malloc/malloc.c (_int_free): Fill correct number of bytes when
82261         perturbing.
82263 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
82265         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
82266         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
82267         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
82268         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
82270         submachine.
82271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
82273 2010-10-22  Andreas Schwab  <schwab@redhat.com>
82275         * include/dlfcn.h (__RTLD_SECURE): Define.
82276         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
82277         mode & __RTLD_SECURE instead.
82278         (open_path): Rename preloaded parameter to secure.
82279         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
82280         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
82281         * elf/dl-deps.c (openaux): Likewise.
82282         * elf/rtld.c (struct map_args): Remove is_preloaded.
82283         (map_doit): Don't use it.
82284         (dl_main): Likewise.
82285         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
82286         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
82288 2010-09-09  Andreas Schwab  <schwab@redhat.com>
82290         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
82291         (sysd-rules-targets): Remove duplicates.
82292         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
82293         rtld-%.$o dependency.
82295 2010-10-18  Andreas Schwab  <schwab@redhat.com>
82297         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82298         _dl_map_object do it.
82300 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
82302         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
82303         fast fma builtins, define the macros in the C99 standard.
82304         (FP_FAST_FMAF): Likewise.
82305         (FP_FAST_FMAL): Likewise.
82306         * sysdeps/x86_64/bits/mathdef.h: Likewise.
82308         * bits/mathdef.h: Update copyright year.
82309         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82311 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
82313         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
82314         builtins, define the macros in the C99 standard.
82315         (FP_FAST_FMAF): Likewise.
82316         (FP_FAST_FMAL): Likewise.
82317         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
82318         multiply/add.
82319         (FP_FAST_FMAF): Likewise.
82321 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
82323         [BZ #3268]
82324         * math/libm-test.inc (fma_test): Some new testcases.
82325         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
82326         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
82327         y and infinite z.  Do multiplication by C already in long double.
82328         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
82329         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
82330         y and infinite z.  Do bitwise or of inexact bit into u.d.
82331         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
82332         * sysdeps/i386/fpu/s_fmaf.S: Removed.
82333         * sysdeps/i386/fpu/s_fma.S: Removed.
82334         * sysdeps/i386/fpu/s_fmal.S: Removed.
82336 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
82338         [BZ #3268]
82339         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
82340         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
82341         computation is not scheduled after fetestexcept.  Fix value
82342         of minimum denormal long double.
82344 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
82346         [BZ #3268]
82347         * math/libm-test.inc (fma_test): Add some more tests.
82348         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
82349         correctly.
82351 2010-10-15  Andreas Schwab  <schwab@redhat.com>
82353         * scripts/data/localplt-s390-linux-gnu.data: New file.
82354         * scripts/data/localplt-s390x-linux-gnu.data: New file.
82356 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
82358         [BZ #3268]
82359         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
82360         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
82361         instead of dbl-64.
82362         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
82363         inlines.
82364         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
82365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
82366         if one of x and y is very large and the other is subnormal.
82367         * sysdeps/s390/fpu/s_fmaf.c: New file.
82368         * sysdeps/s390/fpu/s_fma.c: New file.
82369         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
82370         * sysdeps/powerpc/fpu/s_fma.S: New file.
82371         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
82372         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
82373         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
82375 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
82377         [BZ #3268]
82378         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
82379         fma tests.
82380         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
82381         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
82382         * sysdeps/i386/i686/multiarch/s_fma.c: Include
82383         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
82384         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
82385         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
82386         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
82388 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
82390         [BZ #12078]
82391         * posix/regcomp.c (parse_branch): One more memory leak plugged.
82392         * posix/bug-regex31.input: Add test case.
82394 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82396         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82397         * posix/bug-regex31.input: New file.
82399         [BZ #12078]
82400         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82401         (parse_sub_exp): Fix last change, use postorder.
82403         * posix/bug-regex31.c: New file.
82404         * posix/Makefile: Add rules to build and run bug-regex31.
82406         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82408         [BZ #12078]
82409         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82411         [BZ #12108]
82412         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82413         to have entries in sys_siglist.
82415         [BZ #12093]
82416         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82417         be NULL.
82419 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
82421         [BZ #3268]
82422         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
82423         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
82424         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
82425         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
82426         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82427         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
82428         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
82429         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
82430         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
82431         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
82432         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
82433         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
82434         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
82435         * math/ftestexcept.c (fetestexcept): Likewise.
82436         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
82437         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
82438         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
82439         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
82440         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
82441         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
82442         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
82444 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82446         [BZ #12107]
82447         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
82448         newline.
82450 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
82452         * string/bug-strstr1.c: New file.
82453         * string/Makefile: Add rules to build and run bug-strstr1.
82455 2010-10-05  Eric Blake  <eblake@redhat.com>
82457         [BZ #12092]
82458         * string/str-two-way.h (two_way_long_needle): Always clear memory
82459         when skipping input due to the shift table.
82461 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
82463         [BZ #12005]
82464         * malloc/mcheck.c: Handle large requests.
82466         [BZ #12077]
82467         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
82468         for strncmp and strncasecmp.
82469         * string/stratcliff.c: Add tests for strcmp and strncmp.
82470         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
82472 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82474         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
82475         __set_fpscr.
82477 2010-09-30  Andreas Jaeger  <aj@suse.de>
82479         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
82480         (CGROUP_SUPER_MAGIC): Define.
82481         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82482         Handle btrfs and cgroup file systems.
82483         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
82484         Likewise.
82486 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
82488         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
82489         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
82491 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82493         [BZ #12067]
82494         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
82495         trying to locate the ELF header.
82497 2010-09-27  Andreas Schwab  <schwab@redhat.com>
82499         [BZ #11611]
82500         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
82501         Mask out sign-bit copies when constructing f_fsid.
82503 2010-09-24  Petr Baudis <pasky@suse.cz>
82505         * debug/stack_chk_fail_local.c: Add missing licence exception.
82506         * debug/warning-nop.c: Likewise.
82508 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
82510         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
82511         implementing getdents64 using getdents syscall, set d_type if
82512         __ASSUME_GETDENTS32_D_TYPE.
82514 2010-09-16  Andreas Schwab  <schwab@redhat.com>
82516         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
82517         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
82519 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
82521         [BZ #12037]
82522         * posix/unistd.h: Undo change of feature selection for ftruncate from
82523         2010-01-11.
82525 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
82527         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
82528         detection.
82530 2010-09-20  Andreas Schwab  <schwab@redhat.com>
82532         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
82533         fanotify_mark.
82534         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82536 2010-09-14  Andreas Schwab  <schwab@redhat.com>
82538         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
82539         variables after CHECK_SP call.
82540         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
82542 2010-09-13  Andreas Schwab  <schwab@redhat.com>
82543             Ulrich Drepper  <drepper@redhat.com>
82545         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
82546         re-relocationg ld.so.
82547         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
82548         _dl_init_paths call.
82549         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
82550         here anymore.
82552 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
82554         * resolv/res_init.c (__res_vinit): Count the default server we added.
82556 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
82557             Ulrich Drepper  <drepper@redhat.com>
82559         [BZ #11968]
82560         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82561         (____longjmp_chk): Use %ebx for saving value across system call.
82562         Add unwind info.
82564 2010-09-06  Andreas Schwab  <schwab@redhat.com>
82566         * manual/Makefile: Don't mix pattern rules with normal rules.
82568 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
82570         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
82571         operation.
82572         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
82573         * libio/iofopncook.c (_IO_cookie_init): Likewise.
82574         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
82575         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
82576         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82577         Likewise.
82579 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
82581         [BZ #11979]
82582         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
82583         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
82585 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
82587         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
82588         * sysdeps/x86_64/addmul_1.S: Likewise.
82589         * sysdeps/x86_64/lshift.S: Likewise.
82590         * sysdeps/x86_64/mul_1.S: Likewise.
82591         * sysdeps/x86_64/rshift.S: Likewise.
82592         * sysdeps/x86_64/sub_n.S: Likewise.
82593         * sysdeps/x86_64/submul_1.S: Likewise.
82595 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82597         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
82598         Define __sched_param instead of SCHED_* and sched_param when
82599         <bits/sched.h> is included with __need_schedparam defined.
82600         * bits/sched.h [__need_schedparam]
82601         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
82602         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
82603         (__defined_schedparam): Define to 1.
82604         (__sched_param): New structure, identical to sched_param.
82605         (__need_schedparam): Undefine.
82607 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
82609         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
82610         (epoll_create1): Declare.
82612         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
82614 2010-08-31  Andreas Schwab  <schwab@redhat.com>
82616         [BZ #7066]
82617         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
82618         shifting retval into place.
82620 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
82622         * nis/rpcsvc/nis.h: Update copyright notice.
82623         * nis/rpcsvc/nis.x: Likewise.
82624         * nis/rpcsvc/nis_callback.h: Likewise.
82625         * nis/rpcsvc/nis_callback.x: Likewise.
82626         * nis/rpcsvc/nis_object.x: Likewise.
82627         * nis/rpcsvc/nis_tags.h: Likewise.
82628         * nis/rpcsvc/yp.h: Likewise.
82629         * nis/rpcsvc/yp.x: Likewise.
82630         * nis/rpcsvc/ypupd.h: Likewise.
82631         * nis/yp_xdr.c: Likewise.
82632         * nis/ypupdate_xdr.c: Likewise.
82634         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
82635         mainly the body of pmap_getport.  Add parameters to specify timeouts.
82636         (pmap_getport): Use __libc_rpc_getport.
82637         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
82638         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
82639         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
82641 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
82643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
82644         fanotify_mark.
82646 2010-08-27  Roland McGrath  <roland@redhat.com>
82648         * sysdeps/i386/i686/multiarch/Makefile
82649         (CFLAGS-varshift.c): New variable.
82651 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
82653         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
82654         * sysdeps/i386/i686/multiarch/varshift.c: New file.
82656         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
82658         * sysdeps/x86_64/strlen.S: Minimal code improvement.
82660 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
82662         * sysdeps/x86_64/strlen.S: Unroll the loop.
82663         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82664         strlen-sse2 strlen-sse2-bsf.
82665         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
82666         __strlen_no_bsf if bit_Slow_BSF is set.
82667         (__strlen_sse42): Removed.
82668         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
82669         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
82671 2010-08-25  Roland McGrath  <roland@redhat.com>
82673         * sysdeps/x86_64/multiarch/varshift.S: File removed.
82674         * sysdeps/x86_64/multiarch/varshift.c: New file.
82675         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
82676         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
82677         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
82678         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
82680 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
82682         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82683         strlen-sse2 strlen-sse2-bsf.
82684         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
82685         __strlen_sse2_bsf if bit_Slow_BSF is unset.
82686         (__strlen_sse2): Removed.
82687         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
82688         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
82689         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
82690         bit_Slow_BSF for Atom.
82691         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
82692         (index_Slow_BSF): Define.
82693         (HAS_SLOW_BSF): Define.
82695 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
82697         [BZ #10851]
82698         * resolv/res_init.c (__res_vinit): When no server address at all
82699         is given default to loopback.
82701 2010-08-24  Roland McGrath  <roland@redhat.com>
82703         * configure.in: Remove config-name.h generation.
82704         * configure: Regenerated.
82705         * config-name.in: File removed.
82706         * scripts/config-uname.sh: New file.
82707         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
82708         ($(objdir)config-name.h): New target.
82710         * sunrpc/rpc_parse.h: Avoid nested comment.
82712 2010-08-24  Richard Henderson  <rth@redhat.com>
82713             Ulrich Drepper  <drepper@redhat.com>
82714             H.J. Lu  <hongjiu.lu@intel.com>
82716         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
82717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
82718         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
82719         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
82720         _mm_alignr_epi8 with _mm_loadu_si128.
82721         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
82722         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
82723         (__m128i_shift_right): Removed.
82724         * sysdeps/i386/i686/multiarch/varshift.h: New file.
82725         * sysdeps/i386/i686/multiarch/varshift.S: New file.
82726         * sysdeps/x86_64/multiarch/varshift.h: New file.
82727         * sysdeps/x86_64/multiarch/varshift.S: New file.
82729 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
82731         * configure.in: Move assembler checks to before sysdep dir checking.
82733 2010-08-20  Petr Baudis  <pasky@suse.cz>
82735         * LICENSES: Sync the sunrpc license.
82737 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
82739         * sunrpc/auth_des.c: Update copyright notice once again.
82740         * sunrpc/auth_none.c: Likewise.
82741         * sunrpc/auth_unix.c: Likewise.
82742         * sunrpc/authdes_prot.c: Likewise.
82743         * sunrpc/authuxprot.c: Likewise.
82744         * sunrpc/bindrsvprt.c: Likewise.
82745         * sunrpc/clnt_gen.c: Likewise.
82746         * sunrpc/clnt_perr.c: Likewise.
82747         * sunrpc/clnt_raw.c: Likewise.
82748         * sunrpc/clnt_simp.c: Likewise.
82749         * sunrpc/clnt_tcp.c: Likewise.
82750         * sunrpc/clnt_udp.c: Likewise.
82751         * sunrpc/clnt_unix.c: Likewise.
82752         * sunrpc/des_crypt.c: Likewise.
82753         * sunrpc/des_soft.c: Likewise.
82754         * sunrpc/get_myaddr.c: Likewise.
82755         * sunrpc/getrpcport.c: Likewise.
82756         * sunrpc/key_call.c: Likewise.
82757         * sunrpc/key_prot.c: Likewise.
82758         * sunrpc/openchild.c: Likewise.
82759         * sunrpc/pm_getmaps.c: Likewise.
82760         * sunrpc/pm_getport.c: Likewise.
82761         * sunrpc/pmap_clnt.c: Likewise.
82762         * sunrpc/pmap_prot.c: Likewise.
82763         * sunrpc/pmap_prot2.c: Likewise.
82764         * sunrpc/pmap_rmt.c: Likewise.
82765         * sunrpc/rpc/auth.h: Likewise.
82766         * sunrpc/rpc/auth_unix.h: Likewise.
82767         * sunrpc/rpc/clnt.h: Likewise.
82768         * sunrpc/rpc/des_crypt.h: Likewise.
82769         * sunrpc/rpc/key_prot.h: Likewise.
82770         * sunrpc/rpc/netdb.h: Likewise.
82771         * sunrpc/rpc/pmap_clnt.h: Likewise.
82772         * sunrpc/rpc/pmap_prot.h: Likewise.
82773         * sunrpc/rpc/pmap_rmt.h: Likewise.
82774         * sunrpc/rpc/rpc.h: Likewise.
82775         * sunrpc/rpc/rpc_des.h: Likewise.
82776         * sunrpc/rpc/rpc_msg.h: Likewise.
82777         * sunrpc/rpc/svc.h: Likewise.
82778         * sunrpc/rpc/svc_auth.h: Likewise.
82779         * sunrpc/rpc/types.h: Likewise.
82780         * sunrpc/rpc/xdr.h: Likewise.
82781         * sunrpc/rpc_clntout.c: Likewise.
82782         * sunrpc/rpc_cmsg.c: Likewise.
82783         * sunrpc/rpc_common.c: Likewise.
82784         * sunrpc/rpc_cout.c: Likewise.
82785         * sunrpc/rpc_dtable.c: Likewise.
82786         * sunrpc/rpc_hout.c: Likewise.
82787         * sunrpc/rpc_main.c: Likewise.
82788         * sunrpc/rpc_parse.c: Likewise.
82789         * sunrpc/rpc_parse.h: Likewise.
82790         * sunrpc/rpc_prot.c: Likewise.
82791         * sunrpc/rpc_sample.c: Likewise.
82792         * sunrpc/rpc_scan.c: Likewise.
82793         * sunrpc/rpc_scan.h: Likewise.
82794         * sunrpc/rpc_svcout.c: Likewise.
82795         * sunrpc/rpc_tblout.c: Likewise.
82796         * sunrpc/rpc_util.c: Likewise.
82797         * sunrpc/rpc_util.h: Likewise.
82798         * sunrpc/rpcinfo.c: Likewise.
82799         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82800         * sunrpc/rpcsvc/key_prot.x: Likewise.
82801         * sunrpc/rpcsvc/klm_prot.x: Likewise.
82802         * sunrpc/rpcsvc/mount.x: Likewise.
82803         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82804         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82805         * sunrpc/rpcsvc/rex.x: Likewise.
82806         * sunrpc/rpcsvc/rstat.x: Likewise.
82807         * sunrpc/rpcsvc/rusers.x: Likewise.
82808         * sunrpc/rpcsvc/sm_inter.x: Likewise.
82809         * sunrpc/rpcsvc/spray.x: Likewise.
82810         * sunrpc/rpcsvc/yppasswd.x: Likewise.
82811         * sunrpc/rtime.c: Likewise.
82812         * sunrpc/svc.c: Likewise.
82813         * sunrpc/svc_auth.c: Likewise.
82814         * sunrpc/svc_authux.c: Likewise.
82815         * sunrpc/svc_raw.c: Likewise.
82816         * sunrpc/svc_run.c: Likewise.
82817         * sunrpc/svc_simple.c: Likewise.
82818         * sunrpc/svc_tcp.c: Likewise.
82819         * sunrpc/svc_udp.c: Likewise.
82820         * sunrpc/svc_unix.c: Likewise.
82821         * sunrpc/svcauth_des.c: Likewise.
82822         * sunrpc/xcrypt.c: Likewise.
82823         * sunrpc/xdr.c: Likewise.
82824         * sunrpc/xdr_array.c: Likewise.
82825         * sunrpc/xdr_float.c: Likewise.
82826         * sunrpc/xdr_mem.c: Likewise.
82827         * sunrpc/xdr_rec.c: Likewise.
82828         * sunrpc/xdr_ref.c: Likewise.
82829         * sunrpc/xdr_sizeof.c: Likewise.
82830         * sunrpc/xdr_stdio.c: Likewise.
82832         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82833         handling.
82835 2010-08-19  Andreas Schwab  <schwab@redhat.com>
82837         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
82839 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
82841         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
82842         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
82843         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
82844         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
82845         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
82846         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
82847         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
82848         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
82849         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
82850         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
82851         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
82852         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
82853         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
82854         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
82856 2010-07-26  Anton Blanchard  <anton@samba.org>
82858         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
82859         * malloc/arena.c (heap_trim): Likewise.
82861 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
82863         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
82864         here.  Not...
82865         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82866         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82868 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82870         * sysdeps/i386/elf/Makefile: New file.
82872 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82874         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82875         from fanotify_init.
82876         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82877         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82879 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
82881         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82882         of strncasecmp_l.
82883         * sysdeps/multiarch/strcmp.S: Likewise.
82885 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
82887         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82888         strncase_l-nonascii.
82889         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82890         Add strncase_l-ssse3.
82891         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82892         * sysdeps/x86_64/strcmp.S: Likewise.
82893         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82894         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82895         * sysdeps/x86_64/strncase.S: New file.
82896         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82897         * sysdeps/x86_64/strncase_l.S: New file.
82898         * string/Makefile (strop-tests): Add strncasecmp.
82899         * string/test-strncasecmp.c: New file.
82901         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
82902         warning.
82904         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
82905         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
82907 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82909         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
82911 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
82913         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
82914         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
82915         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
82917 2010-05-01  Alan Modra  <amodra@gmail.com>
82919         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
82920         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
82921         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
82922         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
82923         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
82924         tidying.  Don't tail-call __sigjmp_save for static lib.
82925         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
82926         save location.
82927         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
82928         (CALL_MCOUNT): Add eh info, and nop after bl.
82929         (TAIL_CALL_SYSCALL_ERROR): New macro.
82930         (PSEUDO_RET): Use it.
82931         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
82932         Correct save location of integer regs and cr.
82933         (_dl_profile_resolve): Correct cr save location.  Delete nops
82934         after bl when SHARED.  Reduce cfi size a little by better
82935         placement of cfi directives.
82936         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
82937         make a stack frame.  Instead use parm save area as a temp.
82938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
82939         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
82940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
82941         Don't make a stack frame for parent, use parm save area.
82942         Increase child stack frame to 112 bytes.  Don't save unused reg,
82943         and adjust reg usage.  Set up cfi on error recovery and
82944         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
82945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
82946         (__makecontext): Add dummy nop after jump to exit.
82947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
82948         Use correct parm save area and cr save, reduce stack frame.
82949         Correct cfi for possible PSEUDO_RET frame setup.
82950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
82951         Branch to local label emitted by PSEUDO_RET rather than
82952         __syscall_error.
82954 2010-08-12  Andreas Schwab  <schwab@redhat.com>
82956         [BZ #11904]
82957         * locale/programs/locale.c (print_assignment): New function.
82958         (show_locale_vars): Use it.
82960 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
82962         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
82963         field.
82964         (struct statfs64): Likewise.
82965         (_STATFS_F_FLAGS): Define.
82966         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
82967         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82968         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
82969         (ST_VALID): Define locally.
82970         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
82971         __statvfs_getflags, use the provided value.
82972         * sysdeps/unix/sysv/linux/kernel-features.h: Define
82973         __ASSUME_STATFS_F_FLAGS.
82975         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
82977         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
82978         Add sys/fanotify.h.
82979         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
82980         fanotify_mask for GLIBC_2.13.
82981         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
82982         fanotify_init and fanotify_mark.
82983         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82984         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
82986         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
82987         Add prlimit.
82988         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
82989         prlimit64 for GLIBC_2.13.
82990         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
82991         prlimit64.
82992         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
82993         syscall.
82994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
82995         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82996         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
82997         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
82998         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
82999         add prlimit alias.
83000         * sysdeps/unix/sysv/linux/prlimit.c: New file.
83002         [BZ #11903]
83003         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
83004         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
83006         * nss/Makefile: Add rules to build and run tst-nss-test1.
83007         * shlib-versions: Add entry for libnss_test1.
83008         * nss/nss_test1.c: New file.
83009         * nss/tst-nss-test1.c: New file.
83011         * nss/nsswitch.c (__nss_database_custom): Define new variable.
83012         (__nss_configure_lookup): Set appropriate entry in
83013         __nss_configure_lookup to true.
83014         * nss/nsswitch.h: Define enum with indeces of databases in
83015         databases and __nss_database_custom arrays.  Declare
83016         __nss_database_custom.
83017         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
83018         to avoid using nscd when custom rules are installed.
83019         * nss/getXXbyYY_r.c: Likewise.
83020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
83022         * nss/nss_files/files-parse.c: Whitespace fixes.
83024 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
83026         [BZ #11883]
83027         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
83028         * posix/fnmatch_loop.c: Likewise.
83030 2010-07-17  Andi Kleen  <ak@linux.intel.com>
83032         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
83033         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
83034         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
83035         * Versions.def [GLIBC_2.13]: Add.
83037 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
83039         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83040         Also fail if tpwd after pwuid call is NULL.
83042 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83044         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
83045         when converting to ms.
83047 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83049         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
83050         EOPNOTSUPP errors with ENOTTY.
83051         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
83052         EOPNOTSUPP errors with ENOTTY.
83054 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
83056         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83057         Add strcasecmp_l-ssse3.
83058         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
83059         strcasecmp.
83060         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
83061         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
83062         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
83064 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
83066         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
83068         * string/Makefile (strop-tests): Add strcasecmp.
83069         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83070         strcasecmp_l-nonascii.
83071         (gen-as-const-headers): Add locale-defines.sym.
83072         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
83073         * sysdeps/x86_64/strcasecmp.S: New file.
83074         * sysdeps/x86_64/strcasecmp_l.S: New file.
83075         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
83076         * sysdeps/x86_64/locale-defines.sym: New file.
83077         * string/test-strcasecmp.c: New file.
83079         * string/test-strcasestr.c: Test both ends of the range of characters.
83080         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
83082 2010-07-29  Roland McGrath  <roland@redhat.com>
83084         [BZ #11856]
83085         * manual/locale.texi (Yes-or-No Questions): Fix example code.
83087 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
83089         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
83090         for ld.so.
83092 2010-07-27  Andreas Schwab  <schwab@redhat.com>
83094         * manual/memory.texi (Malloc Tunable Parameters): Document
83095         M_PERTURB.
83097 2010-07-26  Roland McGrath  <roland@redhat.com>
83099         [BZ #11840]
83100         * configure.in (-fgnu89-inline check): Set and substitute
83101         gnu89_inline, not libc_cv_gnu89_inline.
83102         * configure: Regenerated.
83103         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
83105 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
83107         * string/test-strnlen.c: New file.
83108         * string/Makefile (strop-tests): Add strnlen.
83109         * string/tester.c (test_strnlen): Add a few more test cases.
83110         * string/tst-strlen.c: Better error reporting.
83112         * sysdeps/x86_64/strnlen.S: New file.
83114 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
83116         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
83117         lower-latency instructions.
83119 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
83121         * string/test-strcasestr.c: New file.
83122         * string/test-strstr.c: New file.
83123         * string/Makefile (strop-tests): Add strstr and strcasestr.
83124         * string/str-two-way.h: Don't undefine MAX.
83125         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
83127 2010-07-21  Andreas Schwab  <schwab@redhat.com>
83129         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83130         strcasestr-nonascii.
83131         (CFLAGS-strcasestr-nonascii.c): Define.
83132         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
83133         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
83134         Remove unused attribute.
83136 2010-07-20  Roland McGrath  <roland@redhat.com>
83138         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
83139         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
83140         ld.so.cache was broken.  With it, there is no way to disable dsocaps
83141         like LD_HWCAP_MASK can disable hwcaps.
83143 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83145         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
83147 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
83149         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
83150         call in strcasestr.
83151         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
83152         __strcasestr_sse42_nonascii.
83153         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
83154         strcasestr-nonascii.c.
83155         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
83157 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
83159         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
83160         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
83161         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
83162         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
83164 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
83166         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
83167         fcntl.
83169 2010-07-06  Andreas Schwab  <schwab@redhat.com>
83171         [BZ #11577]
83172         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
83173         dl_signal_cerror.
83175 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
83177         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
83178         _PC_PIPE_BUF using F_GETPIPE_SZ.
83180 2010-07-05  Roland McGrath  <roland@redhat.com>
83182         * manual/arith.texi (Rounding Functions): Fix rint description
83183         implicit in round description.
83185 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
83187         * elf/Makefile: Fix linking for a few tests to make recent linker
83188         happy.
83190 2010-06-30  Andreas Schwab  <schwab@redhat.com>
83192         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83193         $(common-objpfx)libc_nonshared.a.
83195 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
83197         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
83198         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
83199         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83200         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83201         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
83202         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
83203         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83204         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
83206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
83207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
83208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
83210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
83212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
83213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
83214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
83215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
83217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
83219         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
83220         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
83221         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
83222         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
83223         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
83224         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
83225         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
83226         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
83227         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
83228         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
83229         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
83230         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
83231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
83232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
83233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
83234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
83235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
83236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
83237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
83238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
83239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
83240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
83241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
83242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
83243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
83244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
83246 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
83248         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
83249         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
83250         * string/memmove.c (memmove): Renamed to ...
83251         (MEMMOVE): ...this.  Default to memmove.
83252         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
83253         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
83254         (END_CHK): Define.
83255         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83256         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
83257         mempcpy-ssse3-back memmove-ssse3-back.
83258         * sysdeps/x86_64/multiarch/bcopy.S: New file .
83259         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
83260         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
83261         * sysdeps/x86_64/multiarch/memcpy.S: New file.
83262         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
83263         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
83264         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
83265         * sysdeps/x86_64/multiarch/memmove.c: New file.
83266         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
83267         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
83268         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
83269         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
83270         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
83271         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
83272         Define.
83273         (index_Fast_Copy_Backward): Define.
83274         (HAS_ARCH_FEATURE): Define.
83275         (HAS_FAST_REP_STRING): Define.
83276         (HAS_FAST_COPY_BACKWARD): Define.
83278 2010-06-21  Andreas Schwab  <schwab@redhat.com>
83280         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83281         Restore proper fallback handling.
83283 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
83285         [BZ #11701]
83286         * posix/group_member.c (__group_member): Correct checking loop.
83288         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
83289         OOM in getpwuid_r correctly.  Return error number when the caller
83290         should return, otherwise -1.
83291         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
83292         call returning > 0 value.
83293         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
83295 2010-06-07  Andreas Schwab  <schwab@redhat.com>
83297         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
83298         libc_nonshared.a from targets in modules-names.
83300 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
83302         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
83303         requires it.
83305 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
83307         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
83308         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
83309         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
83310         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
83312 2010-06-02  Andreas Schwab  <schwab@redhat.com>
83314         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
83316 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
83318         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
83319         and F_GETPIPE_SZ.
83320         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83321         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83322         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83323         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83324         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83325         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83327 2010-06-14  Roland McGrath  <roland@redhat.com>
83329         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
83331 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
83333         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
83334         __REDIRECT followed by __THROW.
83335         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
83336         * posix/getopt.h (getopt): Likewise.
83338 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83340         * hurd/lookup-at.c (__file_name_lookup_at): Accept
83341         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
83342         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
83343         in AT_FLAGS.
83344         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
83345         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
83347 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
83349         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
83351 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
83353         [BZ #11640]
83354         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83355         Properly check family and model.
83357 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
83359         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
83361 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
83363         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
83365 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
83367         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
83368         symbol reference.
83370 2010-05-19  Andreas Schwab  <schwab@redhat.com>
83372         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
83373         symbol reference.
83375 2010-05-21  Andreas Schwab  <schwab@redhat.com>
83377         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
83378         and internal_recvmmsg.
83379         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
83380         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
83381         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
83382         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
83384         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
83385         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
83386         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
83388 2010-05-20  Andreas Schwab  <schwab@redhat.com>
83390         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
83392 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
83394         POWER7 optimizations.
83395         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83396         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83398 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
83400         * version.h: Update for 2.13 development version.
83402 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
83404         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83405         exceptions.  Return 0.
83407 2010-05-07  Roland McGrath  <roland@redhat.com>
83409         * elf/ldconfig.c (main): Add a const.
83411 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
83413         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83414         (args_options): Add no-idn option.
83415         (ahosts_keys_int): Add idn_flags to ai_flags.
83416         (parse_option): Handle 'i' option to clear idn_flags.
83418         * malloc/malloc.c (_int_free): Possible race in the most recently
83419         added check.  Only act on the data if no current modification
83420         happened.
83422 See ChangeLog.17 for earlier changes.